Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Absolute file number and relative file number Oracle
  • Jai Shree Ram Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • fuser to check who is using diretory Linux/Unix
  • configUOCIOTTO.ora Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • shutdown linux Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • RAC 11g with vmware Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix

Category: Oracle

Explain Plan Output 2

Posted on 02-Aug-2005 By Admin No Comments on Explain Plan Output 2

set markup html preformat on Rem Rem Use the display table function from the dbms_xplan package to display the last Rem explain plan. Force serial option for backward compatibility Rem select plan_table_output from table(dbms_xplan.display(‘plan_table’,null,’serial’));

Oracle, SQL scripts

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

Posts pagination

Previous 1 … 37 38 39 40 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
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • Flowers Resize datafiles Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • exp syntax in oracle 10g Oracle
  • crontab syntax Linux/Unix
  • import-export with multiple files Oracle
  • lck.sql Oracle
  • All About Trace Fils Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme