Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • checking redhat linux version Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • newupload.html PHP/MYSQL/Wordpress
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • Resolving RMAN Hung Jobs Oracle
  • To Find Orphan OS processes. Linux/Unix
  • logminer and my_lbu Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • plan10g.sql good1 Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • New OFA for 11g Oracle
  • Zip and unzip with tar Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • good linux notes 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 (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
  • Find sort details from Db find_sort.sql Oracle
  • get_vmstat_solaris Oracle
  • Convert multiple rows to single column Oracle
  • How to set Processes Parameter Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • v$event_name Oracle
  • Pending Transaction Neighbors Script Oracle
  • Finding locked objects Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme