Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle gather table statistics

CALL DBMS_STATS.GATHER_TABLE_STATS(
    'OWNER_NAME',
    'TABLE_NAME',
    ESTIMATE_PERCENT => 50,			-- longer but better than 1 for exec plans
    GRANULARITY => 'PARTITION',   	-- or SUBPARTITION or nothing  
    PARTNAME => 'PARTITION_NAME', 	-- or nothing
    DEGREE => 8                 	-- parallelism
);
Comment

PREVIOUS NEXT
Code Example
Sql :: set mysql password 
Sql :: 0 
Sql :: sql insert values into table 
Sql :: sql union operator 
Sql :: on update current_timestamp jpa 
Sql :: sql view index 
Sql :: mysql show slave status 
Sql :: initcap in sql 
Sql :: remove root password mysql 
Sql :: sql join on a subquery 
Sql :: union vs union all in sql 
Sql :: setval in postgres 
Sql :: change schema of all tables postgres 
Sql :: mysql server not running 
Sql :: mysql default port number 
Sql :: Mysql table variables 
Sql :: sqlalchemy get ids 
Sql :: sql unique 
Sql :: between date in sql server 
Sql :: ORACLE sql join multiple tables 
Sql :: mysql count 
Sql :: sqlite clear shell 
Sql :: t-sql never ending delete 
Sql :: mysql select database 
Sql :: how to do an average on a count sql 
Sql :: desinstaller mysql sur ubuntu definitivement 
Sql :: insert query in oracle 
Sql :: set a value by excuting stored procedure 
Sql :: mysql inner join 
Sql :: how to completely uninstall sql server 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =