Hiya Buddies, Topic: How to run SQLT for a
particular sql_id
We would like to share a very important topic which may useful for
both either core DBA or apps DBA.
Usually we used to get the request from users to provide SQLT from a sql_id.
Sometimes it may throw error also. Same way I also got
the
How to run SQLT for a
particular sql_id. Suppose, our sql_id is ora-data1234.
# pwd
# ls -ltr
sqltxtract.sql
oracle@host:/home/oracle/sqlt/sqlt/run
SQL>@sqltxtract.sql ora-data1234
It will ask for password SQLTXTRACT which may same as username or
different if you have made any changes… In our case it is same as username.
Now, also you may get the below error for tablespace, better to
keep monitoring log file.
Issue:
Solution:
SQL>Alter tablespace USERS add datafile
‘/path/TEST/datafile/path/datafile/users.9326.978199625’ size 1024 M;
File ID File
Name Megabytes
275 /path/TEST/datafile/path/datafile/dat 500
Below is the few lines which you will get once it completed.
Archive: sqlt_s53282_sqldx.zip
adding: sqlt_s53282_sqldx.zip (stored 0%)
SQLTXTRACT completed.
Note: If you face tablespace
issues, just need to add/resize datafile. It will take care automatically, no need to restart the
SQLT command.
Some more useful links:
No comments:
Post a Comment