Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • check_copy_progress.sh Linux/Unix
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • Exadata Basics Oracle
  • on IBM-AIX for display Linux/Unix
  • Find Stale DR Physical Standby Oracle
  • Proc Compilation Oracle
  • Read CSV File using Python Python/PySpark
  • Sample WW22 listener.ora Oracle
  • Generate SSH without password authentication. Linux/Unix
  • proper cpu stats Linux/Unix
  • Implementing Listener Security Oracle
  • Rename Oracle Instance Name Oracle
  • PLSQL Table Syntax 1 Oracle
  • How to change hostname in Linux Linux/Unix
  • To Find Orphan OS processes. Linux/Unix

Author: Admin

Formatter Explain plan Output 1

Posted on 02-Aug-2005 By Admin No Comments on Formatter Explain plan Output 1

set markup html preformat on Rem Rem Use the display table function from the dbms_xplan package to display the last Rem explain plan. Use default mode which will display only relevant information Rem select * from table(dbms_xplan.display());

Oracle, SQL scripts

create PLAN_TABLE command.

Posted on 02-Aug-2005 By Admin No Comments on create PLAN_TABLE command.

create table PLAN_TABLE ( statement_id varchar2(30), plan_id number, timestamp date, remarks varchar2(4000), operation varchar2(30), options varchar2(255), object_node varchar2(128), object_owner varchar2(30), object_name varchar2(30), object_alias varchar2(65), object_instance numeric, object_type varchar2(30), optimizer varchar2(255), search_columns number, id numeric, parent_id numeric, depth numeric, position numeric, cost numeric, cardinality numeric, bytes numeric, other_tag varchar2(255), partition_start varchar2(255), partition_stop varchar2(255), partition_id numeric, other…

Read More “create PLAN_TABLE command.” »

Oracle, SQL scripts

Oracle Internal Good Websites 1

Posted on 02-Aug-2005 By Admin No Comments on Oracle Internal Good Websites 1

Oracle Internals http://www.ixora.com.au/notes/ http://www.stormloader.com/yonghuang/computer/x$table.html http://www.adp-gmbh.ch/ora/misc/x.html http://www.oracle-training.cc/oracle_tips.htm

Oracle, SQL scripts

exp syntax in oracle 10g

Posted on 02-Aug-2005 By Admin No Comments on exp syntax in oracle 10g

**exporting only structure** exp userid=username/password@conn_str file=expdat.dmp tables= table1, table2, table3, table4, table5, table6, table7, table8 rows=n statistics=none **exp command help** exp help=y

Oracle, SQL scripts

Good links for x$ tables in oracle.

Posted on 02-Aug-2005 By Admin No Comments on Good links for x$ tables in oracle.

Explaination about X$tables http://www.stormloader.com/yonghuang/computer/x$table.html

Oracle, SQL scripts

dbinv.sql

Posted on 02-Aug-2005 By Admin No Comments on dbinv.sql

set linesize 132 select owner, substr(object_name,1,30) objname , object_type from dba_objects where owner not in (‘SYS’, ‘SYSTEM’) and status = ‘INVALID’ order by owner, object_type, object_name;

Oracle, SQL scripts

myfile

Posted on 02-Aug-2005 By Admin No Comments on myfile

**************************************************** File Name : a.sql **************************************************** create or replace view ats_dba_waiters as select /*+ all_rows */ w.session_id waiting_session, h.session_id holding_session, w.lock_type, h.mode_held, w.mode_requested, w.lock_id1, w.lock_id2 from ats_dba_lock w, ats_dba_lock h where h.blocking_others = ‘Blocking’ and h.mode_held != ‘None’ and h.mode_held != ‘Null’ and w.mode_requested != ‘None’ and w.lock_type = h.lock_type and w.lock_id1 = h.lock_id1 and…

Read More “myfile” »

Oracle, SQL scripts

ORACLE_SID in sqlplus

Posted on 02-Aug-2005 By Admin No Comments on ORACLE_SID in sqlplus

PURPOSE ========= To document one of the features of spooling in SQL*Plus. This article explains the behavior of “@” when used in the spooled file name. I checked for Unix and its working fine. This is an undocumented behavior of 10g sqlplus. How is “@” interpretted when used in spooled file name? ======================================================== When you…

Read More “ORACLE_SID in sqlplus” »

Oracle, SQL scripts

compile_inv.sql

Posted on 02-Aug-2005 By Admin No Comments on compile_inv.sql

set pages 1000 spool compile_inv select ‘alter ‘ || object_type || ‘ ‘ || object_name || ‘ compile; ‘ from user_objects where status = ‘INVALID’; spool off

Oracle, SQL scripts

oracle_env_10g_CADEV

Posted on 02-Aug-2005 By Admin No Comments on oracle_env_10g_CADEV

ORACLE_SID=CADEV;export ORACLE_SID ORACLE_HOME=/oracle/app/oracle/product/10.1;export ORACLE_HOME ORACLE_BASE=/oracle/app/oracle;export ORACLE_BASE LD_LIBRARY_PATH=/oracle/app/oracle/product/10.1/lib;export LD_LIBRARY_PATH PATH=/oracle/app/oracle/product/10.1/bin:/usr/ccs/bin:/usr/X/bin:/usr/openwin/bin:/usr/bin/X11:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/bin:/usr/ucb:/usr/contrib/bin:/usr/local/bin:/usr/sbin:/usr/oracle/lib:/usr/proc/bin:/oracle/app/oracle/admin/shareplex/bin;export PATH ORA_NLS32=$ORACLE_HOME/ocommon/nls/admin/data;export ORA_NLS32 TNS_ADMIN=/oracle/app/oracle/product/10.1/network/admin;export TNS_ADMIN PFILE=/oracle/app/oracle/admin/CADEV/pfile;export PFILE UTL_DIR=/oracle/app/oracle/admin/CADEV/utl_dir;export UTL_DIR LOGS=/export/home/oracle/oraprocs/logs;export LOGS SCRIPTS=/export/home/oracle/oraprocs;export SCRIPTS ORAPROCS=/export/home/oracle/oraprocs;export ORAPROCS ORA_BDUMP=/oracle/app/oracle/admin/CADEV/bdump;export ORA_BDUMP ORA_CDUMP=/oracle/app/oracle/admin/CADEV/cdump;export ORA_CDUMP ORA_UDUMP=/oracle/app/oracle/admin/CADEV/udump;export ORA_UDUMP ORACLE_MAILING_LIST=”fdarwesh@1800flowers.com”;export ORACLE_MAILING_LIST NODENAME=`uname`;export NODENAME RPT=/export/home/oracle/projects/capacity/reports;export RPT BDUMP=/oracle/app/oracle/admin/CADEV/bdump;export BDUMP CDUMP=/oracle/app/oracle/admin/CADEV/cdump;export CDUMP UDUMP=/oracle/app/oracle/admin/CADEV/udump;export UDUMP EXPORT_BAK_DIR=/db7/export/backup;export EXPORT_BAK_DIR EXPORT_DIR=/db6/export/backup;export EXPORT_DIR

Linux/Unix, shell

Posts pagination

Previous 1 … 53 54 55 … 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
  • Temporary Tablespace Information and restriction. Oracle
  • Error Handling in Proc Oracle
  • setting prompt display with .profile Linux/Unix
  • This is from Temi Oracle
  • How to analyze statspack or AWR report. Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • Proc Compilation Oracle
  • send email from unix mailx with attachment. Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme