Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • scripts to take listener.log backup Linux/Unix
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • export import with parameter file. Oracle
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • Caching sequence in Memory Oracle
  • AWR license Oracle
  • Handling LOB data in Oracle Oracle
  • Optimizer SORT Operations Oracle
  • online_ts_bkup.sql Oracle
  • Finding locked objects Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • CPU speed on Linux Linux/Unix
  • load SPM baseline from cursor cache Oracle
  • fuser to check who is using diretory Linux/Unix

Year: 2005

Oracle 10g Installation/Applying Patches Tips

Posted on 28-Sep-2005 By Admin No Comments on Oracle 10g Installation/Applying Patches Tips

*******Oracle 10g Installation ******* On 27-Sep-2005****** (1) *** Warning During Oracle 10.1.0.2 installation **** Checking security kernel parameters Checking for noexec_user_stack=1; found Not found. Failed

Oracle, SQL scripts

Important Solaris Commands

Posted on 28-Sep-2005 By Admin No Comments on Important Solaris Commands

(*) To determine the size of the configured swap space, enter the following command: /usr/sbin/swap -s (*) To determine whether the system architecture is 64-bit, enter the following command: /bin/isainfo -kv This command should return the following output. If you do not see the expected output, you cannot install the 64-bit Oracle software on this…

Read More “Important Solaris Commands” »

Linux/Unix, shell

SYSOPER Mystery

Posted on 26-Sep-2005 By Admin No Comments on SYSOPER Mystery

Problem Description ~~~~~~~~~~~~~~~~~~~ A user connected AS SYSOPER can only STARTUP and SHUTDOWN the database, but cannot select any data from the dictionary, nor perform any other operations on the database. If you grant the appropriate privilege required to the OPERATOR user, it still does not work. Example: ~~~~~~~~ SVRMGR> CREATE USER operator IDENTIFIED BY…

Read More “SYSOPER Mystery” »

Oracle, SQL scripts

Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT

Posted on 23-Sep-2005 By Admin No Comments on Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT

========================================== Adding a Datafile or Creating a Tablespace ========================================== The initialization parameter, STANDBY_FILE_MANAGEMENT, enables you to control whether or not adding a datafile to the primary database is automatically propagated to the standby database, as follows: * If you set the STANDBY_FILE_MANAGEMENT initialization parameter in the standby database server parameter file (SPFILE) to AUTO, any…

Read More “Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT” »

Oracle, rman-dataguard

Set Role explaination.

Posted on 23-Sep-2005 By Admin No Comments on Set Role explaination.

“Set Role” statement. ( Remember : It affects current session only ) Use the SET ROLE statement to enable and disable roles for your current session. This statement will be useful when you want to give special privilege to specific user for a specific period of time. When a user logs on, Oracle Database enables…

Read More “Set Role explaination.” »

Oracle, SQL scripts

online_bkup.sql

Posted on 15-Sep-2005 By Admin No Comments on online_bkup.sql

set serveroutput on execute dbms_output.enable(20000); declare cursor c1 is select distinct tablespace_name from dba_data_files order by tablespace_name; cursor c4 is select member from v$logfile order by member; staging_copy_area varchar2(100) := ‘10.201.43.51:/uocdb1/oradata/UOC’; begin for cur in c1 loop dbms_output.put_line (‘alter tablespace ‘ || cur.tablespace_name || ‘ begin backup;’); declare cursor c2 is select file_name from dba_data_files…

Read More “online_bkup.sql” »

Oracle, SQL scripts

Global Unique Identifier Generation in Oracle 9.2 SYS_GUID()

Posted on 12-Sep-2005 By Admin No Comments on Global Unique Identifier Generation in Oracle 9.2 SYS_GUID()

SYS_GUID generates and returns a globally unique identifier (RAW value) made up of 16 bytes. On most platforms, the generated identifier consists of a host identifier and a process or thread identifier of the process or thread invoking the function, and a nonrepeating value (sequence of bytes) for that process or thread. The following example…

Read More “Global Unique Identifier Generation in Oracle 9.2 SYS_GUID()” »

Oracle, SQL scripts

How to Modify the statistics collection by MMON for AWR repository

Posted on 06-Sep-2005 By Admin No Comments on How to Modify the statistics collection by MMON for AWR repository

From 10g onwards the MMON process wakes up by default every hour and does statistics collection for AWR (Automatic Workload Repository). 10g provides the following procedure for modify this statistics collection routine: DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS(( retention IN NUMBER DEFAULT NULL, interval IN NUMBER DEFAULT NULL, dbid IN NUMBER DEFAULT NULL); This example changes the interval setting to…

Read More “How to Modify the statistics collection by MMON for AWR repository” »

Oracle, SQL scripts

Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR

Posted on 06-Sep-2005 By Admin No Comments on Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR

Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR —————————————————————————————— The Automatic Database Diagnostic Monitor (hereafter called ADDM) is an integral part of the Oracle RDBMS capable of gathering performance statistics and advising on changes to solve any exitsing performance issues measured. For this it uses the Automatic Workload Repository ( hereafter…

Read More “Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR” »

Oracle, SQL scripts

Shuffle an array

Posted on 06-Sep-2005 By Admin No Comments on Shuffle an array

#!c:perlbinperl use List::Util ‘shuffle’; # Following line is necessary of you are using perl to write html in browser. print “Content-type: text/htmlnn”; print ““; print “CGI Test“; print ““; print “Newer Verion of File Management Operations !“; @list=(“one”, “two”, “three”, “four”, “five”, “six”, “seven”, “eight”, “nine”, “ten”); print “list = @list”; @shuffled = shuffle(@list); print…

Read More “Shuffle an array” »

PHP/MYSQL/Wordpress

Posts pagination

Previous 1 … 5 6 7 … 16 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
  • CPU speed on solaris Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • v$event_name Oracle
  • Find_table_size.sql Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • Important Script Method for tuning Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme