Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • Oracle 11g Environment Setup Oracle
  • replace alphabets using sed Linux/Unix
  • crontab syntax Linux/Unix
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • how to find VIP from ifconfig Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • UTL_FILE test program Oracle
  • db_status.sql Oracle

database trigger failing

Posted on 27-May-2009 By Admin No Comments on database trigger failing

Normal triggering events doesn’t succeed when corresponding triggers fails. But there is EXCEPTION for STARTUP events: STARTUP events succeed even if the trigger fails. There are also exceptions for SHUTDOWN events and for LOGON events if you login as SYSTEM

Oracle, SQL scripts

How can I tell if ASO is installed ?

Posted on 26-May-2009 By Admin No Comments on How can I tell if ASO is installed ?

Advanced Security Options. On a UNIX platform run the ‘adapters’ command at the shell. If you have ASO installed you will see something like, Installed Oracle Advanced Security option/Security products are: RC4 40-bit encryption algorithm RC4 56-bit encryption algorithm DES40 40-bit encryption algorithm DES 56-bit encryption algorithm MD5 crypto-checksumming algorithm On Windows you will need…

Read More “How can I tell if ASO is installed ?” »

Oracle, SQL scripts

All About oracle password and security from metalink

Posted on 26-May-2009 By Admin No Comments on All About oracle password and security from metalink

Help In this Document Purpose Scope and Application All About Security: User, Privilege, Role, SYSDBA, O/S Authentication, Audit, Encryption, OLS, Database Vault, Audit Vault 1) Alerts 2) System Privileges 3) Object Privileges 4) Users and Roles 5) User and Tablespace Quotas 6) Profiles and Resource Limits 7) Password Management 8) Connect Internal and Password Files…

Read More “All About oracle password and security from metalink” »

Oracle, SQL scripts

How To Transfer Passwords Between Databases (ref note: 199582.1)

Posted on 22-May-2009 By Admin No Comments on How To Transfer Passwords Between Databases (ref note: 199582.1)

fix: 1) Log on as SYSDBA 2) Create database link between source and target database 3) Create procedure which selects usernames,passwords from DBA_USERS in source database and inserts usernames,passwords into target database Sample SQL-statements source database: SQL> select password from dba_users where username=’SCOTT’; USERNAME PASSWORD —————————— —————— SCOTT F894844C34402B67 target database: Sqlplus> Create user SCOTT…

Read More “How To Transfer Passwords Between Databases (ref note: 199582.1)” »

Oracle, SQL scripts

note id 373303.1

Posted on 22-May-2009 By Admin No Comments on note id 373303.1

find the runnung process’s environment

Linux/Unix, shell

Which environment is used by currently running process ( Very good)

Posted on 22-May-2009 By Admin No Comments on Which environment is used by currently running process ( Very good)

Goal After a process has been started, in order to find out the environment that was used to start it, the following methods can be used, depending on the OS platform: Solution 1. Determine the pid of the process at OS level, eg for the smon process: ps -ef | grep smon 2. Get the…

Read More “Which environment is used by currently running process ( Very good)” »

Linux/Unix, shell

Recovering lost SYS password

Posted on 22-May-2009 By Admin No Comments on Recovering lost SYS password

Recovering from lost sys password using OS authentication on Unix. #1. make sure that the OS user that is logged on is member of the dba group. If the dba group is not known, check the file: $ORACLE_HOME/rdbms/lib/config.c (or config.s) #2. make sure that the sqlnet.ora file does not contain the: sqlnet.authentication_services parameter. If this…

Read More “Recovering lost SYS password” »

Oracle, SQL scripts

tar and untar a dolder with all its subfolder.

Posted on 19-May-2009 By Admin No Comments on tar and untar a dolder with all its subfolder.

Following command will be used for Tarring/copying local files and untarring/extracting at target folder. $ tar cf – * | ( cd /target; tar xfp -)

Linux/Unix, shell

longtx.sql with the flag whether session is blocking any DML locks or not.

Posted on 18-May-2009 By Admin No Comments on longtx.sql with the flag whether session is blocking any DML locks or not.

col machine format a30 col sid format 99999 col serial# format 99999 col sid_info format a14 col Transaction_id format a20 col username format a8 col days format 99.99 col hours1 format 999999 col TX_HRS format 999 col USER_HRS format 999 col LOCK format a2 set lines 120 pages 200 select a.sid || ‘,’ || a.serial#…

Read More “longtx.sql with the flag whether session is blocking any DML locks or not.” »

Oracle, SQL scripts

FRA Information.

Posted on 18-May-2009 By Admin No Comments on FRA Information.

Applies to: Enterprise Manager for RDBMS – Version: 10.1.0.0 to 11.1 Oracle Server – Enterprise Edition – Version: 10.1.0.0 to 11.1 Information in this document applies to any platform. Purpose This article contains FAQ for Flash Recovery Area ( FRA ) Questions and Answers 1. What is a Flash Recovery Area and how to configure…

Read More “FRA Information.” »

Oracle, SQL scripts

Posts pagination

Previous 1 … 15 16 17 … 57 Next

Categories

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

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Reading parameter file and printing Linux/Unix
  • Goldengate document from Porus Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • RAC with RHEL4 and 11g Oracle
  • handling filenname with space Linux/Unix
  • proper cpu stats Linux/Unix
  • eplan9i.sql Oracle
  • To see only files and/or folders using LS command Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme