Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Wait.sql Oracle
  • Building Our Own Namespaces with “Create Context” Oracle
  • sess1.sql Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • on IBM-AIX for display Linux/Unix
  • shr1.sql for MTS or Shared server configuration Oracle
  • Rman Notes -1 Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • temp_use.sql diplays usage of temp ts Oracle
  • Removing first line Linux/Unix
  • CPU Core related projections AWS
  • Rollback force for distributed transactions Oracle
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • sql_plan9i.sql Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle

Year: 2005

DBMS_UTILITY PACKAGE

Posted on 18-Nov-2005 By Admin No Comments on DBMS_UTILITY PACKAGE

DBMS_UTILITY Oracle provides two procedures under the DBMS_UTILITY package related to statistics generation. (Oracle recommends use of DBMS_STATS package for generating statistics). DBMS_UTILITY.ANALYZE_SCHEMA This routine will generate statistics on an individual schema level. It is used for analyzing all tables, clusters and indexes. It takes the following parameters: schema – Name of the schema method…

Read More “DBMS_UTILITY PACKAGE” »

Oracle, SQL scripts

DBMS_UTILITY.ANALYZE_SCHEMA

Posted on 18-Nov-2005 By Admin No Comments on DBMS_UTILITY.ANALYZE_SCHEMA

10:17:18 SYS@WEBP:-> execute dbms_utility.analyze_schema(‘CS’, ‘COMPUTE’, NULL, NULL, NULL);

Oracle, SQL scripts

Gathering statistics with DBMS_STATS

Posted on 18-Nov-2005 By Admin No Comments on Gathering statistics with DBMS_STATS

———————————————- Gathering statistics with DBMS_STATS ———————————————- DBMS_STATS.GATHER_TABLE_STATS DBMS_STATS.GATHER_TABLE_STATS gathers statistics for a table and its columns, and optionally the associated indexes. Call syntax dbms_stats.gather_table_stats(ownname, tabname, partname, estimate_percent, block_sample, method_opt, degree, granularity, cascade, stattab, statid, statown); The first two parameters are mandatory, the rest are defaulted to a value. ownname – owner tabname – table name…

Read More “Gathering statistics with DBMS_STATS” »

Oracle, SQL scripts

VIvek Encryption Package and Its Usage

Posted on 18-Nov-2005 By Admin No Comments on VIvek Encryption Package and Its Usage

create or replace package subs_cipher is function scramble ( obfs_in varchar2 ) return varchar2; — pragma not required as of 8.1.5 pragma restrict_references( scramble, wnds, wnps, wnps); function unscramble ( obfs_in varchar2 ) return varchar2; — pragma not required as of 8.1.5 pragma restrict_references( unscramble, wnds, rnds, wnps ); end; create or replace package body…

Read More “VIvek Encryption Package and Its Usage” »

Oracle, SQL scripts

create database link syntax

Posted on 14-Nov-2005 By Admin No Comments on create database link syntax

In the following statement, user hr on the remote database defines a fixed-user database link named local to the hr schema on the local database: CREATE DATABASE LINK local CONNECT TO hr IDENTIFIED BY hr USING ‘local’;

Oracle, SQL scripts

Adding or Dropping Online Redo Log Files When Physical Standby in place

Posted on 09-Nov-2005 By Admin No Comments on Adding or Dropping Online Redo Log Files When Physical Standby in place

Changing the size and number of the online redo log files is sometimes done to tune the database. You can add online redo log file groups or members to the primary database without affecting the standby database. Similarly, you can drop log file groups or members from the primary database without affecting your standby database….

Read More “Adding or Dropping Online Redo Log Files When Physical Standby in place” »

Oracle, rman-dataguard

Example of How To Resize the Online Redo Logfiles Note:1035935.6

Posted on 09-Nov-2005 By Admin No Comments on Example of How To Resize the Online Redo Logfiles Note:1035935.6

EXAMPLE OF HOW TO RESIZE THE ONLINE REDO LOGS: ============================================== Often times the online redo logs are sized too small causing database performance problems. The following is an example of how to resize the online log groups: 1. First see the size of the current logs: SVRMGR> connect internal (with 9i/10g use SQL> connect /…

Read More “Example of How To Resize the Online Redo Logfiles Note:1035935.6” »

Oracle, rman-dataguard

Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1

Posted on 09-Nov-2005 By Admin No Comments on Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1

Purpose: ======== The purpose of this article is to describe the behavior of the standby database when one or more datafiles on the primary database are resized. Standby Database Behavior When a Datafile is Resized on the Primary Database: ============================================================================= On the primary database the initial size of the datafile is 113246208. You decide to…

Read More “Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1” »

Oracle, rman-dataguard

AWR settings- MMON is not taking snapshot.

Posted on 07-Nov-2005 By Admin No Comments on AWR settings- MMON is not taking snapshot.

POTENTIAL SOLUTION(S) for AWR Snapshot Error ============================================ (*) To take the snapshots we need to populate WRM$_SNAPSHOT table successfully and for that instance metadata should be present in WRM$_DATABASE_INSTANCE. (*) To regenerate the AWR objects run catnoawr.sql and catawr.sql scripts from $ORACLE_HOME/rdbms/admin (*) Then RESTART the database So, if we have regenerated the AWR objects…

Read More “AWR settings- MMON is not taking snapshot.” »

Oracle, SQL scripts

Changing the Global Database Name

Posted on 07-Nov-2005 By Admin No Comments on Changing the Global Database Name

Changing the Global Database Name: Example The following statement changes the global name of the database and includes both the database name and domain: ALTER DATABASE RENAME GLOBAL_NAME TO demo.world.oracle.com;

Oracle, SQL scripts

Posts pagination

Previous 1 2 3 4 … 16 Next

Categories

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

Recent Posts

  • 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
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • TRUNCATE table and disabling referential constraints. Oracle
  • Rman Notes -1 Oracle
  • Index Range Scan Oracle
  • db_status.sql Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • good note for shared pool tunnig Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • ORACLE_SID in sqlplus Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme