Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • initUOCIOTTO.ora Oracle
  • Oracle Release Explaination Oracle
  • Some useful Unix Commands Linux/Unix
  • To find all disk io ( EMC as well as local) Linux/Unix
  • Drop specific SQL plan baseline – spm Oracle
  • Find long Running Transaction Linux/Unix
  • Oracle 10g for solaris 10 Oracle
  • The most important Tuning Notes Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Multiple listeners Oracle
  • Paste command syntax Linux/Unix
  • Oracle Identifiers Oracle
  • Read CSV file using PySpark Python/PySpark
  • Running select from V$ views from remote server Linux/Unix
  • Display the top 5 salaries for each department using single SQL Oracle

Category: SQL scripts

Default User Profile

Posted on 27-May-2009 By Admin No Comments on Default User Profile

Problem Description ——————- The DBA needs to know which values are assigned to limits set to DEFAULT for a given profile. Querying DBA_PROFILES does not display the actual values but rather lists DEFAULT for those LIMITs. Solution Description ——————– From the SQL*Plus prompt, type: SQL> select * from dba_profiles where profile = ‘DEFAULT’; PROFILE RESOURCE_NAME…

Read More “Default User Profile” »

Oracle, SQL scripts

Privilege to describe the table.

Posted on 27-May-2009 By Admin No Comments on Privilege to describe the table.

The REFERENCES object privilege allows a user to describe a table for which he has been granted the privilege on.

Oracle, SQL scripts

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

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

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

Oracle Connections expire_time and firewall

Posted on 05-May-2009 By Admin No Comments on Oracle Connections expire_time and firewall

When the client or server closes the communication it sends TCP FIN type packet, this is a normal socket closure. However, it is not uncommon that the client server communication abruptly ending without closing the end points properly by sending FIN packet, for example, when the client or server crashed, power down or a network…

Read More “Oracle Connections expire_time and firewall” »

Oracle, SQL scripts

Posts pagination

Previous 1 … 8 9 10 … 35 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
  • Oracle Connections expire_time and firewall Oracle
  • get_aix_vmstat.ksh Oracle
  • Debugging Shell FIles Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • find_err.sql for finding errors from dba_errors. Oracle
  • How to set Processes Parameter Oracle
  • TRUNCATE table and disabling referential constraints. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme