|
It seems at times when roles are assigned they are not assigned as DEFAULT role to a user. The reason… READ MORE
— Global temporary table which keeps records till session create global temporary table temp1( year number ) on commit preserve… READ MORE
When a user account is created on SQLServer on 2005 with user account set to “Enforce password policy” and “Enforce… READ MORE
|
SQL> select b.sid, b.serial#, a.spid processid, b.process clientpid from v$process a, v$session b where a.addr = b.paddr and b.audsid =… READ MORE
In 11g the Oracle the hash password is no longer stored in DBA_USERS, it is stored in SYS.USER$ table in… READ MORE
In 11g Oracle supports password to be case sensitive. But the password can be case insensitive depending on value of… READ MORE
The issue occurs when there is a db link which is a loop back database link i.e. points to itself… READ MORE
“RESOURCE_LIMIT” parameter is used to enable/disable “KERNEL” resource type profiles. Password parameters are part of profiles but they are controlled… READ MORE
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
There are multiple ways to place a program in background mode. Background mode is when the program runs and returns… READ MORE
“Control what I can control”
~ Alex Lima