Tuesday, March 16, 2010

Oracle Dataguard - Quick Learn


Oracle Dataguard - Quick Learn

A Data Guard configuration contains a primary database and up to nine associated standby databases.

What is a Standby database ?
A standby database is a transactionally consistent copy of an Oracle production
database that is initially created from a backup copy of the primary database. Once the
standby database is created and configured, Data Guard automatically maintains the
standby database by transmitting primary database redo data to the standby system,
where the redo data is applied to the standby database.

What are the types of standby databases?
A standby database can be one of these types: a physical standby database, a logical standby database, or a snapshot standby database. A Data Guard configuration can include any combination of these types of standby databases.

What is the use of a standby database?
Standby database can assume the role of the primary database and take over
production processing.

What is a Physical standby database and mention its benefits?
A physical standby database is an exact, block-for-block copy of a primary database.A physical standby is maintained as an exact copy through a process called Redo Apply,in which redo data received from a primary database is continuously applied to a physical standby database using the database recovery mechanisms.A physical standby database provides the following benefits:
1) Disaster recovery and high availability
2) Data protection
3) Reduction in primary database workload
4) Performance(as redo apply bypass all SQL level code layers

What is a Logical standby database?
Data Guard applies information from the archived redo log file or standby redo log file to the logical standby database by transforming the data in the log files into SQL statements and then executing the SQL statements on the logical standby database. Because the logical standby database is updated using SQL statements, it must remain open. Although the logical standby database is opened in read/write mode, its target tables for the regenerated SQL are available only for read-only operations. While those tables are being updated, they can be used simultaneously for other tasks such as reporting, summations, and queries. Tthese tasks can be optimized by creating additional indexes and materialized views on the maintained tables.

What are the benefits of a Logical standby database?
A logical standby database is ideal for high availability (HA) compared to physical standby database and provides following benefits:
1) Logical standby analyzes the redo and reconstructs logical changes to the database, it can detect and protect against certain kinds of hardware failure on the primary that could potentially be replicated through block level changes.
2)A logical standby database is open read/write while changes on the primary are being replicated and hence can be used to run reporting workloads, test new software releases and some kinds of applications on a complete and accurate copy of the primary’s data.It can host other applications and additional schemas while protecting data replicated from the primary against local changes.It can be used to assess the impact of certain kinds of physical restructuring (for example, changes to partitioning schemes). Because a logical standby identifies
user transactions and replicates only those changes while filtering out background system changes, it can efficiently replicate only transactions of interest.
3) Logical standby provides a simple solution for creating up-to-the-minute,consistent replicas of a primary database that can be used for workload distribution. As the reporting workload increases, additional logical standbys can be created with transparent load distribution without affecting the transactional throughput of the primary server.
4) A key benefit of logical standby is that significant auxiliary structures can be created to optimize the reporting workload; structures that could have a prohibitive impact on the primary’s transactional response time. A logical standby can have its data physically reorganized into a different storage type with different partitioning, have many different indexes, have on-demand refresh materialized views created and maintained, and it can be used to drive the creation of data cubes and other OLAP data views.

5) Logical standby can be used to greatly reduce downtime associated with applying patchsets and new software releases. A logical standby can be upgraded to the new release and then switched over to become the active primary. This allows full availability while the old primary is converted to a logical standby and the patchset is applied.

What is a snapshot standby database?
A snapshot standby database receives and archives, but does not apply, redo data from its primary database. Redo data received from the primary database is applied when a snapshot
standby database is converted back into a physical standby database, after discarding all local updates to the snapshot standby database.

What are the benefits of a snapshot standby database?
1)A snapshot standby database is a fully updatable standby database that provides disaster recovery and data protection benefits that are similar to those of a physical standby database

2)It provides an exact replica of a production database for development and testing purposes, while maintaining data protection at all times

3) It can be easily refreshed to contain current production data by converting to a physical standby and resynchronizing

11 comments:

Anonymous said...

order an [URL=http://e--store.com/]gucci online[/URL] and get big save gIIXGQXY [URL=http://e--store.com/ ] http://e--store.com/ [/URL]

Anonymous said...

cheap [URL=http://jacket-dresses.net/]moncler sale[/URL] to take huge discount UVwPHfyC [URL=http://jacket-dresses.net/ ] http://jacket-dresses.net/ [/URL]

Anonymous said...

My brother suggested I might like this blog. He was once entirely right.
This publish actually made my day. You cann't imagine just how a lot time I had spent for this information! Thanks!
Also visit my homepage :: shorelinewa.gov

Anonymous said...

buy a [URL=http://replicahandbags45.yolasite.com/]fake handbags[/URL] to get new coupon CLWyyLOn [URL=http://replicahandbags45.yolasite.com/ ] http://replicahandbags45.yolasite.com/ [/URL]

Anonymous said...

you will like [URL=http://buylouisvuitton.livejournal.com/]louis vuitton buy online[/URL] to take huge discount TeuovpwE [URL=http://buylouisvuitton.livejournal.com/ ] http://buylouisvuitton.livejournal.com/ [/URL]

Anonymous said...

buy best MrMMeNhX [URL=http://www.cheapdesigner--handbags.weebly.com/]replicas handbags[/URL] to your friends fVKzZSux [URL=http://www.cheapdesigner--handbags.weebly.com/ ] http://www.cheapdesigner--handbags.weebly.com/ [/URL]

Unknown said...

louis vuitton outlet, sac longchamp, ralph lauren pas cher, replica watches, louboutin outlet, louboutin shoes, christian louboutin outlet, prada outlet, ugg boots, longchamp pas cher, tiffany and co, louis vuitton, louboutin, air jordan pas cher, tory burch outlet, cheap oakley sunglasses, nike outlet, polo ralph lauren outlet, ray ban sunglasses, polo ralph lauren outlet, louis vuitton outlet, nike air max, replica watches, louis vuitton, air max, longchamp outlet, michael kors, oakley sunglasses, chanel handbags, nike free, nike roshe run, oakley sunglasses, burberry, tiffany jewelry, ray ban sunglasses, kate spade outlet, prada handbags, oakley sunglasses, nike air max, louis vuitton, louboutin pas cher, uggs on sale, ray ban sunglasses, oakley sunglasses, longchamp, jordan shoes, gucci outlet, ugg boots, nike free, longchamp outlet

Unknown said...

lancel, celine handbags, jimmy choo shoes, bottega veneta, nike roshe, asics running shoes, gucci, giuseppe zanotti, nike huarache, mcm handbags, herve leger, hollister, hollister, new balance, ray ban, p90x workout, soccer shoes, babyliss, longchamp, mac cosmetics, nike trainers, chi flat iron, mont blanc, vans, vans shoes, ghd, iphone cases, nike air max, hollister, ferragamo shoes, ralph lauren, louboutin, nike air max, beats by dre, valentino shoes, converse outlet, lululemon, north face outlet, instyler, soccer jerseys, birkin bag, insanity workout, baseball bats, north face outlet, abercrombie and fitch, timberland boots, reebok shoes, nfl jerseys, oakley, wedding dresses

Unknown said...

hollister, louis vuitton, canada goose outlet, moncler, pandora jewelry, swarovski, louis vuitton, bottes ugg, coach outlet, moncler, supra shoes, montre pas cher, moncler, ugg,uggs,uggs canada, ugg,ugg australia,ugg italia, canada goose, links of london, pandora jewelry, karen millen, doudoune canada goose, juicy couture outlet, moncler, pandora charms, marc jacobs, swarovski crystal, moncler, ugg pas cher, thomas sabo, louis vuitton, moncler outlet, moncler, canada goose, canada goose uk, canada goose outlet, ugg boots uk, juicy couture outlet, wedding dresses, moncler, canada goose, toms shoes, louis vuitton, replica watches, sac louis vuitton pas cher, pandora charms, canada goose

menna said...

فرسان العرب
تنظيف خزانات المياه مع التعقيم بالبخار في الرياض
شركات تعقيم تنكات المياه الرياض
شركه تنظيف خزانات معتمدة من البلدية
رقم بلدية الرياض لتنظيف الخزانات
شركة تنظيف منازل في الرياض

menna said...

شركات مكافحة الافات أبو ظبي