Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Changing unix system clock when Oracle database is running. Oracle
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • FGA Part-I Oracle
  • alter database backup controlfile to trace Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • plan10g.sql good Oracle
  • Formatter Explain plan Output 1 Oracle
  • create database syntax Oracle
  • Space padding in korn shell Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Good Oracle Architecture In Short and point to point Oracle
  • cold backup scripts to copy locally Linux/Unix
  • Roles and Stored Object behaviour Oracle
  • telnet listening Linux/Unix
  • Oracle Connections expire_time and firewall Oracle

Category: SQL scripts

Goldengate Tutorial

Posted on 07-May-2010 By Admin No Comments on Goldengate Tutorial

GoldenGate Tutorial: Simplest

Oracle, SQL scripts

ORA-3136

Posted on 06-May-2010 By Admin No Comments on ORA-3136

Issue: Inbound connection timed out (ORA-3136) In 10gR2, SQLNET.INBOUND_CONNECT_TIMEOUT the parameters were set to have a default of 60 (seconds). Set the parameters SQLNET.INBOUND_CONNECT_TIMEOUT and INBOUND_CONNECT_TIMEOUT_listenername to 0 (indefinite). What the error is telling you is that a connection attempt was made, but the session authentication was not provided before SQLNET.INBOUND_CONNECT_TIMEOUT seconds. As far as…

Read More “ORA-3136” »

Oracle, SQL scripts

find_longsql.sql

Posted on 06-May-2010 By Admin No Comments on find_longsql.sql

–Ref: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1198012113596 column dur format a20 set lines 120 pages 200 select a.sid, a.serial#, a.username, to_char(sysdate-a.last_call_et/24/60/60,’hh24:mi:ss’) started, trunc(a.last_call_et/60) || ‘ mins, ‘ || mod(a.last_call_et,60) ||’ secs’ dur, b.sql_text from v$sql b, v$session a where a.username is not null and a.last_call_et > 10 and a.status = ‘ACTIVE’ and a.sql_address = b.address;

Oracle, SQL scripts

Display the top 5 salaries for each department using single SQL

Posted on 03-May-2010 By Admin No Comments on Display the top 5 salaries for each department using single SQL

Ok, given the clarification I can show you a way to get this in 815 and before (slow on a big table) and in 816 and up (fast with analytic functions!) ops$tkyte@ORA817.US.ORACLE.COM> select * from t; DEPTNO SAL ———- ———- 10 100 10 100 10 200 10 300 10 400 10 500 20 100 20…

Read More “Display the top 5 salaries for each department using single SQL” »

Oracle, SQL scripts

import-export with multiple files

Posted on 23-Apr-2010 By Admin No Comments on import-export with multiple files

exp userid=fdba file=dmp1.dmp,dmp2.dmp,dmp3.dmp log=myfinaldmp.log feedback=20000 filesize=1800M tables=Sp.SP_FLWS_ORDER_STATUS,Sp.SP_FLWS_ORDER_STATUS_DETAIL,sp.SP_MONITOR statistics=none Default: expdat.dmp Specifies the names of the export files to import. The default extension is .dmp. Because Export supports multiple export files (see the following description of the FILESIZE parameter), you may need to specify multiple filenames to be imported. For example: imp scott/tiger IGNORE=y FILE =…

Read More “import-export with multiple files” »

Oracle, SQL scripts

Oracle Statspack survival Guide

Posted on 13-Apr-2010 By Admin No Comments on Oracle Statspack survival Guide

http://www.akadia.com/services/ora_statspack_survival_guide.html

Oracle, SQL scripts

DB Console Mainenance.

Posted on 26-Mar-2010 By Admin No Comments on DB Console Mainenance.

Comments ——– === ODM Action Plan === To recreate dbcontrol, please follow the instructions below: 1. Make sure that the following is true or have already been done: – you’re logged in to the OS as the user who owns the database installation – the ORACLE_HOME and ORACLE_SID environment variables are set properly in the…

Read More “DB Console Mainenance.” »

Oracle, SQL scripts

ORA-01220

Posted on 12-Mar-2010 By Admin No Comments on ORA-01220

Oracle Error :: ORA-01220 file based sort illegal before database is open Cause A query issued against a fixed table or view required a temporary segment for sorting before the database was open. Only in-memory sorts are supported before the database is open. Action Re-phrase the query to avoid a large sort, increase the values…

Read More “ORA-01220” »

Oracle, SQL scripts

Oracle Release Explaination

Posted on 07-Mar-2010 By Admin No Comments on Oracle Release Explaination

11.1.0.6.0 11 : Major Release Number 1 : Maintenance Release Number 0 : AppServer Release Number 6 : Component-Specific Release Number 0 : Platform specific release number.

Oracle, SQL scripts

How to specify 2 arch location to avoid any kind of DB hanging.

Posted on 03-Mar-2010 By Admin No Comments on How to specify 2 arch location to avoid any kind of DB hanging.

Scenario: I wish to configure two locations for log archives in the way that archives should get stored on location “A” and when it gets filled or become unavailable due to any reason then logs should automatically start using location “B” for onward. In short failure of location A should start storing archives on location…

Read More “How to specify 2 arch location to avoid any kind of DB hanging.” »

Oracle, SQL scripts

Posts pagination

Previous 1 … 3 4 5 … 35 Next

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • shr1.sql for MTS or Shared server configuration Oracle
  • Remove duplicate rows from table Oracle
  • Reading config file from other folder inside class Python/PySpark
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • oracle 10g on linux Linux/Unix
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Goldengate Tutorial Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme