Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • For Search and replace unix command. Linux/Unix
  • V$ROLLSTAT status is Full Oracle
  • Vivek Tuning for Row Locks. Oracle
  • To Find Orphan OS processes. Linux/Unix
  • Reading config file from other folder inside class Python/PySpark
  • Oracle Material from OTN Oracle
  • All About Trace Fils Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • Convert multiple rows to single column Oracle
  • JSON/XML Types in Oracle Oracle
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • AWR license Oracle
  • Oracle Metalink useful notes Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle

Year: 2006

10g oem configuration

Posted on 19-Jan-2006 By Admin No Comments on 10g oem configuration

(1) Check whether your database is registered with Enterprise Manager or not, using following command: posdbprod21:oracle> emctl status dbconsole OC4J Configuration issue. /oracle/app/oracle/product/10.1/oc4j/j2ee/OC4J_DBConsole_posdbprod21_CIF not found. posdbprod21:oracle> This means database is not registered with OEM. (2) Remember DBCA and other java interfaces use /vat/opt/oracle/oratab file to find the number of oracle instances instaled on that server….

Read More “10g oem configuration” »

Oracle, SQL scripts

UNderstand and eliminate Latch contention.

Posted on 18-Jan-2006 By Admin No Comments on UNderstand and eliminate Latch contention.

http://www.nocoug.org/download/2004-11/Conquering_Ora_Latch_Conten_1d.pdf

Oracle, SQL scripts

Library cahe Latches and internal explaination

Posted on 18-Jan-2006 By Admin No Comments on Library cahe Latches and internal explaination

http://www.ixora.com.au/q+a/library.htm

Oracle, SQL scripts

Good link for LIO in Oracle ( Logical IOs)

Posted on 18-Jan-2006 By Admin No Comments on Good link for LIO in Oracle ( Logical IOs)

http://www.diku.dk/undervisning/2003f/729/papers/millsap.pdf

Oracle, SQL scripts

New Latest Param.sql for finding all hidden parameters also

Posted on 18-Jan-2006 By Admin No Comments on New Latest Param.sql for finding all hidden parameters also

set pages 3000 set lines 151 accept param_name prompt ‘Enter Parameter Name : ‘ select a.ksppinm “Parameter”, b.ksppstvl “Session Value”, c.ksppstvl “Instance Value” from x$ksppi a, x$ksppcv b, x$ksppsv c where a.indx = b.indx and a.indx = c.indx and ( upper(ksppinm) like ‘%&param_name%’ or lower(ksppinm) like ‘%&param_name%’ ) order by a.ksppinm;

Oracle, SQL scripts

In Addition to previous note, following grants needed on PERFSTAT user.

Posted on 16-Jan-2006 By Admin No Comments on In Addition to previous note, following grants needed on PERFSTAT user.

/* System privileges */ grant create session to PERFSTAT; grant alter session to PERFSTAT; grant create table to PERFSTAT; grant create procedure to PERFSTAT; grant create sequence to PERFSTAT; grant create public synonym to PERFSTAT; grant drop public synonym to PERFSTAT; /* Select privileges on STATSPACK created views */ grant select on X_$KCBFWAIT to PERFSTAT;…

Read More “In Addition to previous note, following grants needed on PERFSTAT user.” »

Oracle, SQL scripts

Removing first line

Posted on 13-Jan-2006 By Admin No Comments on Removing first line

ssh webdbprod23 “df -k /db6/oradata/WEBP18F” | awk ‘{print $4}’ | sed ‘1d’ 1d for deleting first 1 line. 2d for deleting first 2 lines ans so on.

Linux/Unix, shell

Privileges Required to Create Procedures and Functions that uses objects from other schema.

Posted on 13-Jan-2006 By Admin No Comments on Privileges Required to Create Procedures and Functions that uses objects from other schema.

When you are creating a procedure and you are using objects from other schemas, then the procedure owner needs related privilages exclusively on those objects of other schemas. This cannot be resolved with ROLE.

Oracle, SQL scripts

Settting up get_vmstat.sh for colletinf CPU Usage.

Posted on 13-Jan-2006 By Admin No Comments on Settting up get_vmstat.sh for colletinf CPU Usage.

To collect CPU stats from Server following code needs to be setup. ( Step By Step ) Step-1 ====== Create a user named PERFSTAT/PERFSTAT. This is not for statspack, we only need 3 tables and package for this settings. Give appropriate default TS for same. Step-2 ====== create tables with following definitons: CREATE TABLE STATS$VMSTAT2…

Read More “Settting up get_vmstat.sh for colletinf CPU Usage.” »

Oracle, SQL scripts

Giving Grant on v$DATABASE

Posted on 12-Jan-2006 By Admin No Comments on Giving Grant on v$DATABASE

To give grant on v$database or any such synonym, need to follow following steps. 11:02:21 SYS@UOCQA:-> select * from dba_synonyms where synonym_name = ‘V$DATABASE’; OWNER SYNONYM_NAME TABLE_OWNER —————————— —————————— —————————— TABLE_NAME —————————— DB_LINK —————————————————————————————————- PUBLIC V$DATABASE SYS V_$DATABASE Then, 11:02:22 SYS@UOCQA:-> GRANT SELECT ON V_$DATABASE TO PUBLIC;

Oracle, SQL scripts

Posts pagination

Previous 1 … 9 10 11 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
  • Goldengate Tutorial Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • V$transaction notes for finding XID composition. Oracle
  • Insert cause enqueue locks Oracle
  • ORA-3136 Oracle
  • Resolving RMAN Hung Jobs Oracle
  • JSON/XML Types in Oracle Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme