Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Differences between Standby Vs No recovery?

Answers were Sorted based on User's Feedback



Differences between Standby Vs No recovery?..

Answer / samba shiva reddy . m

When restoring a SQL Server Database, I notice that there are 3 different Recovery States to choose from:

Restore with Recovery
Restore with No Recovery
Restore with Standby

NORECOVERY

Instructs the restore operation to not roll back any uncommitted transactions. Either the NORECOVERY or STANDBY option must be specified if another transaction log has to be applied. If neither NORECOVERY, RECOVERY, or STANDBY is specified, RECOVERY is the default.

SQL Server requires that the WITH NORECOVERY option be used on all but the final RESTORE statement when restoring a database backup and multiple transaction logs, or when multiple RESTORE statements are needed (for example, a full database backup followed by a differential database backup).

Note When specifying the NORECOVERY option, the database is not usable in this intermediate, nonrecovered state.

When used with a file or filegroup restore operation, NORECOVERY forces the database to remain in the restoring state after the restore operation. This is useful in either of these situations:

A restore script is being run and the log is always being applied.

A sequence of file restores is used and the database is not intended to be usable between two of the restore operations.

STANDBY = undofilename

Specifies the undo file name so the recovery effects can be undone. The size required for the undo file depends on the volume of undo actions resulting from uncommitted transactions. If neither NORECOVERY, RECOVERY, or STANDBY is specified, RECOVERY is the default.

STANDBY allows a database to be brought up for read-only access between transaction log restores and can be used with either warm standby server situations or special recovery situations in which it is useful to inspect the database between log restores.

If the specified undo file name does not exist, SQL Server creates it. If the file does exist, SQL Server overwrites it.

The same undo file can be used for consecutive restores of the same database. For more information, see Using Standby Servers.

Important If free disk space is exhausted on the drive containing the specified undo file name, the restore operation stops.

STANDBY is not allowed when a database upgrade is necessary.

Is This Answer Correct ?    3 Yes 0 No

Differences between Standby Vs No recovery?..

Answer / guest

in standby mode the database exists to access for readonly
purpose
we can use the database for read only we can not able to
modify

in no recovery mode the database is not accessible

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More SQL Server Interview Questions

What is lock escalation and what is its purpose?

0 Answers  


What are the steps to process a single select statement?

0 Answers  


PC(code, model, speed, ram, hd, cd, price) Find the hard drive sizes that are equal among two or more PCs.

6 Answers   APX,


What are the restrictions applicable while creating views? : SQL Server Architecture

0 Answers  


What's the difference between a primary key and a unique key?

10 Answers   Wipro,


What is set nocount on?

0 Answers  


What is inner join in sql server joins?

0 Answers  


How to display n-1 columns from n number of columns, from a single table in MS SQL server 2005?

2 Answers  


how to restart sql server in single user mode? How to start sql server in minimal configuration mode? : Sql server database administration

0 Answers  


What are the steps you must follow to hide sql server instances?

0 Answers  


What languages bi uses to achieve the goal?

0 Answers  


What is the meaning of lock escalation and why/how to stop this? : sql server database administration

0 Answers  


Categories