Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • create trigger syntax Oracle
  • proc.sql Oracle
  • Virtual Indexes in Oracle Oracle
  • set_env_dba Linux/Unix
  • create database link syntax Oracle
  • Rman Notes -1 Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • logminer and my_lbu Oracle
  • shr1.sql for MTS or Shared server configuration Oracle
  • Find_table_size.sql Oracle
  • Oracle Data Direct to TAPE Oracle
  • sqlnet.ora paramters Oracle

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

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

secure crt settings

Posted on 04-May-2009 By Admin No Comments on secure crt settings

Copy on Select The Copy on select feature allows you to speed up the process of copying text from the terminal screen to the Clipboard. If this feature is enabled, text is copied to the Clipboard as soon as it is selected. To enable/disable the Copy on select feature: 1. Select the Terminal category in…

Read More “secure crt settings” »

Linux/Unix, shell

scp with ssh2

Posted on 24-Apr-2009 By Admin No Comments on scp with ssh2

scp -p -o ‘protocol 2’ SOURCE_FILE TARGET_HOST:TARGET_FILE

Linux/Unix, shell

Posts pagination

Previous 1 … 15 16 17 … 57 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
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • plan10g.sql good Oracle
  • Implementing Listener Security Oracle
  • how to find OS block size Oracle
  • Index Range Scan Oracle
  • Rename Tablespace Oracle
  • initUOCIOTTO.ora Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme