Thursday, July 3, 2008

How to analyze all tables with theirs indices where statistics is equal to null.

For preparing a script for analyzing all tables with its indices where statistics is equal to null you can use this query:

select 'exec dbms_stats.gather_table_stats( ownname=>''' ||owner||''',tabname=>'''|| table_name||''', estimate_percent=>20,cascade=>true);' comm from dba_tables where last_analyzed is null and owner not in ('SYS','SYSTEM');

13 comments:

Anonymous said...

Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
digital marketing training in marathahalli

digital marketing training in rajajinagar

Digital Marketing Training in online


full stack developer training in pune


full stack developer training in annanagar

Mounika said...

From your discussion I have understood that which will be better for me and which is easy to use. Really, I have liked your brilliant discussion. I will comThis is great helping material for every one visitor. You have done a great responsible person. i want to say thanks owner of this blog.
python training in OMR
python training in Bangalore
python training in Bangalore

Unknown said...

Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us
Blueprism training in Pune

Blueprism online training

Blue Prism Training in Pune

nilashri said...

Read all the information that i've given in above article. It'll give u the whole idea about it.
Data Science Training in Chennai
Data science training in bangalore
Data science online training
Data science training in pune

afiah b said...

The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.
java training in jayanagar | java training in electronic city

java training in chennai | java training in USA


cynthiawilliams said...

Very nice post with lots of information. Thanks for sharing this updates.
AWS Training in Chennai
AWS course in Chennai
DevOps certification in Chennai
DevOps Training in Chennai
Data Science Course in Chennai
Data Science Training in Chennai
AWS Training in OMR
AWS Training in Porur

priya said...

Thank you for benefiting from time to focus on this kind of, I feel firmly about it and also really like comprehending far more with this particular subject matter. In case doable, when you get know-how, is it possible to thoughts modernizing your site together with far more details? It’s extremely useful to me
Microsoft Azure online training
Selenium online training
Java online training
Java Script online training
Share Point online training

easylearn said...

Hi,
Good job & thank you very much for the new information, i learned something new. Very well written. It was sooo good to read and usefull to improve knowledge. Who want to learn this information most helpful. One who wanted to learn this technology IT employees will always suggest you take big data hadoop training in bangalore. Because big data course in Bangalore is one of the best that one can do while choosing the course.

devi said...

I'm very pleased to discover this site. I need to to thank you for ones time just for this wonderful read!!This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more..Amazing web journal I visit this blog it's extremely marvellous. Interestingly, in this blog content composed plainly and reasonable. The substance of data is educational
Data Science Training In Chennai

Data Science Online Training In Chennai

Data Science Training In Bangalore

Data Science Training In Hyderabad

Data Science Training In Coimbatore

Data Science Training

Data Science Online Training

data scientist course said...

I see some amazingly important and kept up to length of your strength searching for in your on the site
data scientist training and placement in hyderabad

Ramesh Sampangi said...

Really an awesome blog, with informative and knowledgeable content. Thanks for sharing this blog with us. Keep sharing more stuff again.
Best Data Science Training in Hyderabad

360DigiTMG said...

wow, great, I was wondering how to cure acne naturally. I found your site on Google, learned a lot, and now I'm a bit clearer. I’ve bookmarked your site and also added rss. keep us updated.
data science institutes in hyderabad

Unknown said...

wow... what a great blog, this writter who wrote this article it's realy a great blogger, this article so inspiring me to be a better person data science course in mysore