Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

vCenter Server Performance Graphs only show real time data (1020903)

Last Updated: 7/17/2020Categories: TroubleshootingTotal Views: 40186Language:
Chinese (Simplified)Portuguese (European)Portuguese (Brazil)JapaneseSpanishEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

When connecting to vCenter Server with vSphere Client, only real time data is visible on the Performance Graphs.

You cannot change the chart for past day, past week, or past month.

The vpx_hist_stat database table is blank.

This issue occurs after vCenter Server's database is migrated from an older database.

If the vpxd.log is set to verbose logging, the log contains this error:

[03204 error 'App'] [VdbStatement] Diagnostic data from driver is 42000:1:2812:[Microsoft][SQL Server Native
Client 10.0][SQL Server]Could not find stored procedure 'load_stats_proc'.

Cause

This issue occurs if the vCenter Server's database is migrated and the load_stats_proc_mssql.sql or load_stats_proc_oracle.sql stored procedures are missing after the migration.

Resolution

To confirm this issue, and determine whether data is being collected and stored:

Connect to the database and run these SQL statements:

select count (*) from vpx_hist_stat1
select count (*) from vpx_sample_time1

If there is zero data returned, then no data is being loaded into the database. You have to recreate the load_stats_proc stored procedure. For more information, see VirtualCenter 2.5 database upgrade fails (1009950).

To exexcute the recreated stored procedure, follow the steps for MS SQL or Oracle.

MS SQL

If database is not located on the local server, copy the file C:\Program Files\VMware\Infrastructure\VirtualCenter Server\load_stats_proc_mssql.sql to the server which hosts the vCenter Server database from the vCenter Server.

Open SQL Enterprise Manager, then enter the appropriate credentials to gain access to SQL.

Go to File > Open > File.

Select the load_stats_proc_mssql.sql file.

Click OK.

Note: If prompted, enter the appropriate username and password.

Ensure that the selected database in the Available Database dropdown menu is the vCenter Server database and not Primary.

Click Execute. If the job is created successfully, a message saying Command(s) Completed successfully displays.

Click the Refresh button on the Object Explorer.

Oracle

If database is not located on the local server, copy the file C:\Program Files\VMware\Infrastructure\VirtualCenter Server\load_stats_proc_oracle.sql to the server which hosts the vCenter Server database from the vCenter Server.

Open SQL Plus.

Go to File > Open > File.

Select the load_stats_proc_oracle.sql file.

Click OK.

Ensure that the vCenter Database is selected.

Click Execute Query. If the job is updated successfully, a message confirming the procedure update displays.

When the stored procedure is created, allow 30 minutes for vCenter Server to collect data and then verify if the performance data is available for the past day.

Note: To verify if the data is now being collected, wait for 5 minutes after you create the stored procedure and then run this SQL statement on the vCenter Server database:

select count (*) from vpx_hist_stat1

Note: Searching for SQL Native Client in the the vpxd.log may help in identifying the missing stored procedures.

Related Information

Enabling trivia logging in VMware vCenter Server
VirtualCenter 2.5 database upgrade fails
Gráficos de desempenho do vCenter Server exibem apenas dados em tempo real
Los gráficos de rendimiento de vCenter Server solo muestran datos en tiempo real
vCenter Server 性能图仅显示实时数据
vCenter Server のパフォーマンス グラフにリアル タイム データしか表示されない

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)Portuguese (Brazil)JapaneseSpanishEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware VirtualCenter

VMware vCenter Server

Related Versions:

VMware VirtualCenter 2.5.x

VMware vCenter Server 4.0.x

Take Our Survey

Support Assistant