Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Zip and unzip with tar Linux/Unix
  • to see when crontab is changed. Linux/Unix
  • Add new columns in dataframe Python/PySpark
  • To see only files and/or folders using LS command Linux/Unix
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • restarting network in linux Linux/Unix
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • When to rebuld B-tree index Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • replace alphabets using sed Linux/Unix
  • Identical Dblink Issue… Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • Single character replacement in Unix Linux/Unix
  • AWR settings- MMON is not taking snapshot. Oracle

Distributed Transaction Troubleshooting.

Posted on 08-Feb-2010 By Admin No Comments on Distributed Transaction Troubleshooting.

SQL> select * from sys.pending_trans$ where local_tran_id = ‘26.2.2712168’; no rows selected SQL> select * from sys.pending_sessions$ where local_tran_id = ‘26.2.2712168’; no rows selected SQL> select * from sys.pending_sub_sessions$ where local_tran_id = ‘26.2.2712168’; no rows selected SQL> select * from dba_2pc_neighbors; no rows selected SQL> select * from dba_2pc_pending; no rows selected SQL> commit force…

Read More “Distributed Transaction Troubleshooting.” »

Oracle, SQL scripts

Deleting first line and lastline of a file using sed

Posted on 04-Feb-2010 By Admin No Comments on Deleting first line and lastline of a file using sed

Delete last line of a file. =========================== sed ‘$d’ < input_file > output_file Delete First line of a file. ============================ sed ‘1d’ input_file > output_file

Linux/Unix, shell

Pending Transaction Neighbors Script

Posted on 03-Feb-2010 By Admin No Comments on Pending Transaction Neighbors Script

COL LOCAL_TRAN_ID FORMAT A13 COL IN_OUT FORMAT A6 COL DATABASE FORMAT A25 COL DBUSER_OWNER FORMAT A15 COL INTERFACE FORMAT A3 SELECT LOCAL_TRAN_ID, IN_OUT, DATABASE, DBUSER_OWNER, INTERFACE FROM DBA_2PC_NEIGHBORS / SQL> CONNECT SYS@hq.acme.com AS SYSDBA SQL> @neighbors_script LOCAL_TRAN_ID IN_OUT DATABASE DBUSER_OWNER INT ————- —— ————————- ————— — 1.15.870 out SALES.ACME.COM SYS C

Oracle, SQL scripts

Pending Distributed Transations

Posted on 03-Feb-2010 By Admin No Comments on Pending Distributed Transations

COL LOCAL_TRAN_ID FORMAT A13 COL GLOBAL_TRAN_ID FORMAT A30 COL STATE FORMAT A8 COL MIXED FORMAT A3 COL HOST FORMAT A10 COL COMMIT# FORMAT A10 SELECT LOCAL_TRAN_ID, GLOBAL_TRAN_ID, STATE, MIXED, HOST, COMMIT# FROM DBA_2PC_PENDING /

Oracle, SQL scripts

Good Oracle Architecture In Short and point to point

Posted on 02-Feb-2010 By Admin No Comments on Good Oracle Architecture In Short and point to point

http://www.toadworld.com/KNOWLEDGE/KnowledgeXpertforOracle/tabid/648/TopicID/2471975d4f31c8aa/Default.aspx

Oracle, SQL scripts

Adding a new disk and mount it automatically. on VMWARE LINUX

Posted on 30-Jan-2010 By Admin No Comments on Adding a new disk and mount it automatically. on VMWARE LINUX

Adding a new disk and mount it automatically. Step-1 Add virtual disk to vmware server. ========================================= Step-2 Bounce the box ========================================= Step-3 Make sure the new hard drive should be identified by your linux box. ========================================= As following example, you can see I added /dev/sdc worth of 20GB. [root@oem ~]# fdisk -l Disk /dev/sda: 10.7…

Read More “Adding a new disk and mount it automatically. on VMWARE LINUX” »

Linux/Unix, shell

sqlnet.ora paramters

Posted on 30-Jan-2010 By Admin No Comments on sqlnet.ora paramters

-Default order of NAMES. DIRECTORY_PATH is TNSNAMES, OID, HOSTNAME in sqlnet.ora. -EZCONNECT is available after 10g onwards. -Make sure Names.default_domain is set property to avoid any kind of client connectivity issues.

Oracle, SQL scripts

TNSNAMES entries details

Posted on 30-Jan-2010 By Admin No Comments on TNSNAMES entries details

Option: Try each address, in order, until one succeeds ( Failover only). By default failover=true if you have more than one entry in address list. ============================================================================= MEHTA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = NYBOX)(PORT = 1555)) (ADDRESS = (PROTOCOL = TCP)(HOST = FLBOX)(PORT = 1600)) ) (CONNECT_DATA = (SERVICE_NAME =…

Read More “TNSNAMES entries details” »

Oracle, SQL scripts

Oracle 11g Training on 29JAN1010

Posted on 29-Jan-2010 By Admin No Comments on Oracle 11g Training on 29JAN1010

-SERVICE_NAMES = INSTANCE_NAME + DB_DOMAIN -GLOBAL DATABASE NAME should be same as SERVICE_NAMES -If system ts is LMT then temporary tablespace is required. -if system ts is lmt then no dmt can be created in db. -When system ts is LMT then undo tbs is also must. -1 tbs can have max 1022 dbfs. -1…

Read More “Oracle 11g Training on 29JAN1010” »

Oracle, SQL scripts

Very clear article about oracle dataguard

Posted on 29-Jan-2010 By Admin No Comments on Very clear article about oracle dataguard

http://www.dbazine.com/oracle/or-articles/liu4

Oracle, rman-dataguard

Posts pagination

Previous 1 … 8 9 10 … 57 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
  • Pending Transaction Neighbors Script Oracle
  • move_arch_files.ksh Linux/Unix
  • crontab syntax Linux/Unix
  • New OFA for 11g Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • Ports used by Oracle Software Oracle
  • Optimizer SORT Operations Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme