Académique Documents
Professionnel Documents
Culture Documents
First
Previous
Next
Last
it may be one of the solution. You gotta check the alert logs & see exactly what it the reason for hanging
the database.
Answer Question
Login to rate this answer.
Ritesh Singh
Answered On : Jul 7th, 2006
If the user is complaining the hang problem ..then the experience of a dba reflects the work style that he
is going to perform and basically as the rule suggest first try to connect to the database itself and fire
some query to check whethere you are allowed to connect or not if you are connected then check for any
locked_objects by checking v$locked_object and dba_waiters and dba_blockers.then you have to
eliminate the things which are working properly and targetting yourself to the weaker place and then
check at os level that which process is consuming the most of the time and then analyze the problem if
the problem relates to a single user process then check what that user is doing by checking the sql
statement he is firing.than so on
Answer Question
2 Users have rated as useful.
Login to rate this answer.
Chiranjeevi Manne
Answered On : Mar 30th, 2007
1. Check whether the execution plan of various SQL statements have been changed which may happen
due to Bulk inserts and updates.
2. Try to gather statistics on regular basis.
3. Check the server side resources using top, vmstat, iostat, sar utilities.
4. Check the storage side
5. Check the network side
Answer Question
1 User has rated as useful.
Login to rate this answer.
singh.neerajin
Answered On : May 27th, 2008
View all answers by singh.neerajin
If problem is pertaining to database & a user dont have acess to database level . One can check the
process ( taking long time ) through the enterprise manager.
Answer Question
Login to rate this answer.
Kunal Mishra
Answered On : Oct 10th, 2011
First check the Alert log file if any error related to hang issue such. Then I would like to suggest one
important step, that is please check archive log destination whether it has enough space, some times
when archive log destination got 100% full the database will be hanged and no one can connect to the
database apart from dba.
Answer Question
Login to rate this answer.
Kunal Mishra
Answered On : Oct 10th, 2011
Please check archive log destination has enough space, 100% full archivelog destination makes database
hanged.
What is mutated trigger, is it the problem of locks. In single user mode we got
mutated error, as a DBA how you will resolve it
mutated trigger: example:Table A has an insert trigger.In that Trigger: There is a statement like insert
into Table A, which caues mutated trigger.Avoid to have those kind of triggers in the database .
Answer Question
1 User has rated as useful.
Login to rate this answer.
naren
Answered On : Aug 30th, 2005
A trigger is said to be mutated when the table on which the trigger is written, is being used inside trigger
for DML operation.
Very next day on the prodction box It looks some procedres/packages got
invlidated. What command I should give to know how many packges are
invalidated. If suppose thousands are the packages invalidated then what
command I should Issut to get then validated.
Asked by: agarwalk_2000 | Member Since Mar-2006 | Asked on: Mar 17th, 2006
View all questions by agarwalk_2000
First
Previous
Next
Last
Use dbms_utility.compile_schema procedure to compile all the functions,procedure and packages for a
schema.exec dbms_utility.compile_schema('schema_name');
Answer Question
1 User has rated as useful.
Login to rate this answer.
pandish
Answered On : Apr 30th, 2006
View all questions by pandish
Answer Question
Login to rate this answer.
Ritesh Singh
Answered On : Jul 7th, 2006
The best way to check for the number of invalid objects is using the "UTLRP.SQL" which compiles all the
objects source code and lists the number of invalid objects. One after getting the number of invalid
objects query v$BH table to get the name of all the invalid objects
Answer Question
Login to rate this answer.
samareshp
Answered On : Apr 20th, 2009
First
Previous
Next
Last
Using crontab we can schedule task/jobs to run at particular time, date, day
basis.
steps.
1. Login to unix
2. At $prompt 'crontab -l' use this command to check what jobs are already
scheduled.
3. To edit or configure a job use " crontab -e" it will open crontab file which
is same like editing file in vi editor. Now schedule the jobs as per your
requirement.
It look like this
02***
The above file will be executed daily at 2 am
1 2 3 4 5 = specific time tags
- where 1 = Minute (of hour) to activate [0-59]
2 = Hour (of day) to activate [0-23]
3 = Day (of month) to activate [1-31 ... 29,30,31 may not activate during all
months]
4 = Month (of year) to activate [1-12 or 3-letter names "Jan,Feb,Mar"]
Very next day on the prodction box It looks some procedres/packages got
invlidated. What command I should give to know how many packges are
invalidated. If suppose thousands are the packages invalidated then what
command I should Issut to get then validated.
Asked by: agarwalk_2000 | Member Since Mar-2006 | Asked on: Mar 17th, 2006
View all questions by agarwalk_2000
First
Previous
Next
Last
Use dbms_utility.compile_schema procedure to compile all the functions,procedure and packages for a
schema.exec dbms_utility.compile_schema('schema_name');
Answer Question
1 User has rated as useful.
Login to rate this answer.
pandish
Answered On : Apr 30th, 2006
View all questions by pandish
The best way to check for the number of invalid objects is using the "UTLRP.SQL" which compiles all the
objects source code and lists the number of invalid objects. One after getting the number of invalid
objects query v$BH table to get the name of all the invalid objects
Answer Question
Login to rate this answer.
samareshp
Answered On : Apr 20th, 2009
View all answers by samareshp
@?/rdbms/admin/dbmsstat.sql
@?/rdbms/admin/prvtstas.plb
@?/rdbms/admin/prvtstat.plb
Answer Question
Login to rate this answer.
Sharath
Answered On : Jul 27th, 2011
you just validate it.. by using validate procedure and validate package commands.. ok don't worry