Random Password Generator with a template
Submitted by cihandemir on Sat, 2010-05-08 17:49Original blog post in here.
Give the password template to this function and get random password. It acts like dbms_random.string() function but takes more than one character as a parameter.
Here is a scenario (template)
- First char must be UPPERCASE
- Second and third one must be NUMBER
- Make fourth a NON-ALPHANUMERIC character
- Fifth one must be LOWERCASE
- Sixth is a NUMBER again
- Seventh is any character
- cihandemir's blog
- Login to post comments
- Read more
Index unusable: Skip_unusable_indexes oracle10g/oracle11g
Submitted by rajabaskar on Fri, 2010-05-07 20:23
Why indexes are going to unusable status?
When will the indexes goes for unusable state?
1.Any maintenance activity in partition table – Alter command
1.Truncate the table partition
2.Drop the table partition
3.Split Part/Sub Partition
2.Any maintenance activity in table – Table Reorganization.
1.Move the table.
2.Online redefinition
More details about online redefinition -
http://dbarajabaskar.blogspot.com/2010/04/online-redefintion-in-oracle-table.html
3.Oracle Import – While import the data with skip_unusable_indexes=y.
To improve the perfo
RMAN Cloning using active database feature - Oracle 11g feature
Submitted by rajabaskar on Thu, 2010-04-29 23:26
RMAN Cloning using active database feature - Oracle 11g feature
Normally we well knew about RMAN cloning.
Oracle9i/10g using duplicate cloning command, we do the RMAN cloning.
We need a RMAN full backup for cloning the database in oracle9i/10g.
In oracle 11g provides a new feature, without RMAN database backup we can clone the database.
I have tested the active database RMAN cloning in my test server.
Environment Details:
Operating system: Windows XP service pack 2
Database Version: 11.1.0.7 (32 bit)
Source database name: troy
Clone database name: clonedb
How its work?
- rajabaskar's blog
- Login to post comments
- Read more
READ ONLY tables in oracle 11g
Submitted by rajabaskar on Tue, 2010-04-27 11:48
READ ONLY tables in oracle 11g
- rajabaskar's blog
- Login to post comments
- Read more
Retore point in oracle
Submitted by rajabaskar on Thu, 2010-04-22 22:10
Restore point:
A restore point can be used to flash back a table or the database to the time specified by the restore point without the need to determine the SCN or timestamp. Restore points are also useful in various RMAN operations, including backups and database duplication. You can use RMAN to create restore points in the process of implementing an archival backup.
Two types:
1. Normal restore point
2.
- rajabaskar's blog
- Login to post comments
- Read more
Oracle installation: Oracle Binary Cloning
Submitted by rajabaskar on Wed, 2010-04-14 23:51
Oracle installation: Oracle Binary Cloning
Clone the oracle software between two server.
Please check the OS compatibility are same between source & destination server.
Source Server:
****************
steps 1:
ORACLE_HOME: /apps/oracle/product/10.2.0.1
Tar the oracle home 10.2.0.1
$cd /apps/oracle/product
$tar -cvf 10.2.0.1.tar 10.2.0.1
Destination server:
******************
Steps 2:
Copy the oracle binary tar file from source server to Destination server.
$mkdir -p /apps/oracle/product
$cd /apps/oracle/product
$sftp oracle@source
Killing users sessions in oracle
Submitted by jp_vijaykumar on Wed, 2010-04-14 21:56 KILLING USERS SESSIONS IN ORACLE
Author JP Vijaykumar Oracle DBA
Date Apr 14th 2010
A detailed discussion on redo, undo and Oracle's read consistency are
beyond the scope of this document.
A detailed discussion on setup, troubleshooting of user connections
in MTS environment is beyond the scope of this document.
Before embarking on a killing spree of Oracle sessions, let us explore
the options, limitations, dos and don'ts.
- jp_vijaykumar's blog
- Login to post comments
online redefinition in oracle - Table fragmentation
Submitted by rajabaskar on Tue, 2010-04-13 05:48
DBA’s faced data fragmentation issues frequently. Data fragmentation affects the database performance.
In production database, we need to follow any one of the below method to solve the fragmentation issue.
Methods:
1. Alter table
--- Also we need to rebuild the indexes associate with tables.
2. Export the table / truncate the table / import the table
3. Create table
4. Online Data Redefinition
Table is not accessible for during the reorganization of table using Method 1, 2 & 3.
- rajabaskar's blog
- Login to post comments
- Read more
11.2 Grid Infrastructure networking enhancements
Submitted by John Watson on Mon, 2010-03-15 04:01This note is an attempt to summarize some of the 11gR2 facilities that allow for greater virtualization of resources, reducing reliance on networking facilities supplied by the operating system. All corrections welcome.
- John Watson's blog
- Login to post comments
- Read more
Dynamic SQL - for newbies
Submitted by wakula on Sat, 2010-01-30 19:59Hello,
I have been dealing with dynamic SQL for some time. And that is something that is still a mystery for many newcomers (and experienced Oracle guys as well).
Here I am going to tell how you can use dynamic SQL. How, but more important is "why", because when creating a comment you should never describe "how" - you always should describe "why".
