Solved

MSDE, transaction logs and partitions

Posted on 2010-11-15
8
360 Views
Last Modified: 2012-05-10
Hi

We have an application that runs on Windows 2008 servers. It requires a DB so we'll also have MSDE installed on the same box.

I understand that it's generally better to have transaction logs on RAID 1 and the database on RAID 5.

We could have the transaction logs on the same RAID group as the C drive in that case.

C: OS and transaction logs
D: Application and MSDE database

However, is there any issue with having two write intensive 'applications' (the OS and the transaction logs) on the same partition?

Also, I guess there is a higher risk placing them on the C drive in case the logs fill up the C drive and knock the server over?

What are people's recommendations?
0
Comment
Question by:Joe_Budden
  • 5
  • 3
8 Comments
 
LVL 10

Accepted Solution

by:
Humpdy earned 500 total points
ID: 34135776
you should never place the T-Logs on the OS Drive, never!!
Ideally you would place your datafiles on one physical volume, and your T-Logs on another separate volume.
Ideally you would separate out again your tempdb to a disignated disk for the data file and one for the log file.
Depending on the amount of CPUs your server has as well, you should create multiple datafiles for your tempdb.
0
 
LVL 10

Expert Comment

by:Humpdy
ID: 34135778
also, for write intensive applications you should look at RAID 10 instead of RAID 5
0
 
LVL 1

Author Comment

by:Joe_Budden
ID: 34136103
Thanks! Out of interest, what's the reason for never placing transaction logs on the C drive?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 10

Expert Comment

by:Humpdy
ID: 34136123
it's bad practice,
t-logs should be placed on their own spindle, outside of the OS.
Also, for fault tolerance, you want them on a separate disk in the case of a disaster happening.
Performance gains when placed outside of OS drive.
0
 
LVL 1

Author Comment

by:Joe_Budden
ID: 34136289
Thanks..

As regards to placing t logs on their own drive, does this include when circular logging is enabled?
0
 
LVL 10

Expert Comment

by:Humpdy
ID: 34136371
the actual t-logs is circular logging anyway, but still, should always be placed separately to data fils.
0
 
LVL 1

Author Comment

by:Joe_Budden
ID: 34136427
Ah ok.... I thought t logs were only flushed with a full backup ?
0
 
LVL 10

Expert Comment

by:Humpdy
ID: 34136493
by ciruclar log, it's not automatic.....
yes, you need to truncate the log essentially for it to wrap around.
Doing a transaction log backup within SQL will do this.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question