Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • find_err.sql for finding errors from dba_errors. Oracle
  • Oracle Material from OTN Oracle
  • Changing Instance Name ( No DB_NAME) Oracle
  • export import with parameter file. Oracle
  • Another export with Query Oracle
  • Rman Notes -1 Oracle
  • dbinv.sql Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • find checksum of a file. Linux/Unix
  • cif crons Linux/Unix
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Oracle Identifiers Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • CPU Core related projections AWS

Category: Oracle

Renaming Oracle Instance Name

Posted on 30-Aug-2005 By Admin No Comments on Renaming Oracle Instance Name

Renaming oracle instance (from UOCTEST to UAS) Note : Remember to rename datafile, logfile, controlfile, parameterfile and passwordfile. Aslo need to change listener. ******** Parameter File *************************** (1) check whether instance is using SPFIlE. using “show parameter spfile” (2) SQL> connect / as sysdba SQL> “create pfile from spfile” in 10g by default it will…

Read More “Renaming Oracle Instance Name” »

Oracle, SQL scripts

How do I get Oracle to automatically start when my server boots up?

Posted on 23-Aug-2005 By Admin No Comments on How do I get Oracle to automatically start when my server boots up?

Make sure the entry for your database SID in the ORATAB file ends in a capital “Y”. Eg: # $ORACLE_SID:$ORACLE_HOME:[N|Y] # ORCL:/u01/app/oracle/product/8.0.5:Y # The scripts for starting and stopping databases are: $ORACLE_HOME/bin/dbstart and dbshut. SQL*Net (or Net8) is started with the lsnrctl command. Add the following entries to your /etc/rc2.d/S99dbstart (or equivalent) file: su –…

Read More “How do I get Oracle to automatically start when my server boots up?” »

Oracle, SQL scripts

Check Oracle installed products using one command

Posted on 23-Aug-2005 By Admin No Comments on Check Oracle installed products using one command

How does one list all installed Oracle products? One can display all installed products with version information by executing one of the following commands. For Oracle7 up to 8.0: cd $ORACLE_HOME/orainst ./inspdver For Oracle 8i and above: cd $ORACLE_HOME/install cat unix.rgs

Oracle, SQL scripts

Oracle Data Direct to TAPE

Posted on 23-Aug-2005 By Admin No Comments on Oracle Data Direct to TAPE

Can one export directly to a tape drive? —————————————– One can use a tape device name instead of a normal file name. When using a device, one also needs to specify the VOLSIZE= parameter. Look at this example: exp userid/password file=/dev/rmt0 table=emp volsize=1.2G Note: The volume size is a number ending with a “m”, “k”,…

Read More “Oracle Data Direct to TAPE” »

Oracle, SQL scripts

Export Oracle data and Compress at same time

Posted on 23-Aug-2005 By Admin No Comments on Export Oracle data and Compress at same time

If one cannot afford to buy extra disk space one can run the export and compress utilities simultaneously. This will prevent the need to get enough space for both the export file AND the compressed export file. Eg: # Make a pipe mknod expdat.dmp p # or mkfifo pipe # Start compress sucking on the…

Read More “Export Oracle data and Compress at same time” »

Oracle, SQL scripts

Good Link from metalink 1

Posted on 19-Aug-2005 By Admin No Comments on Good Link from metalink 1

Metalink Performance Library Index

Oracle, SQL scripts

Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT)

Posted on 19-Aug-2005 By Admin No Comments on Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT)

BENEFITS of Locally Managed Tablespaces ————————————— Locally managed tablespaces track all extent information in the tablespace itself, using bitmaps, resulting in the following benefits: * Improved concurrency and speed of space operations, because space allocations and deallocations predominantly modify locally managed resources (bitmaps stored in header files) rather than requiring centrally managed resources such as…

Read More “Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT)” »

Oracle, SQL scripts

True Session Wait Activity in Oracle 10g Verygood

Posted on 19-Aug-2005 By Admin No Comments on True Session Wait Activity in Oracle 10g Verygood

True Session Wait Activity in Oracle 10g ======================================== Catching a session waiting on a resource used to be hit or miss. Let’s take a look at how Oracle has helped give us a better mousetrap for seeing the waits experienced by sessions. It used to be that a DBA would sit in front of the…

Read More “True Session Wait Activity in Oracle 10g Verygood” »

Oracle, SQL scripts

Absolute file number and relative file number

Posted on 19-Aug-2005 By Admin No Comments on Absolute file number and relative file number

Interpreting Wait Event “file#” and “block#” parameters ======================================================= This reference note describes how to interpret file# and block# parameters from wait events (eg: obtained from or from the WAIT trace lines in trace files). The text uses: &AFN to represent the absolute file number (file#) &BLOCKNO to represent the block number (block#) IMPORTANT: The details…

Read More “Absolute file number and relative file number” »

Oracle, SQL scripts

Important Script Method for tuning

Posted on 19-Aug-2005 By Admin No Comments on Important Script Method for tuning

wait.sql enqueue_type.sql lck.sql

Oracle, SQL scripts

Posts pagination

Previous 1 … 33 34 35 … 40 Next

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • get_vmstat_solaris Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • cold backup scripts to copy locally Linux/Unix
  • SAN Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • How to set Processes Parameter Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme