Shows a way to find if table was truncated, using object_id, data_object_id one can tell possibly if the table was… READ MORE
Using OPatch with lsinventory and bugs_fixed options one can list the PSU patches installed in ORACLE_HOME Example: localhost:/home/oracle $ $ORACLE_HOME/OPatch/opatch… READ MORE
On AIX ran into the following issue where sqlplus generated the following error when using local connection (bequeath). scott@localhost:/home/scott:$ sqlplus… READ MORE
Tom Kyte’s following routine is a utility that can be used to to collect statistics of a session at the… READ MORE
There are 2 types of DBCC TRACEON (session or global). Session trace is turned on that session only and global… READ MORE
|
In SQLServer Managment Studio to the execution plan one can use one of the following SET commands “SET SHOWPLAN_XML ON”… READ MORE
Shows how to flush buffer cache and v$bh, you may only want to do this on Dev or Test enviornment… READ MORE
There are various methods of displaying execution plan. Here is few of them. 1) Using EXPLAIN PLAN and setting STATEMENT_ID… READ MORE
|
By setting the parameter “AUDIT_TRAIL” to “DB” or “OS”, one can enable auditing in the database. To change the value… READ MORE
Compares refreshing materialized view with NOLOGGING 1) Refresh Materialized view with NOLOGGING -- Capture redo size before refreshing materialized view… READ MORE
Statspack can be installed by executing the following script, it will prompt for password for user PERFSTAT, the tablespace for… READ MORE
# Capture amount of redo logs generated when table is created in UNRECOVERABLE SQL> select vs.name, vm.value from v$mystat vm,… READ MORE
# lists jobs in current session $ jobs # start job 1 (sleeps for 200 seconds) $ sleep 200 #… READ MORE
“Control what I can control”
~ Alex Lima