A CTAS automatically includes statistics on the table (although it may not include column histograms)
SQL> create table obj_list tablespace hemant as select * from dba_objects;
Table created.
SQL> SQL> select table_name, num_rows, to_char(last_analyzed,'DD-MON HH24:MI')
2 from user_tables;
TABLE_NAME
--------------------------------------------------------------------------------
NUM_ROWS TO_CHAR(LAST
---------- ------------
OBJ_LIST
91465 06-AUG 22:57
SQL> select count(*) from obj_list;
COUNT(*)
----------
91465
SQL>
No comments:
Post a Comment