September 18, 2008 at 5:00 am
Can any one help me to prepare basic check list for database server for SQL server 2005.
after creating the database i want to some basic check on database like properties ,.mdf,.ldf,space ......... like i want know some more...... to verify whether database created correctly or not
September 18, 2008 at 6:57 am
anand (9/18/2008)
Can any one help me to prepare basic check list for database server for SQL server 2005.after creating the database i want to some basic check on database like properties ,.mdf,.ldf,space ......... like i want know some more...... to verify whether database created correctly or not
Hi
Are you planning to restore the backup on this newly database.
If yes then you can reorganize the index, if needed build them, update statistics, set appropriate fill factor.
You could restrict the access of database,configure the db the way you need by using sp_configure.
if required the secondary file can be created ..
If you just need to check if db is correctly created then you can check for spaces, its files.
September 18, 2008 at 10:09 am
Tune the TempDB.
TempDB is so much more important in SQL 2005 than it was in earlier versions.
And the default settings of 8MB / 1MB with 10% growth is a recipe for death by fragmentation.
If you are in a full enterprise production mode, 10GB is a minimum recommended for the data file, and I use 2GB for the log file.
For data files, I create a separate .ndf for each processor/core. 2 processor, dual-core = 1 .mdf, 3 .ndf's.
And I make sure to put it on its own physical disk (or SAN partition), with nothing else.
Aside from tuning the sql (indexes, execution plans), tempdb is by far the most common first place I look, when diagnosing a slow database server / planning a new database server.
September 18, 2008 at 2:26 pm
Jason Wisdom (9/18/2008)
Tune the TempDB.TempDB is so much more important in SQL 2005 than it was in earlier versions.
And the default settings of 8MB / 1MB with 10% growth is a recipe for death by fragmentation.
If you are in a full enterprise production mode, 10GB is a minimum recommended for the data file, and I use 2GB for the log file.
For data files, I create a separate .ndf for each processor/core. 2 processor, dual-core = 1 .mdf, 3 .ndf's.
And I make sure to put it on its own physical disk (or SAN partition), with nothing else.
Aside from tuning the sql (indexes, execution plans), tempdb is by far the most common first place I look, when diagnosing a slow database server / planning a new database server.
Who recommended those settings? Got a link?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 8:45 am
http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1180698,00.html
This article, combined with my own experiences, forms the basis of my above post.
September 19, 2008 at 10:22 am
tempdb is highly dependent on activity and data sizes. If you have a 500MB database, 10GB is way overkill.
Disk space is cheap, and it makes sense to just assign some to tempdb, but I'm not sure 10GB is or isn't a good recommendation.
You've setup the server, be sure you have free space in your databases. They should have enough to last a few months. Not sure what that is, depends on your activity and growth. Monitor this and set reminders to do it regularly.
Make sure you have backups set and running. Once those are running, then you'll have an idea (based on log backup size) of how large your logs need to be.
September 19, 2008 at 11:17 am
What is your db size?
Checklists would vary, depending on whether you're running a 500MB database, a 10GB database, or a 1 TB database.
September 19, 2008 at 10:27 pm
Jason Wisdom (9/19/2008)
http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1180698,00.htmlThis article, combined with my own experiences, forms the basis of my above post.
Thanks, Jason... I misread your previous post a bit. I agree that these are good starting points. And I certainly agree that the default setting are a form of "death" by fragmentation and growth.
Thanks for the feedbak.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2008 at 11:26 pm
hi
my present database size is around 1-2 GB
September 22, 2008 at 5:30 pm
anand (9/21/2008)
himy present database size is around 1-2 GB
So, take a look at the link Jason posted. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
September 22, 2008 at 7:29 pm
Thank you -
Glad I could help.
TempDB is just one aspect of it, however.
I don't know of one, all-encompasing SQL Server Checklist.
This is a "performance" checklist, but it seems to be more about monitoring, than initial setup:
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply