Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to start CRS manually Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • Generating XML from SQLPLUS Oracle
  • Goldengate Tutorial Oracle
  • PLSQL Table Syntax 2 Oracle
  • Sending email with file attachment. Linux/Unix
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • ORA-01220 Oracle
  • Virtual Indexes in Oracle Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • Find Command Linux/Unix
  • Changing the Global Database Name Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • Implementation of key based authentications Linux/Unix
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle

Year: 2010

Handling LOB data in Oracle

Posted on 24-May-2010 By Admin No Comments on Handling LOB data in Oracle

Here is another good example: You can initialize the LOBs by using the following SQL INSERT statement: INSERT INTO lob_table VALUES (1001, EMPTY_BLOB(), NULL, EMPTY_CLOB(), NULL); External LOBs: INSERT INTO lob_table VALUES (21, NULL, NULL, NULL, BFILENAME(‘IMG’, ‘image1.gif’)); INSERT INTO lob_table VALUES (22, NULL, NULL, NULL, BFILENAME(‘IMG’, ‘image2.gif’)); UPDATE lob_table SET f_lob = BFILENAME(‘IMG’, ‘image3.gif’)…

Read More “Handling LOB data in Oracle” »

Oracle, SQL scripts

oracle Dba site

Posted on 07-May-2010 By Admin No Comments on oracle Dba site

Oracle GoldenGate Tutorial 9 – Monitoring GoldenGate

Oracle, SQL scripts

Goldengate document from Porus

Posted on 07-May-2010 By Admin No Comments on Goldengate document from Porus

http://www.oracle.com/technology/pub/articles/havawala-goldengate.html

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

Posts pagination

Previous 1 2 3 4 … 6 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
  • Insert cause enqueue locks Oracle
  • 10g oem configuration Oracle
  • cur_sql.sql Oracle
  • upload.html PHP/MYSQL/Wordpress
  • To Find Orphan OS processes. Linux/Unix
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • DBA_HIST_SQLSTAT contents Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme