Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • database trigger failing Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • secure crt settings Linux/Unix
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • Proc code Oracle
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Good RAC & Standby Notes Oracle
  • Rename Oracle Instance Name Oracle
  • switchover for primary database Oracle
  • Find sort details from Db find_sort.sql Oracle
  • Error Handling in Proc Oracle
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • Find_table_size.sql Oracle
  • find_err.sql for finding errors from dba_errors. Oracle

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

  • sql_plan9i.sql Oracle
  • Jai Shree Ram Oracle
  • TRUNCATE Privs Oracle
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • DBMS_JOB all example Oracle

Leave a Reply Cancel reply

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

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
  • Kernel Parameters for Solaris Linux/Unix
  • Optimizer_Index init.ora parameter explaination. Oracle
  • How to stop OCSSD Daemon Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • how to find OS block size Oracle
  • Some OS level threshold for performance. Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme