Click here to Skip to main content
15,896,606 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to spread traffic on a table [modified] Pin
Jörgen Andersson22-Mar-11 1:54
professionalJörgen Andersson22-Mar-11 1:54 
GeneralRe: How to spread traffic on a table Pin
Johan Hakkesteegt22-Mar-11 2:07
Johan Hakkesteegt22-Mar-11 2:07 
GeneralRe: How to spread traffic on a table Pin
Jörgen Andersson22-Mar-11 6:15
professionalJörgen Andersson22-Mar-11 6:15 
AnswerRe: How to spread traffic on a table Pin
Wendelius22-Mar-11 1:55
mentorWendelius22-Mar-11 1:55 
GeneralRe: How to spread traffic on a table Pin
Johan Hakkesteegt22-Mar-11 2:01
Johan Hakkesteegt22-Mar-11 2:01 
GeneralRe: How to spread traffic on a table Pin
Wendelius22-Mar-11 2:10
mentorWendelius22-Mar-11 2:10 
GeneralRe: How to spread traffic on a table Pin
Johan Hakkesteegt22-Mar-11 3:33
Johan Hakkesteegt22-Mar-11 3:33 
GeneralRe: How to spread traffic on a table Pin
Wendelius22-Mar-11 5:07
mentorWendelius22-Mar-11 5:07 
Exactly, few comments:

Johan Hakkesteegt wrote:
1. make a backup (10 - 15 min)

Log backup

Johan Hakkesteegt wrote:
2. copy the backup elsewhere (we wouldn't need to do this)

This can be automated

Johan Hakkesteegt wrote:
3. restore the backup to another database (15 - 20 min)

As well as this

Johan Hakkesteegt wrote:
That would be approximately 25 - 35 min per operation

Don't know about that, depends on the system. Typically log backup is very fast. Of course the files must be transferred and reapplied (preferrably by SQL Server) so it takes some time, but not much.

Johan Hakkesteegt wrote:
How much or little does the operation affect the server performance during that
time

It's a backup so yes it affects performance (a bit, again depending on the system).

Johan Hakkesteegt wrote:
Also, does it make sense to do this on one and the same physical server ?

Well, if you're going to setup a standby, why not create it on a separate server while your at it. Now you gain both new place for ad-hoc queries along with safer environment. Another point why I wouldn't put it on the same server is that you want to have all your resources (CPU, memory, disks) to the OLTP database. If you install the standby to the same physical server the instances will have to share these resources so there's not so much benefit as if they are separated.
The need to optimize rises from a bad design.My articles[^]

GeneralRe: How to spread traffic on a table Pin
Johan Hakkesteegt22-Mar-11 21:22
Johan Hakkesteegt22-Mar-11 21:22 
GeneralRe: How to spread traffic on a table Pin
Wendelius22-Mar-11 21:47
mentorWendelius22-Mar-11 21:47 
GeneralRe: How to spread traffic on a table Pin
Corporal Agarn22-Mar-11 5:08
professionalCorporal Agarn22-Mar-11 5:08 
GeneralRe: How to spread traffic on a table Pin
David Mujica22-Mar-11 3:24
David Mujica22-Mar-11 3:24 
GeneralRe: How to spread traffic on a table Pin
Johan Hakkesteegt22-Mar-11 3:40
Johan Hakkesteegt22-Mar-11 3:40 
AnswerRe: How to spread traffic on a table Pin
darkelv22-Mar-11 22:18
darkelv22-Mar-11 22:18 
QuestionSum of all rows Pin
CodingLover21-Mar-11 19:22
CodingLover21-Mar-11 19:22 
AnswerRe: Sum of all rows Pin
Wendelius21-Mar-11 19:50
mentorWendelius21-Mar-11 19:50 
GeneralRe: Sum of all rows Pin
CodingLover21-Mar-11 22:59
CodingLover21-Mar-11 22:59 
GeneralRe: Sum of all rows Pin
Wendelius22-Mar-11 2:12
mentorWendelius22-Mar-11 2:12 
GeneralRe: Sum of all rows Pin
CodingLover22-Mar-11 18:27
CodingLover22-Mar-11 18:27 
QuestionSelecting one record from one table and multiple from second table Pin
Dominick Marciano21-Mar-11 13:54
professionalDominick Marciano21-Mar-11 13:54 
AnswerRe: Selecting one record from one table and multiple from second table Pin
RyanEK21-Mar-11 14:44
RyanEK21-Mar-11 14:44 
GeneralRe: Selecting one record from one table and multiple from second table Pin
Dominick Marciano21-Mar-11 15:21
professionalDominick Marciano21-Mar-11 15:21 
GeneralRe: Selecting one record from one table and multiple from second table Pin
Dominick Marciano21-Mar-11 15:35
professionalDominick Marciano21-Mar-11 15:35 
QuestionPlease Interview Me Pin
Nagy Vilmos21-Mar-11 10:55
professionalNagy Vilmos21-Mar-11 10:55 
AnswerRe: Please Interview Me Pin
Simon_Whale21-Mar-11 23:12
Simon_Whale21-Mar-11 23:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.