Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Paste command syntax Linux/Unix
  • Drop tempfiles from database Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • Reading config file from other folder inside class Python/PySpark
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • Insert cause enqueue locks Oracle
  • cp_filesystem.sql Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • ext#.sql Oracle
  • CPU speed on solaris Linux/Unix
  • cif crons Linux/Unix
  • kill all processes from specific user in solaris. 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

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

Recent Posts

  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ext#.sql Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • create trigger syntax Oracle
  • Find Command Linux/Unix
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • move_arch_files.ksh Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme