In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article focuses on "how to view the collection of oracle statistics". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to view the collection of oracle statistics.
View statistics collection time:
Alter session set NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
Select t.TABLENAME from dba_tables t where owner='SAPSR3' and table_name in. NUMstudents ROWSMagazine t.BLOCKSnotet.LASTRANALYZED name t ('ZWD_JDMSG_GD','ZB2C_KUCUN_LOG')
Refresh database monitoring information:
Exec dbms_stats.flush_database_monitoring_info
Check whether the statistics are out of date (stats is yes is out of date)
Select owner,table_name,object_type,stale_stats,last_analyzed from dba_tab_statistics where owner='SAPSR3' and table_name in ('ZHLES_LOG_JPD','ZJHT0005_LOG')
View the reason for expiration:
Select table_owner,table_name,inserts,updates,deletes,timestamp from all_tab_modifications where table_owner='SAPSR3' and table_name in ('ZHLES_LOG_JPD','ZJHT0005_LOG')
Statistics collection:
Exec DBMS_STATS.GATHER_TABLE_STATS (ownname = > 'SAPSR3',tabname = >' ZWD_JDMSG_GD',estimate_percent = > DBMS_STATS.AUTO_SAMPLE_SIZE, method_opt = > 'for all columns size repeat',degree = > DBMS_STATS.AUTO_DEGREE,cascade= > TRUE)
At this point, I believe you have a deeper understanding of "how to view the collection of oracle statistics". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.