Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • This is from Temi Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • Find long Running Transaction Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Space padding in korn shell Linux/Unix
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Create type and Grant on it. Oracle
  • Sample WW22 listener.ora Oracle
  • Goldengate Tutorial Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Changing unix system clock when Oracle database is running. Oracle
  • DBMS_JOB all example Oracle
  • Resolving RMAN Hung Jobs Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix

Category: SQL scripts

ORA-00064: object is too large to allocate on this O/S during startup

Posted on 25-Jun-2008 By Admin No Comments on ORA-00064: object is too large to allocate on this O/S during startup

(1) When you attempt to set the ‘Processes’ parameter to high value (for example> 14000), the instance startup fails with ORA-00064: object is too large to allocate on this O/S ORA-00064: object is too large to allocate on this O / S. Solution: Change PROCESSES parameter. or The workaround to bypass this limit is to…

Read More “ORA-00064: object is too large to allocate on this O/S during startup” »

Oracle, SQL scripts

standard Monitoring – 1

Posted on 04-Jun-2008 By Admin No Comments on standard Monitoring – 1

ALL DB = Primary + DR databases. -> Implement checkfile concept so script will not page for planned maitenance. (1) Connect and update all Primary db for hang check. (2) Check for pmon for all db. (3) Check Alert log for ORA error for Primary database. (4) Purge Alert log of Primary and keep backup…

Read More “standard Monitoring – 1” »

Oracle, SQL scripts

OEM-troubleshooting on 20-MAY-08

Posted on 20-May-2008 By Admin No Comments on OEM-troubleshooting on 20-MAY-08

FROM TUNINGDB21 (Target) =============== tuningdb21*-/db1/home/oracle/paresh ==>ping 10.180.1.144 10.180.1.144 is alive tuningdb21*-/db1/home/oracle/paresh ==>ping oem2k.1800flowers.int ping: unknown host oem2k.1800flowers.int tuningdb21*-/db1/home/oracle/paresh ==>nslookup 10.180.1.144 *** Can’t find server name for address 127.0.0.1: Unspecified error *** Default servers are not available tuningdb21*-/db1/home/oracle/paresh ==>nslookup oem2k.1800flowers.int *** Can’t find server name for address 127.0.0.1: Unspecified error *** Default servers are not available…

Read More “OEM-troubleshooting on 20-MAY-08” »

Oracle, SQL scripts

normal maintenance for exp-imp and renaming table

Posted on 20-May-2008 By Admin No Comments on normal maintenance for exp-imp and renaming table

exp userid=vivek file=ats_florist_zips_20MAY08.dmp log=ats_florist_zips_20MAY08.log grants=N indexes=N tables=ats.ats_florist_zips triggers=N statistics=None feedback=5000 imp userid=vivek file=ats_florist_zips_20MAY08.dmp log=imp_ats_florist_zips_20MAY08.log buffer=20971520 grants=N indexes=N fromuser=ats touser=5049 commit=Y constraints=N feedback=5000 statistics=None alter table “5049”.ATS_FLORIST_ZIPS rename to ats_florist_zips_05_20_2008;

Oracle, SQL scripts

OEM-Commnds

Posted on 15-May-2008 By Admin No Comments on OEM-Commnds

D:oracle_homesagent10gBIN> emctl status agent D:oracle_homesagent10gBIN> emctl start agent D:oracle_homesagent10gBIN> emctl stop agent yantradevdb-YANTRAD> emctl getemhome yantradevdb-YANTRAD> emctl upload

Oracle, SQL scripts

V$ROLLSTAT status is Full

Posted on 13-May-2008 By Admin No Comments on V$ROLLSTAT status is Full

Problem Description: ==================== You receive the following error: ORA-01562: “failed to extend rollback segment number %s” Cause: Failure occurred when trying to extend rollback segment Action: This is normally followed by another error message that caused the failure. You may take the rollback segment offline to perform maintainence. Use the alter rollback segment offline command…

Read More “V$ROLLSTAT status is Full” »

Oracle, SQL scripts

find_log_switch.sql Find log switches in graphical manner

Posted on 10-May-2008 By Admin No Comments on find_log_switch.sql Find log switches in graphical manner

set linesize 100 set pagesize 100 column day format a15 heading ‘Day’ column d_0 format a2 heading ’00’ column d_1 format a2 heading ’01’ column d_2 format a2 heading ’02’ column d_3 format a2 heading ’03’ column d_4 format a2 heading ’04’ column d_5 format a2 heading ’05’ column d_6 format a2 heading ’06’ column…

Read More “find_log_switch.sql Find log switches in graphical manner” »

Oracle, SQL scripts

sql_plan9i.sql

Posted on 10-May-2008 By Admin No Comments on sql_plan9i.sql

set lines 132 set pages 1400 accept v_address prompt ‘Enter ADDRESS :’ accept v_hash_value prompt ‘Enter HASH VALUE :’ select sql_text from v$sqltext where address=’&v_address’ and hash_value=’&v_hash_value’ order by piece; SELECT LPAD(‘ ‘,2*(LEVEL-1))||operation||’ ‘||options ||’ ‘||object_name ||’ ‘|| DECODE(id, 0, ‘Cost = ‘||position) “Query Plan” FROM v$sql_plan START WITH id = 0 and address=’&v_address’ and…

Read More “sql_plan9i.sql” »

Oracle, SQL scripts

find_idle_cpu.sql

Posted on 10-May-2008 By Admin No Comments on find_idle_cpu.sql

spool /export/home/oracle/scripts/idle_cpu.txt set linesize 120 set pagesize 120 SELECT TO_CHAR (start_date, ‘DD-MON-RRRR:HH24:MI’) start_dt, user_cpu, system_cpu, idle_cpu, wait_cpu FROM stats$vmstat2 where idle_cpu=(SYSDATE – 1/48) AND ROWNUM

Oracle, SQL scripts

perf_today.sql

Posted on 10-May-2008 By Admin No Comments on perf_today.sql

column start_dt format a20 column start_dt1 format a20 set lines 120 pages 300 select to_char(start_date, ‘DD-MON-RRRR:HH24:MI’) start_dt, user_cpu, system_cpu, idle_cpu, wait_cpu from STATS$VMSTAT2 where start_date > trunc(sysdate) order by start_date; select to_char(measured_date, ‘DD-MON-RRRR:HH24:MI’) start_dt, total_users, Active_users from STATS$TOTALUSERS where measured_date > trunc(sysdate) order by measured_date; select to_char(start_date, ‘DD-MON-RRRR:HH24:MI’) start_dt1, system_sessions, active_users, inactive_users, dedicated_servers, user_sessions, transactions…

Read More “perf_today.sql” »

Oracle, SQL scripts

Posts pagination

Previous 1 … 11 12 13 … 35 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
  • Gathering statistics with DBMS_STATS Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • Important Solaris Commands Linux/Unix
  • Database link password in user_db_links Oracle
  • myfile Oracle
  • Library cahe Latches and internal explaination Oracle
  • RAC 11g with vmware Oracle
  • Oracle Metalink useful notes Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme