Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • scripts to take listener.log backup Linux/Unix
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • good linux notes Linux/Unix
  • tblwopk.sql tablewopk.sql Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • Sort with ASCII order and Numeric Order Linux/Unix
  • import-export with multiple files Oracle
  • setting prompt display with .profile Linux/Unix
  • myfile Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • Import and export statements Oracle
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • Oracle 10g Wait Model Oracle
  • oracle 10g on linux Linux/Unix

Year: 2006

Vivek’s egrep commands to trace problem. (on linux x86-64)

Posted on 13-Sep-2006 By Admin No Comments on Vivek’s egrep commands to trace problem. (on linux x86-64)

dbaltxprod51->WEBP18F@(/oracle/app/oracle/admin/WEBP18F/bdump/BACKUP)egrep -i “INSERT” /tmp/v1aa|awk -F”trc” ‘{print $2}’|sort |uniq -c dbaltxprod51->WEBP18F@(/oracle/app/oracle/admin/WEBP18F/bdump/BACKUP)egrep -i “Select” /tmp/v1aa|awk -F””trc ‘{print $2}’|sort |uniq -c|sort -nr dbaltxprod51->WEBP18F@(/oracle/app/oracle/admin/WEBP18F/bdump/BACKUP)egrep -i “Select” /tmp/v1aa|awk -F”:” ‘{print $2}’|sort |uniq -c|sort -nr dbaltxprod51->WEBP18F@(/oracle/app/oracle/admin/WEBP18F/bdump/BACKUP)egrep -i “Select” /tmp/v1aa|awk ‘{print $2}’|more|sort |uniq -c dbaltxprod51->WEBP18F@(/oracle/app/oracle/admin/WEBP18F/bdump/BACKUP)egrep -i “Delete” /tmp/v1aa|awk ‘{print $2}’|more|sort |uniq -c dbaltxprod51->WEBP18F@(/oracle/app/oracle/admin/WEBP18F/bdump/BACKUP)egrep -i “Update” /tmp/v1aa|awk ‘{print $2}’|more|sort |uniq -c dbaltxprod51->WEBP18F@(/oracle/app/oracle/admin/WEBP18F/bdump/BACKUP) dbaltxprod51->WEBP18F@(/oracle/app/oracle/admin/WEBP18F/bdump/BACKUP)egrep…

Read More “Vivek’s egrep commands to trace problem. (on linux x86-64)” »

Linux/Unix, shell

mutex in Oracle 10.2.0.2 or Oracle 10g

Posted on 13-Sep-2006 By Admin No Comments on mutex in Oracle 10.2.0.2 or Oracle 10g

######### # _kks_use_mutex_pin # # Enables use of more efficient mutex mechanism for # implementing library cache pins. # ######### _kks_use_mutex_pin=TRUE Apparently, Oracle is migrating some of its serialization protection from latches to mutexes. For example, the structures previously protected by the Library Cache Pin latch are now protected by a mutex and evidenced by…

Read More “mutex in Oracle 10.2.0.2 or Oracle 10g” »

Oracle, SQL scripts

tuning commmand for cpu, ip and memory stats

Posted on 12-Sep-2006 By Admin No Comments on tuning commmand for cpu, ip and memory stats

SQL> !mpstat Linux 2.6.9-34.ELsmp (dbaltxprod51) 09/12/2006 05:45:41 PM CPU %user %nice %system %iowait %irq %soft %idle intr/s 05:45:41 PM all 1.34 0.00 4.17 0.47 0.02 0.11 93.89 1413.67 SQL> !vmstat procs ———–memory———- —swap– —–io—- –system– —-cpu—- r b swpd free buff cache si so bi bo in cs us sy id wa 7 0 86476…

Read More “tuning commmand for cpu, ip and memory stats” »

Linux/Unix, shell

oracle 10g on linux

Posted on 12-Sep-2006 By Admin No Comments on oracle 10g on linux

http://www.dbspecialists.com/presentations/oracle10glinux.html

Linux/Unix, shell

Linux CPU info.

Posted on 12-Sep-2006 By Admin No Comments on Linux CPU info.

The following commands can be used to identify the processor architecture on your database server: $ uname -m $ grep “model name” /proc/cpuinfo

Linux/Unix, shell

ipcs -l

Posted on 12-Sep-2006 By Admin No Comments on ipcs -l

dbaltxprod51->WEBP18F@(/home/oracle/paresh)ipcs -l —— Shared Memory Limits ——– max number of segments = 4096 max seg size (kbytes) = 4002706 max total shared memory (kbytes) = 8388608 min seg size (bytes) = 1 —— Semaphore Limits ——– max number of arrays = 128 max semaphores per array = 250 max semaphores system wide = 32000 max…

Read More “ipcs -l” »

Linux/Unix, shell

Renaming Global Name GLOBAL_NAME

Posted on 06-Sep-2006 By Admin No Comments on Renaming Global Name GLOBAL_NAME

Problem: ——– I cannot create a db_link on my database that does not have the fuly qualified domain.name. eg. if I create a db_link called fred as follows: create database link fred connect to ITU604SP4B identified by using ‘sup9206_hippo’ a link called fred.intec.co.za is created, I just want fred. I have set global_names= FALSE db_domain=””…

Read More “Renaming Global Name GLOBAL_NAME” »

Oracle, SQL scripts

Kernel Parameter setting explaination for Processes Parameter

Posted on 31-Aug-2006 By Admin No Comments on Kernel Parameter setting explaination for Processes Parameter

SHMMAX = The maximum size(in bytes) of a single shared memory segment. SHMMIN = The minimum size(in bytes) of a single shared memory segment. The above settings let the max be bigger then we wil ever use and the min much smaller. They are sufficient for pretty much all systems. SHMMNI = The number of…

Read More “Kernel Parameter setting explaination for Processes Parameter” »

Linux/Unix, shell

sbind.sql Find Bind variable from sql_id sqlid

Posted on 30-Aug-2006 By Admin No Comments on sbind.sql Find Bind variable from sql_id sqlid

column name format a10 column position format 99 column datatype_string format a20 column value_string format a50 set lines 120 pages 200 select sql_id, name, position, datatype_string, value_string from v$sql_bind_capture where sql_id = ‘&sql_id’ /

Oracle, SQL scripts

How to know current SID

Posted on 30-Aug-2006 By Admin No Comments on How to know current SID

SQL> select distinct sid from v$mystat; SID ———- 1365

Oracle, SQL scripts

Posts pagination

Previous 1 2 3 4 … 11 Next

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
  • Sample WW22 listener.ora Oracle
  • Zip and unzip with tar Linux/Unix
  • All About Trace Fils Oracle
  • To see mem usage and CPU usage system wide. Linux/Unix
  • Find nth max and min. Oracle
  • Very clear article about oracle dataguard Oracle
  • V$ROLLSTAT status is Full Oracle
  • findobj.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme