Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Find all users who have DML privileges Oracle
  • scripts to take listener.log backup Linux/Unix
  • SYSOPER Mystery Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • tab.sql Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • sess1.sql Oracle
  • crontab syntax Linux/Unix
  • sqlnet.ora paramters Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle

Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1

Posted on 09-Nov-2005 By Admin No Comments on Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1

Purpose: ======== The purpose of this article is to describe the behavior of the standby database when one or more datafiles on the primary database are resized. Standby Database Behavior When a Datafile is Resized on the Primary Database: ============================================================================= On the primary database the initial size of the datafile is 113246208. You decide to…

Read More “Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1” »

Oracle, rman-dataguard

AWR settings- MMON is not taking snapshot.

Posted on 07-Nov-2005 By Admin No Comments on AWR settings- MMON is not taking snapshot.

POTENTIAL SOLUTION(S) for AWR Snapshot Error ============================================ (*) To take the snapshots we need to populate WRM$_SNAPSHOT table successfully and for that instance metadata should be present in WRM$_DATABASE_INSTANCE. (*) To regenerate the AWR objects run catnoawr.sql and catawr.sql scripts from $ORACLE_HOME/rdbms/admin (*) Then RESTART the database So, if we have regenerated the AWR objects…

Read More “AWR settings- MMON is not taking snapshot.” »

Oracle, SQL scripts

Changing the Global Database Name

Posted on 07-Nov-2005 By Admin No Comments on Changing the Global Database Name

Changing the Global Database Name: Example The following statement changes the global name of the database and includes both the database name and domain: ALTER DATABASE RENAME GLOBAL_NAME TO demo.world.oracle.com;

Oracle, SQL scripts

Resolving RMAN Hung Jobs

Posted on 04-Nov-2005 By Admin No Comments on Resolving RMAN Hung Jobs

PURPOSE ======= This note discusses resolving an RMAN Hung Job SCOPE & APPLICATION =================== Anyone involved in running RMAN jobs Resolving an RMAN Hung Job ========================== Components of an RMAN Session The nature of an RMAN session depends on the operating system. In UNIX, an RMAN session has the following processes associated with it: –…

Read More “Resolving RMAN Hung Jobs” »

Oracle, rman-dataguard

Vivek Tuning for Row Locks.

Posted on 03-Nov-2005 By Admin No Comments on Vivek Tuning for Row Locks.

/************************ wait.sql *************************/ set pages 2000 set lines 132 column p1text format a18 column event format a35 column WT format 9999 column SW format 9999 select sid, event,p1text,p1raw,p1,p2,p3,seconds_in_Wait “SW”,Wait_time “WT” from v$session_wait where event not in( ‘KXFQ: Dequeue Range Keys – Slave’, ‘KXFQ: Dequeuing samples’, ‘KXFQ: kxfqcls – consumer closing TQ’, ‘KXFQ: kxfqdeq – dequeue…

Read More “Vivek Tuning for Row Locks.” »

Oracle, SQL scripts

Mutating Table Error while using database trigger

Posted on 03-Nov-2005 By Admin No Comments on Mutating Table Error while using database trigger

The Mutating table error is a well-known problem encountered in development; most developers have come across this error. ORA-04091: table is mutating, trigger/function may not see it The basic reason for this error is the way that Oracle manages a read consistent view of data. The error is encountered when a row-level trigger accesses the…

Read More “Mutating Table Error while using database trigger” »

Oracle, SQL scripts

Adding Datafile on Primary Server and Impact on Standby Server

Posted on 28-Oct-2005 By Admin No Comments on Adding Datafile on Primary Server and Impact on Standby Server

When u add a datafile in Primary then those changes are not immediately propagated to standby. Once Log with this changes applied to standby, standby database create a filename in $ORACLE_HOME/dbs. This is just a file name and does not have physical file. After this even all log apply service will fail as this is…

Read More “Adding Datafile on Primary Server and Impact on Standby Server” »

Oracle, rman-dataguard

USER_TABLES.Freelists

Posted on 28-Oct-2005 By Admin No Comments on USER_TABLES.Freelists

When you are using tablespace with segment space management AUTO then following command will not show FREELISTS. Alter table move tablespace my_data storage (initial 20M freelists 9) initrans 9; If tablespace is crreated with segment space management AUTO Then USER_TABLES.FREELISTS does not show FREELISTs as 9, but it displays blank in FREELISTS column.

Oracle, SQL scripts

My Test Case On 21-OCT-2005

Posted on 21-Oct-2005 By Admin No Comments on My Test Case On 21-OCT-2005

(*) if you grant any role to grantee while grantee is connected to database. He cannot use that role immediately. To use it immediately he needs to execute “Set role role_name” in his session. This will enable that role for him or he needs to logoff and login again. (*) If you have given any…

Read More “My Test Case On 21-OCT-2005” »

Oracle, SQL scripts

TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1

Posted on 14-Oct-2005 By Admin No Comments on TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1

=================================================================== STEP-I First, calculate the total block header size: =================================================================== block header = fixed header + variable transaction header + table directory + row directory where: fixed header = 57 bytes (the 4 bytes at the end of the block have already been taken account of in the 24 bytes for the cache header) variable…

Read More “TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1” »

Oracle, SQL scripts

Posts pagination

Previous 1 … 44 45 46 … 57 Next

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • AWR license Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • Export With Query Another Example. Oracle
  • executing Function from SQLPLUS prompt Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • Creating never expiring DB user accounts in Oracle Oracle
  • USER_TABLES.Freelists Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme