Skip to main content

Posts

Showing posts from February, 2010

Querying V$ Views to Obtain Backup Information

Querying V$ Views to Obtain Backup Information Before making a backup, you must identify all the files in your database and decide what to back up. Several V$ views can provide the necessary information. Listing Database Files Before a Backup select name from v$datafile union all select member from v$logfile union all select name from v$controlfile; Determining Datafile Status for Online Tablespace Backups You can check V$BACKUP views to determine datafile is part of backup or not. it is also usefull when you database startup after instance failure through this view you can know datafile is part of online backup when database is open. V$backup view is not useful when current controlfile is created from restored backup or RE-CREATE statment becuase it is not content information about backup datafile. Through below query we can know status of datafile backup status SELECT t.name AS "TB_NAME", d.file# as "DF#", d.name AS "DF_NAME", b.status FROM V$DATAFILE d,...

How to Enable ARCHIVELOG mode

How to Enable ARCHIVELOG mode Benefits of ARCHIVELOG mode. 1. We can able to take database backup ONLINE. 2. No Need to Down Oracle DB Server 3. We can better Manage our Backup Policy through RMAN 4. Limited DBA task 5. We can able to RECOVER our database point-in-time How can enable ARCHIVELOG MODE in 9iR1. When we create new database then database is created NOARCHIVELOG mode by default. shutdown database SQL>shutdown immediate; Edit below parameters in pfile(init.ora) file. 1. LOG_ARCHIVE_START=TRUE Create New SPFILE from Modified pfile(init.ora) SQL> create SPFILE from PFILE; Startup Database in Mount Mode SQL> startup mount; Change Database log mode from NOARCHIVELOG to ARCHIVELOG SQL> alter database archivelog; Open DB for normal use SQL> alter database open; check archive log status Database log mode Archive Mode Automatic archival Enabled Archive destination C:\Oracle\product\...

Why I Choose Oracle as my Career ?

Why I Choose Oracle as my Career ? Dear Friends, There are some question which asked frequently on forms from every oracle newbie. 1. Which Oracle Certification I choose ? Here I will explain in details. There types of Oracle Certification we can do. 1. Oracle DBA 2. Oracle Developer 3. Oracle Application DBA 1. Oracle DBA The person which maintain Oracle Database called Oracle Database Administrator. There are some frequent work for Oracle DBA 1. Database Backup Responsibity. 2. Database Performance Tunning 3. Database Basic Administration Like " user creation, database security" Above work is complete dedicated to Oracle DBA and every company which use Oracle Database they always need Oracle DBA. Certification: Oracle 9i http://dbataj.blogspot.com/2007/08/oracle-9i-certified-professional.html Certification: Oracle 10g http://dbataj.blogspot.com/2007/03/oracle-certified-professional.html2. Oracle Developer The person which create coding and design forms and report for front-...