Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • cif crons Linux/Unix
  • backspace in SQL Plus not working then..? Linux/Unix
  • Drop tempfiles from database Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • standard Monitoring – 1 Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • AWR settings- MMON is not taking snapshot. Oracle
  • Create type and Grant on it. Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • How to choose Driver table in SQL statement Oracle
  • Some useful Unix Commands Linux/Unix

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 (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
  • get_vmstat_solaris Oracle
  • Check SQL Server edition SQL Server
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • how to find OS block size Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme