Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • move_arch_files.ksh Linux/Unix
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • Composite Index creation tip from Vivek Oracle
  • upload.html PHP/MYSQL/Wordpress
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Roles and Stored Object behaviour Oracle
  • Python class import from different folders Python/PySpark
  • find_pk.sql /* Find Primary Key */ Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • GSQ.sql Oracle
  • Jai Shree Ram Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle

Year: 2007

plan10g.sql

Posted on 24-Jan-2007 By Admin No Comments on plan10g.sql

set lines 150 pages 2000 accept v_sqlid prompt ‘Enter SQL_ID : ‘ select * from table(dbms_xplan.display_cursor(‘&v_sqlid’, 0));

Oracle, SQL scripts

cache buffer chain latch

Posted on 19-Jan-2007 By Admin No Comments on cache buffer chain latch

Good Docs. (1) http://www.oracle-training.cc/oracle_tips_hidden_parameters.htm (2) FOR EAAPPPROD22 (UOCQA) ====================== Also I did some research on ‘cache buffer chains’ CBC events and found that wait on UOCQA instance ( on eaappprod22 ) was occurring due to wait on specific chain, not because of wait on specific Block or ROW. As per current configuration, # of linked-list…

Read More “cache buffer chain latch” »

Oracle, SQL scripts

Finding Oracle Patches with opatch

Posted on 05-Jan-2007 By Admin No Comments on Finding Oracle Patches with opatch

dbaltxprod50->WEBP18F@(/home/oracle)/oracle/app/oracle/product/10.2/OPatch/opatch lsinventory Invoking OPatch 10.2.0.2.0 Oracle interim Patch Installer version 10.2.0.2.0 Copyright (c) 2005, Oracle Corporation. All rights reserved.. Oracle Home : /oracle/app/oracle/product/10.2 Central Inventory : /var/opt/oracle/oraInventory from : /oracle/app/oracle/product/10.2/oraInst.loc OPatch version : 10.2.0.2.0 OUI version : 10.2.0.2.0 OUI location : /oracle/app/oracle/product/10.2/oui Log file location : /oracle/app/oracle/product/10.2/cfgtoollogs/opatch/opatch-2006_Aug_28_17-52-47-E DT_Mon.log Lsinventory Output file location : /oracle/app/oracle/product/10.2/cfgtoollogs/opatch/lsinv/lsinventory-2006_Aug_28 _17-52-47-EDT_Mon.txt…

Read More “Finding Oracle Patches with opatch” »

Oracle, SQL scripts

Sort with ASCII order and Numeric Order

Posted on 03-Jan-2007 By Admin No Comments on Sort with ASCII order and Numeric Order

By default sort command will sort by ASCII order. To sort it on basis of NUMERIC sort, you need to specify “-n” switch. du -sk * | sort -n

Linux/Unix, shell

Order by with ROWNUM

Posted on 03-Jan-2007 By Admin No Comments on Order by with ROWNUM

18:02:01 PVM@AWRTEST:-> select * from pvm1; NO ——— 100 20 40 1 2 200 24 7 rows selected. Elapsed: 00:00:00.01 18:02:17 PVM@AWRTEST:-> select no from ( select no, row_number() over (order by no desc) r from pvm1) where r=2; NO ——— 100 1 row selected. Elapsed: 00:00:00.02 18:02:38 PVM@AWRTEST:-> select no from ( select no,…

Read More “Order by with ROWNUM” »

Oracle, SQL scripts

Posts pagination

Previous 1 … 5 6

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Changing Instance Name ( No DB_NAME) Oracle
  • Checking SQL Server Version SQL Server
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • DB Console Mainenance. Oracle
  • Resolving RMAN Hung Jobs Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • VIvek Encryption Package and Its Usage Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme