![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, We have a SQL-cluster with over 6300 databases, most of them pretty small in size and usage. For this reason all these databases are on auto-close ( Otherwise SQL would need many many gigabytes ). We've recently upgraded to SQL 2005 because of the Management Studio, because the EM is unusable on a SQL-Server with lots of databases. But whenever you choose 'all user databases' or 'all databases' in any of the DB Maintenance task, MSSQL begins starting up every database which takes about 30 minutes. Until then, you cannot use your Studio anymore. My question : is there a possibility to avoid this behavior, it should not go and check all those db's, just add my task. PS : Detaching these databases is not an option ... Thanks in advance, Sven Peeters |
#3
| |||
| |||
|
|
Could you clarify "auto-close"? |
#4
| |||
| |||
|
|
As for the original question, I don't really have any good suggestion. It's not surprising that Mgmt Studio feels compelled to visit the database. Probably the best is to avoind Management Plans altogether, but just set up an SQL job that performs what you want to be done. Possibly you could create a Maintenance plan for a small number of databases, and then work with the plan in Business Intelligence Development Studio. (It is ab SSIS package as I understand it.) |
|
-- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Books Online for SQL Server 2005 at http://www.microsoft.com/technet/pro...ads/books.mspx Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinf...ons/books.mspx |
#5
| |||
| |||
|
|
Hi, We have a SQL-cluster with over 6300 databases, most of them pretty small in size and usage. For this reason all these databases are on auto-close ( Otherwise SQL would need many many gigabytes ). We've recently upgraded to SQL 2005 because of the Management Studio, because the EM is unusable on a SQL-Server with lots of databases. But whenever you choose 'all user databases' or 'all databases' in any of the DB Maintenance task, MSSQL begins starting up every database which takes about 30 minutes. Until then, you cannot use your Studio anymore. My question : is there a possibility to avoid this behavior, it should not go and check all those db's, just add my task. PS : Detaching these databases is not an option ... Thanks in advance, Sven Peeters |
#6
| |||
| |||
|
|
And honestly I'd probably question why anyone has 6300+ databases on a single server. And would go further to suggest if you're really doing that, you're probably better off writing your own tools to administer it. It's really an edge case.... |
![]() |
| Thread Tools | |
| Display Modes | |
| |