DBA Scripts
Here are some of the scripts I use regularly. Some of them are not necessary when using Oracle Enterprise Manager (OEM), but if like me you hate waiting around for OEM to start up you'll often get the job done more quickly with these. You can look at the individual scripts, or download the lot here. Cheers Tim...
![]() |
![]() |
| 10g... |
![]() |
| 11g... |
![]() |
| constraints... |
| disable_chk.sql | disable_fk.sql | disable_pk.sql |
| disable_ref_fk.sql | enable_chk.sql | enable_fk.sql |
| enable_pk.sql | enable_ref_fk.sql |
![]() |
| miscellaneous... |
![]() |
![]() |
| monitoring... |
![]() |
| rac... |
| locked_objects_rac.sql | longops_rac.sql | monitor_memory_rac.sql |
| session_undo_rac.sql | session_waits_rac.sql | sessions_rac.sql |
![]() |
| resource manager... |
| active_plan.sql | consumer_group_usage.sql | consumer_groups.sql |
| plan_directives.sql | resource_plans.sql |
![]() |
| script creation... |
![]() |
| security... |
| grant_delete.sql | grant_execute.sql | grant_insert.sql |
| grant_select.sql | grant_update.sql | package_synonyms.sql |
| schema_write_access.sql | sequence_synonyms.sql | table_synonyms.sql |
| view_synonyms.sql |
![]() |
| external... |
Snapper
![]() |

