The "analyze table" is obsolete (from Oracle 7), and Oracle recommends that you always use dbms_stats. Your can save and re-use statistics with the dbms_stats.export_schema_stats procedure. If statistics are in place, Oracle will use them unless you have optimizer_mode=rule.
Dig Deeper on Oracle database design and architecture
Related Q&A from Don Burleson
I have created a table, Party, and in it there are two main fields, party_code and party_name, and around 2,500 records are available in it. I passed...continue reading
Suppose you have a table which has only two columns, namely locid (not primary) and place. In Oracle, which query should I run to get the output as ...continue reading
I have a query that retrieves around 10 records. I have a task to concatenate the values separated with ','. I would like to know if Oracle has any ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.