Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Goog notes on X$ tables Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Removing first line Linux/Unix
  • Debugging Shell FIles Linux/Unix
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • dbinv.sql Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • Import and export statements Oracle
  • To Find Orphan OS processes. Linux/Unix
  • Unix split command to split files Linux/Unix
  • Error Handling in Proc Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle

Category: 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

Changing unix system clock when Oracle database is running.

Posted on 01-Aug-2005 By Admin No Comments on Changing unix system clock when Oracle database is running.

Q: How does changing the system clock effect Oracle?? specifically, point in time recovery?? Is it different with V6 and Oracle7?? A: Changing the system clock should really have no effect on the Oracle kernel until it comes time to do time-based media recovery. Both in V6 and V7 there may be problems if you…

Read More “Changing unix system clock when Oracle database is running.” »

Oracle, SQL scripts

online_ts_bkup.sql

Posted on 29-Jul-2005 By Admin No Comments on online_ts_bkup.sql

set serveroutput on execute dbms_output.enable(20000); declare cursor c1 is select distinct tablespace_name from dba_data_files order by tablespace_name; cursor c3 is select name from v$controlfile order by name; cursor c4 is select member from v$logfile order by member; staging_copy_area varchar2(100) := ‘10.201.43.51:/uocdb1/oradata/CIF’; begin for cur in c1 loop dbms_output.put_line (‘alter tablespace ‘ || cur.tablespace_name || ‘…

Read More “online_ts_bkup.sql” »

Oracle, SQL scripts

arch_configUOCIOTTO.ora

Posted on 29-Jul-2005 By Admin No Comments on arch_configUOCIOTTO.ora

# # File – arch_configUOCIOTTO.ora # # Modification History – # log_archive_format = arch%t_%r_%s.arc log_archive_dest = /IOTTOARCH

Oracle, SQL scripts

configUOCIOTTO.ora

Posted on 29-Jul-2005 By Admin No Comments on configUOCIOTTO.ora

# # File – configUOCIOTTO.ora # # Modification History – # control_files=(/uocdb1/oradata/UOCIOTTO/controlUOCIOTTO_01.ctl, /uocdb2/oradata/UOCIOTTO/controlUOCIOTTO_02.ctl, /uocdb3/oradata/UOCIOTTO/controlUOCIOTTO_03.ctl) background_dump_dest=/opt/app/oracle/admin/UOCIOTTO/bdump core_dump_dest=/opt/app/oracle/admin/UOCIOTTO/cdump user_dump_dest=/opt/app/oracle/admin/UOCIOTTO/udump db_block_size = 8192 db_name = UOCIOTTO

Oracle, SQL scripts

initUOCIOTTO.ora

Posted on 29-Jul-2005 By Admin No Comments on initUOCIOTTO.ora

# # File – initUOCIOTTO.ora # Modification History – # ifile =/opt/app/oracle/admin/UOCIOTTO/pfile/configUOCIOTTO.ora ifile =/opt/app/oracle/admin/UOCIOTTO/pfile/arch_configUOCIOTTO.ora cursor_sharing=SIMILAR open_cursors=3000 session_cached_cursors=10 sga_target=1610612736 #sga_max_size=3145728000 db_cache_advice=OFF db_file_multiblock_read_count=8 db_files=500 db_writer_processes=1 disk_asynch_io=TRUE fast_start_mttr_target=0 pga_aggregate_target=848297984 log_buffer=5120000 open_links=10 optimizer_mode=FIRST_ROWS optimizer_dynamic_sampling=0 processes=2000 undo_management=AUTO undo_tablespace=UNDOTBS1 remote_login_passwordfile=EXCLUSIVE compatible=10.1.0.2.0 db_domain=” job_queue_processes=10 #—————————————————————

Oracle, SQL scripts

Jai Shree Ram

Posted on 29-Jul-2005 By Admin No Comments on Jai Shree Ram

God Bless All………..

Oracle, SQL scripts

Jai Shree Ram

Posted on 29-Jul-2005 By Admin No Comments on Jai Shree Ram

God Bless All………..

Oracle, SQL scripts

Jai Shree Ram

Posted on 29-Jul-2005 By Admin No Comments on Jai Shree Ram

This is the first entry of my notes. May God Bless All………….

Oracle, SQL scripts

Posts pagination

Previous 1 … 33 34 35 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
  • Implementation of key based authentications Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • SYSOPER Mystery Oracle
  • Implementing Listener Security Oracle
  • v$backup.status information Oracle
  • Find_table_size.sql Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme