Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • ORACLE_SID in sqlplus Oracle
  • replace alphabets using sed Linux/Unix
  • Convert multiple rows to single column Oracle
  • Jai Shree Ram Oracle
  • plan10g.sql good Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Space padding in korn shell Linux/Unix
  • Restoring a user’s original password 1051962.101 Oracle
  • Jai Shree Ram Oracle
  • Find All internal Parameters Oracle
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • Logic to chech # of parameters command line parameters Linux/Unix
  • Jai Shree Ram Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix

Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry

Posted on 22-Feb-2006 By Admin No Comments on Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry

Follwing is the script for manually gathering Stats using DBMS_STATS.

Execution will be like

./analyze_schema.ksh /oracle/app/oracle/oraprocs/ora_SID.env CIF

– Script Start

#!/usr/bin/ksh

########## Configuration #############

ENV_FILE=$1

SCHEMA_NAME=$2

Oracle, SQL scripts

Post navigation

Previous Post: Disbaling DBA_SCHEDULER_JOBS
Next Post: avail.sh ( find filesystem spae usage)

Related Posts

  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • initUOCIOTTO.ora Oracle
  • JSON/XML Types in Oracle Oracle
  • good note for shared pool tunnig Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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
  • TRUNCATE table and disabling referential constraints. Oracle
  • Find total file sizes Linux/Unix
  • Wait.sql Oracle
  • Error Handling in Proc Oracle
  • oracle 11g RAC on vmware Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • How to find where datafile is created dbf_info.sql Oracle
  • switchover for primary database Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme