Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Read CSV File using Python Python/PySpark
  • Drop all SPM baselines for SQL handle Oracle
  • fuser to check who is using diretory Linux/Unix
  • check_copy_progress.sh Linux/Unix
  • find_string_in_database.sql Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • Find long Running Transaction Linux/Unix
  • Trace a SQL session from another session using ORADEBUG Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • TNSNAMES entries details Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Some OS level threshold for performance. Linux/Unix

Database logon trigger issue

Posted on 22-Jun-2009 By Admin No Comments on Database logon trigger issue

Problem Description

——————-

You create a database event trigger that fires each time a user connects to the database.

For any reason, the login trigger becomes invalid. (The trigger is retrieving information from a table that may be inadvertently dropped.)

Who can connect?

Solution Description

——————–

Connect under a user who owns the following system privilege:

ADMINISTER DATABASE TRIGGER

SQL> connect system/manager

Connected.

Example:

SQL> grant ADMINISTER DATABASE TRIGGER to scott;

Grant succeeded.

SQL> connect scott/tiger

Connected.

Exception

———

Under NT, SYSTEM cannot logon even with the ADMINISTER DATABASE TRIGGER privilege, and only a connection as “/ as SYSDBA” is possible and therefore can disable the trigger.

Oracle, SQL scripts

Post navigation

Previous Post: kill all processes from specific user in solaris.
Next Post: pvm_pre_change.sql

Related Posts

  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • sqlnet.ora paramters Oracle
  • Oracle Material from OTN Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

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

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • First Entry in RAC Oracle
  • Parallel DML Oracle
  • FGA Part-I Oracle
  • sess1.sql Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • Load SPM baseline from AWR Oracle
  • Drop tempfiles from database Oracle
  • export import with parameter file. Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme