[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

MSDE, transaction logs and partitions

Posted on 2010-11-15
8
Medium Priority
?
377 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 2000 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

831 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