Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Backup and Recovery Scenarios Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • Removing first line Linux/Unix
  • Read CSV file using PySpark Python/PySpark
  • oracle fast start failover best practice Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • Checking SQL Server Version SQL Server
  • exp syntax in oracle 10g Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • Oracle Statspack survival Guide Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • catall.sh Linux/Unix
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • create user with unlimited quota Oracle

Tutornet.US — Source of excellent learning

Posted on 14-Oct-2026 By Admin
Tutornet.US — Source of excellent learning

One-page flyer for Facebook and LinkedIn. Download the image to share.

Uncategorized

OCI Infrastructure Patching

Posted on 14-Oct-2026 By Admin
OCI Infrastructure Patching

Simplifying Quarterly Infrastructure Patching with Oracle Cloud Infrastructure (OCI) Exadata Cloud@Customer (EXACC) Introduction Maintaining a secure, high-performance Oracle Exadata Cloud@Customer (EXACC) environment requires regular patching to address security vulnerabilities, performance improvements, and bug fixes. Oracle’s Quarterly Infrastructure Patching ensures that your EXACC infrastructure remains up-to-date with the latest patches from Oracle. In this guide, we’ll…

Read More “OCI Infrastructure Patching” »

Uncategorized

Free API credits for AI models

Posted on 14-Oct-2026 By Admin

Maximizing Free AI API Credits: A Guide for Oracle Database Developers Artificial Intelligence (AI) and Machine Learning (ML) are transforming how we interact with databases, automate tasks, and derive insights from data. Many AI services offer free API credits to help developers experiment, prototype, and build applications without incurring immediate costs. If you’re an Oracle…

Read More “Free API credits for AI models” »

Uncategorized

AMC10

Posted on 20-Sep-202620-Sep-2026 By Admin
AMC10

Mastering AMC10 Geometry: Top 20 Questions to Sharpen Your Skills The AMC10 (American Mathematics Competition 10) is a prestigious contest designed to challenge high school students with problems that blend creativity, logic, and deep mathematical understanding. Among the problem types, geometry stands out for its ability to test spatial reasoning, proof-writing skills, and geometric intuition….

Read More “AMC10” »

Uncategorized

Key Management in Oracle: The Core Issue: Missing Master Key

Posted on 12-May-202612-May-2026 By Admin No Comments on Key Management in Oracle: The Core Issue: Missing Master Key

Here is the step-by-step summary of the issue and the resolution, including the exact commands used. 1. The Core Issue: Missing Master Key In an Oracle Cloud (OCI) environment, every Pluggable Database (PDB) must have its own “Master Encryption Key” stored in a secure file called a Wallet. When you tried to clone YOURPDB, the…

Read More “Key Management in Oracle: The Core Issue: Missing Master Key” »

Oracle

SAT Mathematics 10 questions and answer at the end.

Posted on 30-Apr-2026 By Admin

10 SAT Mathematics Practice Questions to Sharpen Your Skills Preparing for the SAT Mathematics section can feel overwhelming, but targeted practice is one of the most effective ways to build confidence and improve your score. Whether you’re reviewing algebra, problem-solving, or data analysis, working through realistic questions helps reinforce key concepts and familiarize you with…

Read More “SAT Mathematics 10 questions and answer at the end.” »

Uncategorized

top 10 AI news today

Posted on 30-Apr-2026 By Admin

Top 10 AI News Today: Oracle’s Latest Innovations and Industry Shifts Artificial intelligence continues to reshape industries at an unprecedented pace, with major players like Oracle leading the charge in enterprise AI solutions. From groundbreaking partnerships to cutting-edge product launches, today’s AI news highlights how businesses are leveraging AI to drive efficiency, innovation, and competitive…

Read More “top 10 AI news today” »

Uncategorized

runon_allpdbs_show_conname.sh

Posted on 23-Apr-2026 By Admin No Comments on runon_allpdbs_show_conname.sh
#!/usr/bin/bash

ORACLE_HOME=/u02/app/oracle/product/19.0.0.0/dbhome_1

for v_inst in `ps -ef| grep pmon | awk '{print $8}' | grep -iv asm | grep -iv apx | awk -F"_" '{print $3}'`
do

echo "Instance name = $v_inst"
export ORACLE_SID=$v_inst

# Fetch the list of PDBs (excluding the Seed PDB)
# We use -S (silent) to keep the output clean for the loop
PDB_LIST=$(sqlplus -S / as sysdba <<EOF
SET HEAD OFF FEEDBACK OFF PAGES 0
SELECT name FROM v\$pdbs WHERE name != 'PDB\$SEED';
EXIT;
EOF
)

echo "----------------------------------------------------"
echo "Iterating through PDBs for SID: $ORACLE_SID"
echo "----------------------------------------------------"

for PDB in $PDB_LIST
do
    echo "Checking PDB: $PDB"

    sqlplus -S / as sysdba <<EOF
    set lines 120 pages 200
    ALTER SESSION SET CONTAINER = $PDB;
    SHOW CON_NAME;
    EXIT;
EOF
    echo "----------------------------------------------------"
done


done
Oracle, SQL scripts

runon_allcdbs_find_pdbs.sh

Posted on 23-Apr-202610-Jun-2026 By Admin No Comments on runon_allcdbs_find_pdbs.sh
#!/usr/bin/bash
ORACLE_BASE=/u02/app/oracle
ORACLE_HOME=/u02/app/oracle/product/19.0.0.0/dbhome_1
LOGNAME=runon_all_localdb_$$.log

for v_inst in `ps -ef| grep pmon | awk '{print $8}' | grep -iv asm | grep -iv apx | awk -F"_" '{print $3}'`
do
 echo "Instance name = $v_inst"
 export ORACLE_SID=$v_inst
 $ORACLE_HOME/bin/sqlplus "/ as sysdba" << EOF >> ${LOGNAME}
 show user
 set echo off
 set numwidth 9
 set linesize 132
 set pagesize 300
 set feedback off
 set verify off
 set time off
 set timing off
 --select * from v\$instance;
 @/u02/scripts/paresh/find_pdbs.sql
 --select PROPERTY_VALUE from database_properties where PROPERTY_NAME='DEFAULT_TEMP_TABLESPACE';
EOF
done

cat ${LOGNAME}

rm ${LOGNAME}
Linux/Unix, Oracle, shell

Running PDB on single node in RAC

Posted on 09-Apr-2026 By Admin

Configuring a PDB to Listen on a Specific RAC Node in Oracle Database In Oracle Real Application Clusters (RAC) environments, you may need to restrict a Pluggable Database (PDB) to run on specific nodes. Here’s how to configure PDB MYPDB to listen only on node1: Step-by-Step Configuration 1. Configure the PDB State on Node 1…

Read More “Running PDB on single node in RAC” »

Oracle, RAC, SQL scripts

Posts pagination

1 2 … 59 Next

Categories

  • AMC10 (0)
  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (9)
  • Videos (0)

Recent Posts

  • Tutornet.US — Source of excellent learning14-Oct-2026
  • OCI Infrastructure Patching14-Oct-2026
  • Free API credits for AI models14-Oct-2026
  • AMC1020-Sep-2026
  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ipcs -l Linux/Unix
  • Giving Grant on v$DATABASE Oracle
  • sesswait.sql Oracle
  • find_encr_wallet.sql Uncategorized
  • How to calculate PROCESSES parameter Oracle
  • Find all users who have DML privileges Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • Wait Based Tuning Step by step with SQL statement Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme