Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Import and export statements Oracle
  • Nice notes on wait events Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • sid_wise_sql.sql Oracle
  • This is from Temi Oracle
  • online_bkup.sql Oracle
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • DBA_HIST_SQLSTAT contents Oracle
  • Histogram Overview Oracle
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • Remove DOS CR/LFs (^M) Linux/Unix
  • load SPM baseline from cursor cache Oracle
  • find the files that are 1 day old. Linux/Unix
  • Linux CPU info. Linux/Unix
  • find_open_cur.sql Find open cursorts per session Oracle

Author: Admin

scripts to take listener.log backup

Posted on 26-Oct-2007 By Admin No Comments on scripts to take listener.log backup

Linux/Unix, shell

Sample WW22 listener.ora

Posted on 18-Oct-2007 By Admin No Comments on Sample WW22 listener.ora

dbaltxprod50->WEBP18F@(/oracle/app/oracle/product/10.2/network/admin)more listener.ora SID_LIST_LISTENER_WEBP18F = (SID_LIST = (SID_DESC = (SID_NAME = WEBP18F) (ORACLE_HOME = /oracle/app/oracle/product/10.2) ) ) LISTENER_WEBP18F = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = dbaltxprod50)(PORT = 10510)) ) ) ) SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER_WEBP18F=OFF SID_LIST_LISTENER_WEBARCH = (SID_LIST = (SID_DESC = (SID_NAME = WEBARCH) (ORACLE_HOME = /oracle/app/oracle/product/10.2) ) ) LISTENER_WEBARCH = (DESCRIPTION_LIST =…

Read More “Sample WW22 listener.ora” »

Oracle, SQL scripts

Proc Compilation

Posted on 09-Oct-2007 By Admin No Comments on Proc Compilation

Proc compilation: make -f demo_proc64.mk build EXE=shipManagerOthers OBJS=shipManagerOthers.o PROCFLAGS=’SQLCHECK=SEMANTICS USERID=expuser/expuser@800P’ make -f demo_proc64.mk build EXE=KeepAlive60 OBJS=KeepAlive60.o PROCFLAGS=’SQLCHECK=SEMANTICS USERID=ccuser/ccuser@800P’ make -f demo_proc.mk build EXE=Lccauth0601 OBJS=Lccauth0601.o convertECard shishir@800L2 shishir 2454375076161 > ccdd.log

Oracle, SQL scripts

proper cpu stats

Posted on 05-Oct-2007 By Admin No Comments on proper cpu stats

Kishore said if you are seeing any CPU wait, most probably that is because of DISK I/O. iostat -c 5 Thanks Paresh

Linux/Unix, shell

To find all disk io ( EMC as well as local)

Posted on 05-Oct-2007 By Admin No Comments on To find all disk io ( EMC as well as local)

iostat -pnxze 5

Linux/Unix, shell

On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8)

Posted on 01-Oct-2007 By Admin No Comments on On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8)

Re : Can’t create a new connection for jdbc ORA-01034: ORACLE not available ORA-27121 There is a problem with permissions do this: cd $ORACLE_HOME/bin chmod a+s oracle

Oracle, SQL scripts

Specify the Rollback segment to use in Transaction

Posted on 28-Sep-2007 By Admin No Comments on Specify the Rollback segment to use in Transaction

First statement before you start processing?? SET TRANSACTION USE ROLLBACK SEGMENT BIG_RBS1; OR dbms_transaction.use_rollback_segment(‘BIG_RBS1’);

Oracle, SQL scripts

reset Sequence

Posted on 25-Sep-2007 By Admin No Comments on reset Sequence

column last_number format 9999999999999999 select * from user_sequences where sequence_name in (‘UOC_ORDER_SEQ_ID’); select 2400000000 – CurrVAl – 20 LAST_NUMBER from dual; alter sequence UOC_ORDER_SEQ_ID increment by NOCACHE; Increment Once. select UOC_ORDER_SEQ_ID.nextval from dual; Confirm Value comes to 2300000000. After that alter sequence UOC_ORDER_SEQ_ID increment by 1 NOCACHE; alter sequence UOC_ORDER_SEQ_ID maxvalue 2499999999 NOCACHE;

Oracle, SQL scripts

_B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade

Posted on 30-Aug-2007 By Admin No Comments on _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade

Subject: Upgrading from 8.1.X to 9.X – Btree Bitmap Plan Issues – Diagnosing and Resolving Doc ID: Note:259126.1 Type: TROUBLESHOOTING Last Revision Date: 13-MAR-2006 Status: PUBLISHED PURPOSE The Oracle Cost Based Optimizer is continually been enhanced. These enhancements were designed to improve performance but in some cases can cause a minority of queries to perform…

Read More “_B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade” »

Oracle, SQL scripts

Multiple listeners

Posted on 23-Aug-2007 By Admin No Comments on Multiple listeners

TNS-00512 starting second listener in same node Hi all, I have a 8.1.7.4 listener running OK with a 9.2.0.1 listener in the same Solaris box, I get TNS-00512 starting second listener from 9.2.0.1 ORACLE_HOME. I have changed the ports number, but the problem still persist !!! Here are the listener.ora file: Listener.ora (8.1.7.4) LISTENER =…

Read More “Multiple listeners” »

Oracle, SQL scripts

Posts pagination

Previous 1 … 27 28 29 … 57 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
  • Facts about SCN and Rollback Segment Oracle
  • cold backup scripts to copy locally Linux/Unix
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Rman Notes -1 Oracle
  • Jai Shree Ram Oracle
  • Running select from V$ views from remote server Linux/Unix
  • TRUNCATE table and disabling referential constraints. Oracle
  • longtx.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme