Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • Default User Profile Oracle
  • checking redhat linux version Linux/Unix
  • Find total file sizes Linux/Unix
  • online_ts_bkup.sql Oracle
  • Find Plan Hash value fphv.sql Oracle
  • Locktree.sql Oracle
  • Small sample shell program Linux/Unix
  • SQLPLUS COPY command Precautions. Oracle
  • replace alphabets using sed Linux/Unix
  • proper cpu stats Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • Flowers Resize datafiles Oracle
  • good note for shared pool tunnig Oracle
  • Unix split command to split files Linux/Unix

standard Monitoring – 1

Posted on 04-Jun-2008 By Admin No Comments on standard Monitoring – 1

ALL DB = Primary + DR databases.

-> Implement checkfile concept so script will not page for planned maitenance.

(1) Connect and update all Primary db for hang check.

(2) Check for pmon for all db.

(3) Check Alert log for ORA error for Primary database.

(4) Purge Alert log of Primary and keep backup for last 15 days.

(5) Nullify listener.log of Primary every Month/15days/week.

(6) Switch logfile for each Primary for every 15 mins.

(7) Purge old archlog file that is 1 week old. ( This needs to check for the logs must be applied on all DR boxes, Else Page Immediately)

(8) Purge old acrhfile based on threshold. ( This needs to check for the logs must be applied on all DR boxes, Else Page Immediately)

(9) Check for space on all segments in the databases.

(10) Check for MAXEXTENTS reached in all databases.

(11) Copy the listener.ora / tnsnames.ora from Primary to its DRs whenever any changes done.

(12) Do tnsping on all database link from Primary and its DRs.

(13) Run Autorecovery for all DRs.

(14) Check recovery for all DRs.

(15) Purge all tracefiles for every week.

(16) Check all .err files in $SCRIPTS/log folder for any kind of Errors and page if that box is production.

(17) Copy arch files from Primary to DR.

(18) Copy all crontabs for all production server.

(19) Implement checkfile concept. So this scripts will not page when there will be a planned maintenance.

(20) Preserve the backup of all monitoring scripts. (Weekly or manually).

(21) Check for consistent locks in the databases and email it periodically of locks are held for some threshold time.

(22) Query on vmstat output to see if there is any CPY hike that crossed certain thereshold.

(23) For JDBC based applications, monitor open_cursors count from V$sysstat for databases.

(24) Validate standby for any NOLOGGING operations done on Priduction.

For statistics gathering:

(1) Run vmstat on each server to collect stats for every 5 mins.

(2) Check statspack/awr is running for 9i/10g instances.

Other periodic tasks

(1) Analyze weekly.

Thanks & Regards

Paresh Mehta

Oracle, SQL scripts

Post navigation

Previous Post: Zip and unzip with tar
Next Post: ORA-00064: object is too large to allocate on this O/S during startup

Related Posts

  • Oracle 10g Wait Model Oracle
  • alter database backup controlfile to trace Oracle
  • Free conference number from http://www.freeconference.com Oracle
  • CPU Core related projections AWS
  • Changing unix system clock when Oracle database is running. Oracle
  • Remove duplicate rows from table 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 (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • Virtual Indexes in Oracle Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • Unix split command to split files Linux/Unix
  • ext#.sql Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • Transfer SQL Profiles from One database to other database. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme