Tuanlp.com
  • Oracle
    • Backup&Recovery
    • Rac
    • Dataguard
    • Performance Tuning
    • Troubleshoot
  • PostgreSQL
  • MySQL
  • SQL Server
  • Data Science
    • Tableau
    • Power BI
  • Linux
    • VMware
  • Other
  • Courses
  • OraclePerformance Tuning

    Find user commits per minute in oracle DB

    by tuanlp September 27, 2023
    by tuanlp September 27, 2023

     How to find the maximum user doing commit operation or transaction in Oracle DB Script helpful in tracking the number of transactions in the database. Note: It used the AWR …

  • OraclePerformance Tuning

    Find active transactions in oracle database

    by tuanlp September 27, 2023
    by tuanlp September 27, 2023

    Find active transactions in oracle database Script can be used to find the active transactions. col name format a10 col username format a8 col osuser format a8 col start_time format a17 …

  • OraclePerformance TuningRac

    How to monitor ASM disk usage in Oracle

    by tuanlp September 27, 2023
    by tuanlp September 27, 2023

     Script to monitor the ASM disk usage in Oracle The following disk gives you an idea of the Total size, used size, and percentage of space used. SET LINESIZE 150 …

  • DataguardOracle

    Script to monitor lag in standby database in Oracle

    by tuanlp September 27, 2023
    by tuanlp September 27, 2023

    Monitor lag in standby database using dgmgrl Script to monitor lag in standby database and send mail. #!/bin/bash export ORACLE_HOME=/u02/app/oracle/product/12.1.0/dbhome_1 export ORACLE_SID=primdb export PATH=$ORACLE_HOME/bin:$PATH echo -e “show database stydb”|${ORACLE_HOME}/bin/dgmgrl sys/orcl1234 …

  • OraclePerformance Tuning

    Script to monitor parallel queries in oracle database

    by tuanlp September 27, 2023
    by tuanlp September 27, 2023

    Monitor parallel queries running in Oracle Database Query to monitor currently running queries with parallel option: select s.inst_id, decode(px.qcinst_id,NULL,s.username, ‘ – ‘||lower(substr(s.program,length(s.program)-4,4) ) ) “Username”, decode(px.qcinst_id,NULL, ‘QC’, ‘(Slave)’) “QC/Slave” , …

  • OraclePerformance Tuning

    Check execution time and plan for SQL ID in Oracle

    by tuanlp September 27, 2023
    by tuanlp September 27, 2023

    Check execution time and plan for SQL ID from the history table in Oracle dba_hist_active_sess_history table is used to fetch the information about SQL id set linesize 150 col exec_start …

  • OraclePerformance Tuning

    Check the Memory used by Oracle

    by tuanlp September 27, 2023
    by tuanlp September 27, 2023

    Check the Memory usage used by Oracle from Operating System Check the SGA_TARGET and PGA_TARGET size : SQL> select sum(value)/1024/1024/1024 from v$parameter where name in (‘sga_target’,’pga_aggregate_target’); SUM(VALUE)/1024/1024/1024 ————————- 1.5 If …

  • OraclePerformance Tuning

    Check maximum query duration in Oracle

    by tuanlp September 27, 2023
    by tuanlp September 27, 2023

     Check maximum query duration in Oracle for undo retention setting Check the maximum query duration in Oracle: SQL> select max(maxquerylen) from v$UNDOSTAT; SQL> select max(maxquerylen) from DBA_HIST_UNDOSTAT; Set the undo …

  • 1
  • …
  • 23
  • 24
  • 25
  • 26
  • 27
  • …
  • 37

About Me

About Me

Freelance Sys Admins

My name is Tuanlp, freelance Sys Admins in HaNoi, VietNam. Welcome to my internet journal where I started my learning journey.

Popular Posts

  • SQL message: ORA-00600: internal error code, arguments: [kdsgrp1], [], [],

    October 2, 2023
  • Tìm kiếm file và thư mục theo dung lượng

    October 1, 2023
  • Oracle Client: INS-32025: The chosen installation conflicts with software already installed in the given Oracle home

    October 1, 2023
  • Buffer busy wait in Statspack report Oracle

    September 25, 2023
  • How to install Mattermost on RHEL 8

    November 3, 2023

Categories

MySQL (1) Ubuntu (2) Uncategorized (2) SQL Server (2) Other (4) Monitoring (5) Windows (5) VMware (9) Backup&Recovery (13) Rac (14) Web Application (16) AlmaLinux (21) PostgreSQL (21) Dataguard (27) Linux (33) Performance Tuning (39) Troubleshoot (77) Oracle (180)
  • Home
  • Downloads
  • Privacy Policy
  • Contact

@2023 - All Right Reserved. Designed and Developed by Tuanlp