Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Running select from V$ views from remote server Linux/Unix
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • Directory wise folder wise space usage Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • cache buffer chain latch Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • Difference between SYNC and AFFIRM Oracle
  • Korn Shell Arithmatic Linux/Unix
  • sid_wise_sql.sql Oracle
  • JSON/XML Types in Oracle Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Optimizer SORT Operations Oracle
  • plan10g.sql good Oracle

Category: SQL scripts

How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema)

Posted on 27-May-2009 By Admin No Comments on How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema)

1. Set in INIT.ORA the parameter resource_limit = true and restart Database. Since Oracle 9iR2 (9.2.0.1) you can perform this without restarting Database by issuing as SYS: alter system set resource_limit=true; 2. Connect to Database as SYSTEM or SYS and create the following Profile: create profile single_user limit sessions_per_user 1; The other parameters should be…

Read More “How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema)” »

Oracle, 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

Posts pagination

Previous 1 … 8 9 10 … 35 Next

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Configure ssh authentications for RAC Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • UNderstand and eliminate Latch contention. Oracle
  • logminer and my_lbu Oracle
  • Korn Shell Arithmatic Linux/Unix
  • Good notes for shared pool Oracle
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme