You are here: Re: SQL Server 2005 and file systems, any recommendations « MsSQL Server « IT news, forums, messages
Re: SQL Server 2005 and file systems, any recommendations

Posted by David Portas on 08/07/06 19:33

Bjørn Augestad wrote:
>
>
> I'm no NTFS expert either, so I read the tech spec for NTFS at
> http://technet2.microsoft.com/WindowsServer/en/library/59a9462a-cbdd-45e7-828b-12c6cd9ae4781033.mspx?mfr=true
>
> Here's a quote:
> NTFS Change Journal
>
> As files, folders, and other NTFS objects are added, deleted, and
> modified, NTFS enters change journal records in streams, one for each
> volume on the computer.
>
> My interpretation, hopefully wrong, is that NTFS journal entries will be
> written to disk whenever a file is modified. This will lead to disk head
> movement and decreased performance on a busy disk, won't it?
>


The point of NTFS journaling is to protect the integrity of file system
META-DATA - avoiding the integrity issues inherent with FAT. NTFS
doesn't guarantee data consistency. For that SQL Server relies on the
transaction log. Your transaction logs can and should be placed on
separate drives to avoid disk contention.

"The Windows NT Filesystem (NTFS) is a journaling, or transactional
file system. This means that any I/O that alters the file system data
or meta-data (directory structure, etc.) is completed atomically so
that either all of the changes are completed"
http://www.microsoft.com/technet/archive/termsrv/evaluate/indcomp/tsunix.mspx?mfr=true

"NTFS does not do data journaling"
www.cs.wisc.edu/adsl/Publications/sba-usenix05.pdf

"An important feature of NTFS is journaling. Before a change is made to
the metadata of a file, a transaction is logged in the $LOGFILE."
http://www.mcmillan.cx/ntfs.html

--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация