Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • on IBM-AIX for display Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • Composite Index creation tip from Vivek Oracle
  • New OFA for 11g Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • switchover for primary database Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • Some useful Unix Commands Linux/Unix
  • When to rebuld B-tree index Oracle
  • SQL Server: How to see current transactions or requests SQL Server
  • More info about /proc folder and its relation with processes. Linux/Unix
  • How to check current redo log progress redo_progress.sql Oracle

Oracle 11g RAC on OEL 5 and Vmware 2

Posted on 11-Jan-2009 By Admin No Comments on Oracle 11g RAC on OEL 5 and Vmware 2

http://www.oracle-base.com/articles/11g/OracleDB11gR1RACInstallationOnOEL5UsingVMwareServer2.php

Oracle, RAC

Sequence Resetting

Posted on 09-Jan-2009 By Admin No Comments on Sequence Resetting

—————— CS Sequences maintenance——————- column last_number format 9999999999999999 select * from user_sequences where sequence_name in (‘UOC_ORDER_SEQ_ID’); select 2300000000 – 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…

Read More “Sequence Resetting” »

Oracle, SQL scripts

DBMS_SQL for alter session.

Posted on 07-Jan-2009 By Admin No Comments on DBMS_SQL for alter session.

SQL> SQL> CREATE OR REPLACE PROCEDURE AlterSession( 2 p_SessionString IN VARCHAR2) AS 3 4 v_CursorID INTEGER; 5 v_Dummy INTEGER; 6 BEGIN 7 v_CursorID := DBMS_SQL.OPEN_CURSOR; 8 9 DBMS_SQL.PARSE(v_CursorID, p_SessionString, DBMS_SQL.NATIVE); 10 v_Dummy := DBMS_SQL.EXECUTE(v_CursorID); 11 END AlterSession; 12 / Procedure created. SQL> SQL> column sysdate format a30 SQL> SELECT SYSDATE FROM dual; SYSDATE —————————— Jun…

Read More “DBMS_SQL for alter session.” »

Oracle, SQL scripts

get_vmstat_linux

Posted on 06-Jan-2009 By Admin No Comments on get_vmstat_linux

CREATE TABLE STATSUSER.STATS$TOTALUSERS ( MEASURED_DATE DATE, TOTAL_USERS NUMBER, ACTIVE_USERS NUMBER, UOCWEBSPHERE_USERS NUMBER, UOCSCRIPTS_USERS NUMBER ); CREATE TABLE STATSUSER.STATS$USERSESSIONS ( START_DATE DATE, SYSTEM_SESSIONS NUMBER, ACTIVE_USERS NUMBER, INACTIVE_USERS NUMBER, DEDICATED_SERVERS NUMBER, USER_SESSIONS NUMBER, TRANSACTIONS NUMBER ); CREATE INDEX STATSUSER.STATS$USERSESSIONS_STDTE_I ON STATSUSER.STATS$USERSESSIONS (START_DATE); /* Following procedure and shell program is for Solaris */ #!/bin/ksh # This is the…

Read More “get_vmstat_linux” »

Oracle, SQL scripts

get_vmstat_solaris

Posted on 06-Jan-2009 By Admin No Comments on get_vmstat_solaris

CREATE TABLE STATSUSER.STATS$TOTALUSERS ( MEASURED_DATE DATE, TOTAL_USERS NUMBER, ACTIVE_USERS NUMBER, UOCWEBSPHERE_USERS NUMBER, UOCSCRIPTS_USERS NUMBER ); CREATE TABLE STATSUSER.STATS$USERSESSIONS ( START_DATE DATE, SYSTEM_SESSIONS NUMBER, ACTIVE_USERS NUMBER, INACTIVE_USERS NUMBER, DEDICATED_SERVERS NUMBER, USER_SESSIONS NUMBER, TRANSACTIONS NUMBER ); CREATE INDEX STATSUSER.STATS$USERSESSIONS_STDTE_I ON STATSUSER.STATS$USERSESSIONS (START_DATE); /* Following procedure and shell program is for Solaris */ CREATE OR REPLACE PROCEDURE STATSUSER.vmstat3…

Read More “get_vmstat_solaris” »

Oracle, SQL scripts

moving lob object to other tablespace lob_mvmt.sql

Posted on 05-Jan-2009 By Admin No Comments on moving lob object to other tablespace lob_mvmt.sql

set lines 132 set pagesize 3000 spool lob_mvmt select ‘alter table ‘ || table_name || ‘ move lob(‘|| column_name || ‘) store as ( tablespace pnet_data ) ;’ from user_tab_columns where data_type like ‘%LOB%’; spool off

Oracle, SQL scripts

This is from Temi

Posted on 05-Jan-2009 By Admin No Comments on This is from Temi

Hello Buddy

Oracle, rman-dataguard

272332.1 CRS 10g Diagnostic Collection Guide

Posted on 04-Jan-2009 By Admin No Comments on 272332.1 CRS 10g Diagnostic Collection Guide

CRS 10g Diagnostic Collection Guide =================================== This document contains guidelines for collecting diagnostic information from a CRS installation. The diagnostics listed in the sections below are necessary for development to be able to help with TARs, bugs and other problems that may arise in the field. CRS Collect all CRS log files, trace files and…

Read More “272332.1 CRS 10g Diagnostic Collection Guide” »

Oracle, RAC

284785.1 How to check RAC Option is currently linked into the Oracle Binary

Posted on 04-Jan-2009 By Admin No Comments on 284785.1 How to check RAC Option is currently linked into the Oracle Binary

Applies to: Oracle Server – Enterprise Edition – Version: 9.2 to 11.1 Information in this document applies to any platform. Goal The goal of this articale is to find whether rac option is linked into Oracle binary or not. Solution steps to check ——————————— 1.Go to $ORACLE_HOME/rdbms/lib 2.run the following command nm -r libknlopt.a |…

Read More “284785.1 How to check RAC Option is currently linked into the Oracle Binary” »

Oracle, RAC

556976.1 Oracle Clusterware: Components installed

Posted on 04-Jan-2009 By Admin No Comments on 556976.1 Oracle Clusterware: Components installed

In this Document Purpose Scope Oracle Clusterware: Components installed. What is the Oracle Clusterware? Components. Components creation. Conclusion. References Applies to: Oracle Server – Enterprise Edition – Version: 10.2.0.3 to 11.1.0.6 Information in this document applies to any platform. Purpose This document is aimed to explain the different parts of the Oracle Clusterware (sometimes also…

Read More “556976.1 Oracle Clusterware: Components installed” »

Oracle, RAC

Posts pagination

Previous 1 … 18 19 20 … 58 Next

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Updated LCK.SQL file. Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • All About Trace Fils Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • how to find OS block size Oracle
  • Search and replace editor command in vi Linux/Unix
  • Generate SSH without password authentication. Linux/Unix
  • ORACLE_SID in sqlplus Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme