Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Databases - lots of them
Message
De
26/08/2008 06:57:00
 
 
À
26/08/2008 06:51:34
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
01341696
Message ID:
01341720
Vues:
14
>>>When and why do you see the need for attaching/detaching databases?
>>>Regards,
>>>Viv
>>
>>The accountant (= accountant(s) + employees) decides to work on my data today (customer 27, year 2008). If (say) 00027_2008.mdf is not attached, it has to be attached to the sql server instance so he can work on it.
>>
>>If another employer wants to work on my data at the same time, the 00027_2008.mdf does not have to be attached since it already is. So he can simply connect to it.
>>
>>When the last person is done with 00027_2008.mdf, it has to be detached from the sql server instance [ we are talking about thousands of databases ]
>
>Why not leave them all attached?

Thousands ?? and when he has to mail the database (or something the customer can restore) back to the customer ?

Mind you, I could have something run at night or regular interval, that detaches all db where ( #connections == 0). But this is only half of the work. It needs to be attached sometime

[ I think I saw an AutoDetach somewhere when I was fiddling with it last week ]
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform