Are you reanalysing periodicaly with dbms_stats? If so you can check metrics like the clustering_factor:
select clustering_factor from dba_indexes where table_name = 'xxx';
Well, there are not many choices other than to query the actual table data, and this will invoke a large-table full-table scan. If you have a numeric column, you can scan the table to find the sum, like this:
select sum(num_col) from tab;
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.