A quick emergency FRA clean up when archived logs are full. This file contains hidden or bidirectional Unicode text… READ MORE
I recently wanted to drop the indexes during a load and recreate after. There are several ways to do that,… READ MORE
Today I ran into a scenario where I need to check if a table had an UNIQUE index. Instead of writing… READ MORE
The Oracle Lifetime Support Policy brochure for tech products has… READ MORE
When setting up a DDL replication in Integrated Capture there are couple tables that gets populated on a regular basis,… READ MORE
|
One can disable parallel query at a session level by running the following ALTER SESSION statement. You can use this… READ MORE
‘ANONYMOUS’ — HTTP access to XDB ‘APPQOSSYS’ — QOS system user ‘AUDSYS’ — audit super user ‘BI’ — Business Intelligence… READ MORE
Here is a simple script to check which tables are missing trandata and generate the GG (so call DDL) to… READ MORE
Commands ggsci> HELP [command] [object] ggsci> help GGSCI Command Summary: Object: Command: SUBDIRS … READ MORE
At times one would want to change properties/attributes of a table so new partitions are affected by change not the… READ MORE
|
Using oradebug one can get a dump of sessions parameters that are modified at session level, like optimization parameters. SQL>… READ MORE
Using the following SQL one can find the current number of processes and sessions connected and also max utilization so… READ MORE
Below are the 2 SQL statements, the first one uses the index AAA_IDX and then second one does a full… READ MORE
Following example shows what happens when locks are disabled on the TABLE. -- disable lock on a table SQL> alter… READ MORE
Using strace one can trace the system calls being executed by a running process. To stop the strace press control-C… READ MORE
When starting one of the databases we received the ORA-00353 error. It indicates that archiver process couldn’t archive one of… READ MORE
Using the following query one can see the flashback data available. SELECT to_char(sysdate,'YYYY-MM-DD HH24:MI') current_time, to_char(f.oldest_flashback_time, 'YYYY-MM-DD HH24:MI') OLDEST_FLASHBACK_TIME, (sysdate… READ MORE
Using sys.dbms_scheduler.STOP_JOB one can stop scheduled job. SQL> exec sys.dbms_scheduler.STOP_JOB(job_name=>'SYS.ORA$AT_OS_OPT_SY_12856', force=>true); Output: PL/SQL procedure successfully completed. If it can’t find… READ MORE
Few examples of some scenarios of setting intervals for dba_jobs. Note: Updating the interval will not update the NEXT_DATE run… READ MORE
DBMS_JOB allows one to create/manage jobs under user who has logged but using sys.dbms_ijob one can manage jobs all jobs… READ MORE
By querying v$database one can tell if the host is primary or standby For primary testdb> select database_role from v$database;… READ MORE
If you have an issue where the server where standby resides had to be restarted and when you try to… READ MORE
By setting the value of 0 to the parameter “job_queue_processes” one can suspend all jobs from executing in DBA_JOBS. The… READ MORE
Using dba_jobs_running it will show the all jobs executing. SQL> select djr.sid, djr.job, djr.failures, djr.this_date, djr.this_sec, dj.what from dba_jobs_running djr,… READ MORE
“Control what I can control”
~ Alex Lima