Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Convert multiple rows to single column Oracle
  • V$ROLLSTAT status is Full Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Find all users who have DML privileges Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Kill a session dynanically using execute immediate Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • Wait.sql Oracle
  • Jai Shree Ram Linux/Unix
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • online_bkup.sql Oracle
  • USE_NL and INDEX hints example Oracle

Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1

Posted on 20-Oct-2010 By Admin No Comments on Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1

Applies to: Oracle Server – Enterprise Edition – Version: 10.2.0.1 to 11.1.0.7 Information in this document applies to any platform. Goal This article helps to plan oracle database patching sequence to the latest/required patchset version with in the same release (ex: 10.2.0.1 to 10.2.0.4) along with CPU/PSU/One-off-patch installations. Solution Basically there are two entities in…

Read More “Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1” »

Oracle, SQL scripts

Oracle Support Metalink ID 161818.1

Posted on 20-Oct-2010 By Admin No Comments on Oracle Support Metalink ID 161818.1

Oracle Database (RDBMS) Releases Support Status Summary [ID 161818.1] Oracle Database (RDBMS) Releases Support Status Summary Information here was last updated on 14-Sep-2010 This note shows the current main Oracle Database releases along with information about the support status of each release and its Patch Sets. To see the main support alerts and Patch Set…

Read More “Oracle Support Metalink ID 161818.1” »

Oracle, SQL scripts

AWR license

Posted on 12-Oct-201022-May-2023 By Admin No Comments on AWR license

ref: http://blog.tanelpoder.com/2009/05/06/free-dba_hist-awr-views-in-11g/ When you access Oracle AWR (and other licensed features/tables/views) then these do show up in DBA_FEATURE_USAGE_STATISTICS. Exporting the contents is the same as accessing these with your SQL. All data dictionary views beginning with the prefix DBA_HIST_ are part of this pack, along with their underlying tables.The only exception are the views: DBA_HIST_SNAPSHOT,…

Read More “AWR license” »

Oracle, SQL scripts

Oracle Material from OTN

Posted on 08-Sep-2010 By Admin No Comments on Oracle Material from OTN

Oracle Learning Library ======================= http://apex.oracle.com/pls/apex/f?p=9830:41:0::NO Getting Started with Oracle SQL Developer ========================================= http://st-curriculum.oracle.com/obe/db/11g/r2/prod/appdev/sqldev/sqldev_mngdb/sqldev_mngdb_otn.htm Using Source Code Control in Oracle SQL Developer ================================================= http://st-curriculum.oracle.com/obe/db/11g/r2/prod/appdev/sqldev/srccodexmlext/srccode_otn.ht

Oracle, SQL scripts

column level grant syntax

Posted on 22-Jul-2010 By Admin No Comments on column level grant syntax

grant update (colum1, col2) on owner.table_name to other_user/role;

Oracle, SQL scripts

How to see which patches are applied.

Posted on 09-Jul-2010 By Admin No Comments on How to see which patches are applied.

There are 2 ways. 1) opatch lsinventory 2) select * from sys.registry$history;

Oracle, SQL scripts

Space padding in korn shell

Posted on 15-Jun-2010 By Admin No Comments on Space padding in korn shell

#!/bin/ksh typeset -L30 fieldA typeset -R15 fieldB fieldA=”Paresh” fieldB=”Vatti” echo “${fieldA}${fieldB}”

Linux/Unix, shell

find checksum of a file.

Posted on 10-Jun-2010 By Admin No Comments on find checksum of a file.

oracle@dbmonitor*-/export/home/oracle/paresh ==>echo `sum 1.sh` 4206 1 1.sh oracle@dbmonitor*-/export/home/oracle/paresh ==>echo `sum 1.sh` | awk ‘{print $1}’ 4206 oracle@dbmonitor*-/export/home/oracle/paresh ==>echo `sum 1.sh` | awk ‘{print $2}’ 1 oracle@dbmonitor*-/export/home/oracle/paresh ==>

Linux/Unix, shell

Temporary Tablespsace Temp tablespace behaviour

Posted on 25-May-2010 By Admin No Comments on Temporary Tablespsace Temp tablespace behaviour

Description =========== When monitoring the size of the available free space in the TEMPORARY tablespace it does not increased once sorts are finished even with no client connections to the database. They may also be a large number of EXTENTS of type TEMPORARY in the temporary tablespace. Users may also experience ORA-1652 when running transactions….

Read More “Temporary Tablespsace Temp tablespace behaviour” »

Oracle, SQL scripts

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

Posts pagination

Previous 1 … 6 7 8 … 58 Next

Categories

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

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • backspace in SQL Plus not working then..? Linux/Unix
  • Optimizer_Index init.ora parameter explaination. Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Implementing Listener Security Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • sess_server.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme