Analyze StatementThe ANALYZE statement can be used to gather statistics for a specific table, index or cluster. The statistics can be computed exactly, or estimated based on a specific number of rows, or a percentage of rows: ANALYZE TABLE employees…
创建实验表,插入10万行数据 SQL> create table test (id number,name varchar2(10)); Table created. SQL> declarebeginfor i in 1..100000 loop insert into test values(1,'a');commit; end loop; end;/ PL/SQL procedure successfully completed. SQL> commit; Commit compl…