top of page
DBA ERRORS
WELCOME TO DBA ERRORS
Welcome everyone get the dba erros & solutions here
Find locks present in oracle database
Below query will help you in providing sessions causing lock in the database. col session_id head 'Sid' form 9999 col object_name head...
shiva ram
Oct 3, 20241 min read
2
0
Monitor tablespace usage
Use below query to check all the space related details of tablespaces. set feedback off set pagesize 70; set linesize 2000 set head on...
shiva ram
Oct 3, 20241 min read
0
0
Monitor UNDO tablespace usage
Use below script to get the details about undo tablespace usage. select a.tablespace_name, SIZEMB, USAGEMB, (SIZEMB - USAGEMB) FREEMB...
shiva ram
Oct 3, 20241 min read
1
0
Monitor TEMP tablespace usage
Run the below scripts to get the temp tablespace usage. select a.tablespace_name tablespace, d.TEMP_TOTAL_MB, sum (a.used_blocks *...
shiva ram
Oct 3, 20241 min read
0
0
Get size of an oracle database
Use below query to get the size of a database. col "Database Size" format a20 col "Free space" format a20 col "Used space" format a20...
shiva ram
Oct 3, 20241 min read
0
0
Find current running sqls in Oracle
Use below script to get the current running sql details. select sesion.sid, sesion.username, optimizer_mode, hash_value, address,...
shiva ram
Oct 3, 20241 min read
0
0
Find the temp usage of sessions
Below query will display the the list of sessions using lot of temps including their usage. SELECT b.TABLESPACE , b.segfile# ,...
shiva ram
Oct 3, 20241 min read
0
0
Find active sessions in oracle database
Use below script to find active sessions in oracle database. set echo off set linesize 95 set head on set feedback on col sid head "Sid"...
shiva ram
Oct 2, 20241 min read
2
0
ORA-56935: existing data pump jobs are using a different version
While importing in an Oracle 12c database, got the below error: ERROR: impdp dumpfile=teset2.dmp logfile=imp_teset2.lod...
shiva ram
Sep 24, 20242 min read
6
0
ORA-28017: The password file is in the legacy format
PROBLEM: While granting sysdba privilege to an user, got below error. SQL> grant sysdba to MONITUSER; *ERROR at line 1:ORA-28017: The...
shiva ram
Sep 24, 20241 min read
2
0
bottom of page