Professional Documents
Culture Documents
Rename Temporary Tablespace With Running SAP System: Willi Eimler
Rename Temporary Tablespace With Running SAP System: Willi Eimler
Rename Temporary Tablespace With Running SAP System: Willi Eimler
Introduction
Scenario
/oracle/SID/sapdata1/temp1_1/temp1.data1
Solution
Every new operation in ORACLE will now use the new temporary
tablespace PSAPTEMP!
WHERE se.saddr=su.session_addr;
You get a list with handles. In this list you can identify the server
(column MACHINE) and the process (column PROCESS) of the
handle holder. The program column shows the process name. The
process name indicates that workprocesses are holding the
handles. There are two types of handles: ACTIVE and INACTIVE
ones. You have to wait until the ACTIVE handle disappear, because
this handle is initiated by workprocess processing a report using
PSAPTEMP1. Killing this workprocess could inflict inconsistencies.
The INACTIVE handles can be cleared by restarting the
corresponding workprocess.
Now you know the server and the pid.Lets logon to the server and
check it:
sidadm> ps -efa | grep <process>
Repeat this procedure for each INACTIVE handle. After clearing the
last handle the drop statement will proceed.
Please excuse the usage of the old transaction DB02OLD bit I donʼt
like the “look and feel” of ALV-grids. I prefer the old list processing
of sap.