on 10-16-2012 6:32 AM
Dear Oracle Expert,
I am getting below issue ORA-1652: unable to extend temp segment by 128 in tablespace.
while the current status of PSAPTEMP file is
PSAPTEMP 2,000.00 2,000.00 0 NO 2,000.00 2,000.00 0 1 0 0 ONLINE TEMPORARY DISABLED
As per sap note: 659946
ORA-01652: This error is caused by a tablespace overflow. As a rule of thumb, PSAPTEMP should be at least twice as large as the largest index. If an overflow occurs despite this size, this is frequently due to external reasons such as incorrect Oracle parameter settings, large-scale parallel processing or unfavorable access paths. See also Note 3155.
the status of top 5 index is
SAPSR3 ACCTCR~0 | INDEX PSAPSR3 4,804.000 259 614,912 0.063 |
SAPSR3 D010TAB~1 | INDEX PSAPSR3700 3,681.000 60 471,168 1,153.594 |
SAPSR3 D010TAB~0 | INDEX PSAPSR3700 3,656.000 59 467,968 1,391.953 |
SAPSR3 BSIS~0 | INDEX PSAPSR3 3,592.000 240 459,776 0.063 |
SAPSR3 FAGLFLEXA~0 | INDEX PSAPSR3 2,752.000 227 352,256 0.063 |
now..what do you suggest me that I have to change the mode of autoextend or add a new datafile in PSAPTEMP.
If there is need to increase the size of PSAPTEMP then how much size i have to assign it?
please tell me if you required more information.
Regards,
Hi Jamil,
Regarding the information you provided, it will be good enough to resize data file to 10GB. Do not set autoextend option for the PSAPTEMP tablespace.
Please note that this is the initial size. You should monitor the PSAPTEMP utilization, to check whether the size has the enough.
Best regards,
Orkun Gedik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks respected Orkun,
I can do this with brtools but would you tell me SQL command to resolve the ORA-1652.
while the temp file is:
SQL> select * from v$tempfile;
FILE# CREATION_CHANGE# CREATION_TIME TS# RFILE# STATUS
---------- ---------------- --------------- ---------- ---------- -------
ENABLED BYTES BLOCKS CREATE_BYTES BLOCK_SIZE
---------- ---------- ---------- ------------ ----------
NAME
---------------------------------------------------------------------------
2 1348712915 08-APR-12 3 1 ONLINE
READ WRITE 2097152000 256000 2097152000 8192
G:\ORACLE\PRD\SAPDATA1\TEMP_2\TEMP.DATA1
Regards,
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.