Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Changing unix system clock when Oracle database is running. Oracle
  • SQL Server Vs Oracle Architecture difference SQL Server
  • cache buffer chain latch Oracle
  • find_idle_cpu.sql Oracle
  • Optimizer SORT Operations Oracle
  • Processes Parameter decision Oracle
  • For Search and replace unix command. Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • Goldengate Tutorial Oracle
  • checking connectivity between two servers Linux/Unix
  • Some OS level threshold for performance. Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • Sending SQLPLUS output in HTML format Oracle
  • Vivek Tuning for Row Locks. Oracle
  • get_vmstat.ksh Linux/Unix

Category: Oracle

Histogram information

Posted on 05-Feb-2007 By Admin No Comments on Histogram information

Oracle 10g Histogram ==================== Oracle uses two types of histograms for column statistics (1) height-balanced histograms (2) frequency histograms The type of histogram is stored in the HISTOGRAM column of the *TAB_COL_STATISTICS views (USER and DBA). This column can have values of HEIGHT BALANCED, FREQUENCY, or NONE. (1) Height-Balanced Histograms In a height-balanced histogram, the…

Read More “Histogram information” »

Oracle, SQL scripts

Export Import with QUERY

Posted on 01-Feb-2007 By Admin No Comments on Export Import with QUERY

exp userid=cs file=zip_cutoff_01FEB07.dmp log=zip_cutoff_01FEB07.log compress=N grants=N tables=zip_cutoff statistics=none query=”where delivery_date >=trunc(sysdate)” imp userid=cs file=zip_cutoff_01FEB07.dmp log=zip_cutoff_01FEB07_imp.log ignore=Y grants=N fromuser=cs touser=cs statistics=none

Oracle, SQL scripts

Good notes on Oracle Events

Posted on 25-Jan-2007 By Admin No Comments on Good notes on Oracle Events

http://www.df.lth.se/~egh/doc/EM/Webhelp/dba/dba.htm

Oracle, SQL scripts

Nice notes on wait events

Posted on 25-Jan-2007 By Admin No Comments on Nice notes on wait events

Log File Sync Event =================== Description When a user session commits (or rolls back), the sessions redo information needs to be flushed to the redo logfile. The user session will post the LGWR to write the log buffer to the redo log file. When the LGWR has finished that it will post the user session….

Read More “Nice notes on wait events” »

Oracle, SQL scripts

plan10g.sql good1

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

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

plan10g.sql good

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

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

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

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 … 20 21 22 … 40 Next

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
  • oracle_env_10g_CADEV Linux/Unix
  • ORA-3136 Oracle
  • Drop specific SQL plan baseline – spm Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Search and replace editor command in vi Linux/Unix
  • TRUNCATE table and disabling referential constraints. Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • proc.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme