Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • Checking SQL Server Version SQL Server
  • How to sort list of files on basis of their sizes. Linux/Unix
  • SQLPLUS COPY command Precautions. Oracle
  • Parallel DML Oracle
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • find the files that are 1 day old. Linux/Unix
  • Find_table_size.sql Oracle
  • Check Oracle installed products using one command Oracle
  • Oracle Data Direct to TAPE Oracle
  • v$backup.status information Oracle
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • How do I get Oracle to automatically start when my server boots up? Oracle

find_arc.sql

Posted on 09-Apr-2026 By Admin

Monitoring Oracle Archive Logs: A Quick Guide As an Oracle DBA, keeping a close eye on your archived redo logs is crucial for maintaining database health and ensuring smooth recovery operations. Today, I’ll share a simple yet powerful script that helps you monitor your archive logs effectively. The Power of v$archived_log The v$archived_log view is…

Read More “find_arc.sql” »

Oracle, SQL scripts

pvm_pre_change.sql

Posted on 08-Apr-2026 By Admin

Automating Oracle Invalid Object Recompilation: A Practical Script As Oracle DBAs, we frequently encounter situations where database objects become invalid after patches, upgrades, or schema changes. Manually recompiling these objects can be time-consuming, especially in large databases. Today I’ll share a practical script that automates the generation of recompilation commands for all invalid objects in…

Read More “pvm_pre_change.sql” »

Oracle, SQL scripts

find_encr_wallet.sql

Posted on 08-Apr-2026 By Admin

Managing Oracle Database Wallets: A Quick Guide Oracle Database provides robust security features to protect sensitive data, and one of the key components in this security framework is the Oracle Wallet. The wallet is a secure container used to store encryption keys, credentials, and certificates, ensuring that sensitive information is protected from unauthorized access. In…

Read More “find_encr_wallet.sql” »

Uncategorized

find_pdbs.sql

Posted on 08-Apr-2026 By Admin

Understanding Oracle Multitenant: Querying PDB Status Across Instances As an Oracle DBA working with Container Databases (CDBs), one of the most common tasks is checking the status of your Pluggable Databases (PDBs). Today I’ll share a useful script that provides a comprehensive view of all PDBs across all instances in your Oracle RAC environment. The…

Read More “find_pdbs.sql” »

Uncategorized

Creating a Container Database using dbaascli

Posted on 08-Apr-2026 By Admin

Creating a Container Database (CDB) in Oracle Database Cloud Service Using dbaascli As a database administrator working with Oracle Database Cloud Service (DBCS), you have powerful command-line tools at your disposal. One of these is dbaascli, which allows you to perform various database operations directly from the server. Today, I’ll walk you through creating a…

Read More “Creating a Container Database using dbaascli” »

Uncategorized

track_autoupgrade_copy_progress.sql

Posted on 01-Apr-202601-Apr-2026 By Admin No Comments on track_autoupgrade_copy_progress.sql

This script will be useful for tracking progress of GBS copied to Target system. Need to execute it on Target system.

Oracle, SQL scripts

refre.sql for multitenant

Posted on 01-Apr-2026 By Admin No Comments on refre.sql for multitenant

This will provide prompt with session details.

Oracle, SQL scripts

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

Complete Git Tutorial for Beginners

Posted on 25-Dec-202525-Dec-2025 By Admin No Comments on Complete Git Tutorial for Beginners

🎯 Table of Contents 🤔 What is Git? Git is a version control system – think of it as a time machine for your code! Real-World Analogy Imagine you’re writing a book: Why Use Git? ✅ Track Changes: See what changed and when✅ Collaborate: Multiple people can work on the same project✅ Backup: Your code is saved on GitHub (cloud)✅ Undo Mistakes:…

Read More “Complete Git Tutorial for Beginners” »

GIT

Posts pagination

1 2 … 58 Next

Categories

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

Recent Posts

  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • find the files that are 1 day old. Linux/Unix
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • Goldengate document from Porus Oracle
  • good linux notes Linux/Unix
  • Oracle Data Direct to TAPE Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • sid_wise_sql.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme