Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Monitor Long Running Job Oracle
  • Wait.sql Oracle
  • Insert cause enqueue locks Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • Another Tuning Article for subheap of shared pool Oracle
  • Set Role explaination. Oracle
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • Drop all SPM baselines for SQL handle Oracle
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • compile_inv.sql Oracle
  • Some OS level threshold for performance. Linux/Unix
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • SQL Server Vs Oracle Architecture difference SQL Server

Category: SQL scripts

Implementing Listener Security

Posted on 08-Jul-2009 By Admin No Comments on Implementing Listener Security

# Listener Security #

Oracle, SQL scripts

Implementing Listener Security

Posted on 08-Jul-2009 By Admin No Comments on Implementing Listener Security

Step:1 ====== Do following steps to implement encrypted listener password. $ lsnrctl LSNRCTL> set current_listener LISTENER LSNRCTL>set save_config_on_stop on LSNRCTL> change_password Old password: New password: e1 Reenter new password: e1 LSNRCTL> set password Password: e1 LSNRCTL> stop Step:2 ====== Check your listener.ora file Entries similar to the following should have been added to your listener.ora…

Read More “Implementing Listener Security” »

Oracle, SQL scripts

Free conference number from http://www.freeconference.com

Posted on 06-Jul-2009 By Admin No Comments on Free conference number from http://www.freeconference.com

dedicated dial-in number 1 (218) 339-2699 access code 328166

Oracle, SQL scripts

pvm_pre_change.sql

Posted on 23-Jun-2009 By Admin No Comments on pvm_pre_change.sql

column currdate new_value pvmdt noprint select ‘pvm_comp_’ || to_char(SYSDATE, ‘DDMONRRRR_HH24MI’) || ‘.sql’ currdate from v$instance; spool &pvmdt set lines 120 pages 2000 set head off set feedback off prompt set pages 5000 lines 120 prompt select ‘prompt ‘||a.owner||’.’||a.object_name||’ – ‘||a.object_type|| chr(10)|| prompt ‘alter ‘|| prompt decode(a.object_type,’PACKAGE BODY’,’PACKAGE’,object_type) || ‘ “‘|| prompt a.owner||’”.’||a.object_name||’ compile ‘|| prompt…

Read More “pvm_pre_change.sql” »

Oracle, SQL scripts

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…

Read More “Database logon trigger issue” »

Oracle, SQL scripts

Restoring a user’s original password 1051962.101

Posted on 05-Jun-2009 By Admin No Comments on Restoring a user’s original password 1051962.101

WARNING ======= The method described in this article is not officially supported by development, therefore when you get errors using this procedure support cannot file a bug for it. Please make no mistakes when setting the HEX value with the VALUES keyword as bad values may cause internal errors. This undocumented feature exists to support…

Read More “Restoring a user’s original password 1051962.101” »

Oracle, SQL scripts

ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME

Posted on 05-Jun-2009 By Admin No Comments on ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME

Problem: ~~~~~~~~ When you upgrade the database from Oracle V7 to V8, and then create a profile which limits password_life_time, existing users cannot login to the database. New users can login without a problem. To reproduce this problem: 1. Create a test user (test1) in a V7 database: grant connect, resource to test1 identified by…

Read More “ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME” »

Oracle, SQL scripts

find_string_in_database.sql

Posted on 02-Jun-2009 By Admin No Comments on find_string_in_database.sql

set lines 120 pages 2000 accept pvm prompt “Enter The String You Want to Search -> ” select distinct owner, name, type from dba_source where instr(upper(text), upper(‘&pvm’)) != 0 ; set serveroutput on DECLARE CURSOR cur_triggers IS SELECT owner, trigger_name, table_name, trigger_body FROM dba_triggers; v_position INTEGER; BEGIN DBMS_OUTPUT.ENABLE(NULL); DBMS_OUTPUT.PUT_LINE(‘OWNER TABLE NAME TRIGGER NAME ‘); DBMS_OUTPUT.PUT_LINE(‘===================================================================================================’)…

Read More “find_string_in_database.sql” »

Oracle, SQL scripts

How to Make Trace Files Created by Oracle Readable by All Users ?

Posted on 27-May-2009 By Admin No Comments on How to Make Trace Files Created by Oracle Readable by All Users ?

Problem Description: ~~~~~~~~~~~~~~~~~~~~ How do you make all trace files that Oracle creates readable to owner, group, and world or public? Any “*.trc” files created by Oracle have permissions of 640, with owner of Oracle and group DBA. For example: -rw-r—– oracle dba Setting umask in the users login script (.cshrc or .profile) does not…

Read More “How to Make Trace Files Created by Oracle Readable by All Users ?” »

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

Posts pagination

Previous 1 … 7 8 9 … 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
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • The most important Tuning Notes Oracle
  • Database link password in user_db_links Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • Temporary Tablespsace Temp tablespace behaviour Oracle
  • v$backup.status information Oracle
  • How to choose Driver table in SQL statement Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme