Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • login.sql Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • Library cahe Latches and internal explaination Oracle
  • Giving Grant on v$DATABASE Oracle
  • Jai Shree Ram Linux/Unix
  • switchlogfile.sh Linux/Unix
  • proper cpu stats Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • Find Stale DR Physical Standby Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • SAN Linux/Unix
  • Find average Row Length and other table size calculation. metalink notes 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

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

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Proc Compilation Oracle
  • move_arch_files.ksh Linux/Unix
  • USE_NL and INDEX hints example Oracle
  • Library cahe Latches and internal explaination Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix
  • ipcs -l Linux/Unix
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • How to find where datafile is created dbf_info.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme