xoxomos
asked on
Stats With Histogram
Trying to run schema stats and get histogram.
If i run :
DBMS_STATS.GATHER_SCHEMA_S TATS(ownna me=>'SYS', cascade=>TRUE, method_opt=>'FOR ALL COLUMNS SIZE 1');
it completes successfully. If i change SIZE to 256
ORA-20000: Cannot parse for clause: FOR ALL COLUMNS SIZE 256 ORA-06512: at "SYS.DBMS_STATS", line 25335 ORA-06512: at "SYS.DBMS_STATS", line 25414 ORA-06512: at "SYS.DBMS_STATS", line 25367 ORA-06512: at line 3
How do i get stats with histogram for sys?
If i run :
DBMS_STATS.GATHER_SCHEMA_S
it completes successfully. If i change SIZE to 256
ORA-20000: Cannot parse for clause: FOR ALL COLUMNS SIZE 256 ORA-06512: at "SYS.DBMS_STATS", line 25335 ORA-06512: at "SYS.DBMS_STATS", line 25414 ORA-06512: at "SYS.DBMS_STATS", line 25367 ORA-06512: at line 3
How do i get stats with histogram for sys?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks again
No problem.
Just remember: The online docs are always your friend.
Just remember: The online docs are always your friend.
ASKER
yes, i read the '.........between 1 and 25', then filled in 6 from a very old habit.
thanks again
thanks again
ASKER