Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • CPU speed on solaris Linux/Unix
  • create PLAN_TABLE command. Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • Goog notes on X$ tables Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • tab.sql Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Proc code Oracle
  • Rename Tablespace Oracle
  • fuser to check who is using diretory Linux/Unix
  • Rename Oracle Instance Name Oracle
  • Convert multiple rows to single column Oracle
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • move_arch_files.ksh Linux/Unix
  • find the files that are 1 day old. Linux/Unix

Year: 2026

prepfiles.sh for step by step generating pending statistics files

Posted on 10-Mar-202610-Mar-2026 By Admin No Comments on prepfiles.sh for step by step generating pending statistics files

This script, prepfiles.sh, is a powerful utility for Oracle Database Administrators designed to automate the generation of a comprehensive SQL toolkit for managing and testing database statistics. By reading a list of tables from mtx_tablelist.lst, the script creates a sequenced set of SQL files that handle the entire lifecycle of Pending Statistics. This allows DBAs to gather and validate new…

Read More “prepfiles.sh for step by step generating pending statistics files” »

Oracle, shell

tracksqltime.sql

Posted on 05-Mar-2026 By Admin No Comments on tracksqltime.sql

This PL/SQL block identifies recently active SQL queries from a specific application server and provides details on their performance and execution plans.  Here is a breakdown of what the script does:

Oracle, SQL scripts

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Handling LOB data in Oracle Oracle
  • Roles and Stored Procs II Oracle
  • Unix command for system configuration Linux/Unix
  • create database link syntax Oracle
  • ORA-01220 Oracle
  • Histogram Overview Oracle
  • RAC with RHEL4 and 11g Oracle
  • How to stop OCSSD Daemon Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme