Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • UNderstand and eliminate Latch contention. Oracle
  • oracle 10g on linux Linux/Unix
  • Paste command syntax Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • How to know current SID Oracle
  • When to rebuld B-tree index Oracle
  • Find_table_size.sql Oracle
  • Import and export statements Oracle
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • Some useful Unix Commands Linux/Unix

Tag: Get session information

ENQ: KO – FAST OBJECT CHECKPOINT tips

Posted on 25-May-202325-May-2023 By Admin No Comments on ENQ: KO – FAST OBJECT CHECKPOINT tips

On reporting queries, there are too many “enq: KO – fast object checkpoint” wait event. All reporting queries are doing full table scans concurrently. Oracle uses direct path reads instead of db file scattered reads. And direct path reads require a checkpoint “_serial_direct_read”=NEVER Parameter Session Value Instance Value ————————————————– —————————— —————————— _serial_direct_read auto auto

Oracle

GSQ.sql

Posted on 19-May-202325-May-2023 By Admin No Comments on GSQ.sql

This SQL will be used to identify SQL details of given Session. You need to pass SID and INSTANCE_ID as INPUT. This query will provide session details, SQL_ID, SQL_EXEC_START time and other transaction level details. set echo off feedback off verify offcol Transaction_id format a20col username format a8col days format 99.99col hours1 format 999999col TX_HRS…

Read More “GSQ.sql” »

Oracle, SQL scripts

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • Oracle Statspack survival Guide Oracle
  • How to find where datafile is created dbf_info.sql Oracle
  • PLSQL Table Syntax 1 Oracle
  • Monitor Long Running Job Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme