Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Removing Blank lines from file using grep Linux/Unix
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Clean up Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • Search and Replace vi editor command. Linux/Unix
  • grep multuple patterns Linux/Unix
  • Database logon trigger issue Oracle
  • proper cpu stats Linux/Unix
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • FRA Information. Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle

Year: 2008

Adding addidional hard drive and attach it to a linux box.

Posted on 25-Dec-2008 By Admin No Comments on Adding addidional hard drive and attach it to a linux box.

1) Add hard drive in vmware console. Select any SCSE disk type. 2) From vmware itself you will know that what will its sd number. like will it be sda,sdb.. or sdz. 3) start virtual machine and do the following as root: # fdisk /dev/sdg1 Here create a primary partition and write partition table. now…

Read More “Adding addidional hard drive and attach it to a linux box.” »

Linux/Unix, shell

Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository

Posted on 22-Dec-2008 By Admin No Comments on Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository

PURPOSE This article is a step by step demonstration on how to use the Oracle10g SQLAccess Advisor (DBMS_ADVISOR) package to get recommendations on what Materialized Views to create in order to support a given set of queries (a workload) issued on the database. The workload is imported from the Oracle10g Automatic Workload Repository using a…

Read More “Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository” »

Oracle, SQL scripts

SQL_PROFILE – I explaination

Posted on 22-Dec-2008 By Admin No Comments on SQL_PROFILE – I explaination

Checked for relevance on 12-May-2008. Clarification/Explanation ========================== The query optimizer can sometimes produce inaccurate estimates about an attribute of a statement due to lack of information,leading to poor execution plans. Traditionally, users have corrected this problem by manually adding hints to the application code to guide the optimizer into making correct decisions. For packaged applications,…

Read More “SQL_PROFILE – I explaination” »

Oracle, SQL scripts

shutdown linux

Posted on 14-Dec-2008 By Admin No Comments on shutdown linux

shutdown -h now

Linux/Unix, shell

Processes parameter and its dependencies on OS kernel parameters

Posted on 19-Nov-2008 By Admin No Comments on Processes parameter and its dependencies on OS kernel parameters

At this time in 800P, we are having following parameter set. NAME TYPE VALUE ———————————— ———– —————————— processes integer 3500 sessions integer 9000 The main parameter is “processes” parameter as it depends upon the # of semaphores in the system. This parameter depends upon followng kernel values. nproc – Maximum number of processes that can…

Read More “Processes parameter and its dependencies on OS kernel parameters” »

Linux/Unix, shell

Nice Article about semaphores and init.ora Processes parameter relations

Posted on 19-Nov-2008 By Admin No Comments on Nice Article about semaphores and init.ora Processes parameter relations

metalink note: 15566.1 PURPOSE Shared memory and semaphores are two important resources for an Oracle instance on Unix. An instance cannot start if it is unable to allocate what it needs. This paper primarily discusses the process Oracle goes through to allocate shared memory and semaphores at instance startup. Other important points unrelated to startup…

Read More “Nice Article about semaphores and init.ora Processes parameter relations” »

Linux/Unix, shell

default permission on ~/.ssh/authorized_keys2 or authorized_keys

Posted on 03-Nov-2008 By Admin No Comments on default permission on ~/.ssh/authorized_keys2 or authorized_keys

The permission on this file must be 600. else even after changing the authorized keys you will be asked for password authentications.

Linux/Unix, shell

Temporary Tablespace Information and restriction.

Posted on 27-Oct-2008 By Admin No Comments on Temporary Tablespace Information and restriction.

Temporary Tablespace (1) The DEFAULT TEMPORARY TABLESPACE must be of TEMPORARY type. (2) The DEFAULT TEMPORARY TABLESPACE cannot be converted to PERMANENT once it has been defined as the DEFAULT TEMPORARY TABLESPACE. (3) Before dropping the DEFAULT TEMPORARY TABLESPACE, create another one. (4) The DEFAULT TEMPORARY TABLESPACE cannot be taken OFFLINE: (5) The temporary tablespace…

Read More “Temporary Tablespace Information and restriction.” »

Oracle, SQL scripts

Oracle Metalink useful notes

Posted on 10-Oct-2008 By Admin No Comments on Oracle Metalink useful notes

Note:144152.1 Understanding 9i Real Application Clusters Cache Fusion Recovery

Oracle, RAC

When error comes for temporary tablespace with version <= 9i

Posted on 16-Sep-2008 By Admin No Comments on When error comes for temporary tablespace with version <= 9i

Step-1 Run @temp_use.sql as following. Following is the code for temp_use.sql SELECT b.TABLESPACE, b.segfile#, b.segblk#, b.blocks, a.SID, a.serial#, a.username, a.osuser, a.status, c.sql_text FROM v$session a, v$sort_usage b, v$sqlarea c WHERE a.saddr = b.session_addr AND a.SQL_HASH_VALUE = c.HASH_VALUE and a.sid not in (select distinct sid from v$mystat) ORDER BY b.TABLESPACE, b.segfile#, b.segblk#, b.blocks / set pagesize…

Read More “When error comes for temporary tablespace with version <= 9i” »

Oracle, SQL scripts

Posts pagination

1 2 … 8 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
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • alter database backup controlfile to trace Oracle
  • How to stop OCSSD Daemon Oracle
  • grep multuple patterns Linux/Unix
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • SQL_PROFILE – I explaination Oracle
  • arch_configUOCIOTTO.ora Oracle
  • Good Site for Oracle Internals Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme