Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Debugging Shell FIles Linux/Unix
  • Jai Shree Ram Oracle
  • create database link syntax Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • get_vmstat_linux Oracle
  • Difference between SYNC and AFFIRM Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • Giving Grant on v$DATABASE Oracle
  • Logic to chech # of parameters command line parameters Linux/Unix
  • For Search and replace unix command. Linux/Unix
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • find_longsql.sql Oracle
  • ORA-3136 Oracle
  • Renaming the column name Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database 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 (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
  • find_string_in_database.sql Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • db_status.sql Oracle
  • online_ts_bkup.sql Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • Day to day MYSQL DBA operations (Compared with Oracle DBA) MYSQL
  • sid_wise_sql.sql Further explaination Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme