• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 379
  • Last Modified:

MSDE, transaction logs and partitions

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
Joe_Budden
Asked:
Joe_Budden
  • 5
  • 3
1 Solution
 
HumpdyCommented:
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
 
HumpdyCommented:
also, for write intensive applications you should look at RAID 10 instead of RAID 5
0
 
Joe_BuddenAuthor Commented:
Thanks! Out of interest, what's the reason for never placing transaction logs on the C drive?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
HumpdyCommented:
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
 
Joe_BuddenAuthor Commented:
Thanks..

As regards to placing t logs on their own drive, does this include when circular logging is enabled?
0
 
HumpdyCommented:
the actual t-logs is circular logging anyway, but still, should always be placed separately to data fils.
0
 
Joe_BuddenAuthor Commented:
Ah ok.... I thought t logs were only flushed with a full backup ?
0
 
HumpdyCommented:
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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now