Finding the difference between the first ten performance sql SELECT * FROM (SELECT PARSING_USER_ID EXECUTIONS, SORTS, COMMAND_TYPE, DISK_READS, sql_text FROM v $ sqlarea ORDER BY disk_reads DESC) WHERE ROWNUM <10;. SELECT 'analyze table' || table_name || 'compute statistics 'from user_tables; select' analysis index '|| index_name ||' Compute Statistics; 'from user_indexes; SQL Server: A. Update all statistics on a single table Update all index split statistics on the Authors. Update Statistics Authors B. Update a single index statistics This example updates the distribution information of the index AU_ID_ID_ID of the table Authors. Update Statistics Authors Au_ID_IND C. Statistics using 50% Sampling Update Specific Statistics Group (Collection) This example first creates a statistical group of the AU_LNAME column and the AU_FNAME column in the table Authors and updates it. CREATE STATISTICS anames ON authors (au_lname, au_fname) WITH SAMPLE 50 PERCENT GO -.. Time passes The UPDATE STATISTICS statement is then executed UPDATE STATISTICS authors (anames) WITH SAMPLE 50 PERCENT GO D. FULLSCAN use and update specific NORECOMPUTE Statistics Section ( Collection of statistics This example updates the Anames statistics group (set) in Table Authors, enforces full scan of all rows in Table Authors and turn off automatic statistics updates of the statistics group (collection). Update Statistics Authors (Anames) with Fullscan, NoreCompute Go