Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Implementing Listener Security Oracle
  • Composite Index creation tip from Vivek Oracle
  • All About Trace Fils Oracle
  • Oracle Release Explaination Oracle
  • Explain Plan Output 2 Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Read CSV File using Python Python/PySpark
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • Roles and Stored Procs II Oracle
  • AWR license Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • Removing Ctrl-M from end of line using vi Linux/Unix

Category: SQL scripts

Btee and Bitmap Plans in Oracle 9i and higher

Posted on 21-Nov-2007 By Admin No Comments on Btee and Bitmap Plans in Oracle 9i and higher

alter session set “_b_tree_bitmap_plans”=false When coming out alter session set “_b_tree_bitmap_plans”=true

Oracle, SQL scripts

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

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

Good RAC & Standby Notes

Posted on 13-Jul-2007 By Admin No Comments on Good RAC & Standby Notes

RAC Notes Note:241114.1 Step-By-Step Installation of RAC on Linux – Single Node (Oracle9i 9.2.0 with OCFS) Linux OCFS – Best Practices Step-by-Step Installation of RAC on Linux @ Setting up Real Application Cluster (RAC) environment on Linux – Single node Setting up Oracle Parallel Server environment on Linux – Single node @ 9iRAC: OS Port-Specific…

Read More “Good RAC & Standby Notes” »

Oracle, SQL scripts

Finding locked objects

Posted on 11-Jun-2007 By Admin No Comments on Finding locked objects

select object_id from dba_objects where object_name = ‘MYTABLE’; select sid, id1, id2 from v$lock where id1= &objid or id2 = &objid;

Oracle, SQL scripts

Posts pagination

Previous 1 … 14 15 16 … 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
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Jai Shree Ram Oracle
  • Resolving RMAN Hung Jobs Oracle
  • v$event_name Oracle
  • When to rebuld B-tree index Oracle
  • Updated LCK.SQL file. Oracle
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • rm_backup_arch_file.ksh Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme