Database Administration (MOSC)

MOSC Banner

Oracle recommendation for PeopleSoft

edited Jul 9, 2013 10:11PM in Database Administration (MOSC) 2 commentsAnswered ✓
Hi all,

on DB Oracle 11g, on Win 2008

in RED_PAPER_-_PeopleSoft_Enterprise_Performance_on_Oracle_11g_Database.pdf

it is said :

2. Build a SQL script to delete statistics of temporary tables that have stats of 0 rows using this SQL

command:

select 'exec DBMS_STATS.DELETE_TABLE_STATS ('|| 'ownname =>' || ''''|| b.owner || '''' || ','


|| ' tabname =>' || '''' || b.table_name || ''');'


from psrecdefn a, dba_tables b

where a.rectype=7 and b.num_rows=0 and b.table_name like 'PS_'||recname||'%';

3-Run the script created in step 2 through sqlplus.

4. Build a SQL script to lock statistics of all temporary tables using this SQL command:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center