Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


DB File Extension


DB File Extension

Author
Message
Muhammad Tariq
Muhammad Tariq
SSC-Enthusiastic
SSC-Enthusiastic (140 reputation)SSC-Enthusiastic (140 reputation)SSC-Enthusiastic (140 reputation)SSC-Enthusiastic (140 reputation)SSC-Enthusiastic (140 reputation)SSC-Enthusiastic (140 reputation)SSC-Enthusiastic (140 reputation)SSC-Enthusiastic (140 reputation)

Group: General Forum Members
Points: 140 Visits: 245
Comments posted to this topic are about the item DB File Extension

Tariq
master your setup, master yourself.
http://mssqlsolutions.blogspot.com
Ben Leighton
Ben Leighton
Mr or Mrs. 500
Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)

Group: General Forum Members
Points: 590 Visits: 359
why oh why did I think this was a trick question?Smile
Of course .ldf is a sql server file extension... but is .ldf really a "sql server database" file extension. My reasoning? For a fully functioning sql server database you need all the .mdf and .ndf files that were set up when the database was created... the .ldf is merely a list of recent transactions. Lose either the .mdf and .ndf files and you will have nothing that will work... delete the .ldf and you simply lose a few transactions.
One valuable point missed I think!
timothyawiseman
timothyawiseman
SSC Eights!
SSC Eights! (806 reputation)SSC Eights! (806 reputation)SSC Eights! (806 reputation)SSC Eights! (806 reputation)SSC Eights! (806 reputation)SSC Eights! (806 reputation)SSC Eights! (806 reputation)SSC Eights! (806 reputation)

Group: General Forum Members
Points: 806 Visits: 920
I'm inclined to agree with Ben. It does depend on how you define the terms, but I generally do not think of ldf as a database file.

It stores log information, and while that can be valuable it does not store relational database information per se. You can destroy and recreate the ldf file with very minimal consequences, but if an mdf or ndf file is damaged you will be looking for the backups.

---
Timothy A Wiseman
SQL Blog: http://timothyawiseman.wordpress.com/
rodjkidd
rodjkidd
Hall of Fame
Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)

Group: General Forum Members
Points: 3662 Visits: 8037
Actually they are all listed in BOL together as files, so i would agree with the Question. Helps I got it right as well Wink

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/39e00ebe-c9b7-4d53-90bd-15de2015fd34.htm

Not sure if that works for everyone, as I find it weird that my local BOL gives a web type address for the pages... So no idea if that's universal for all installs.

Actually I was in two minds about .ndf - I knew it was a suggested extension for secondary data files but wasn't sure if it was the default. Picked it anyway, so for once I got a fifty fifty right! I get a very high number of fifty fifty's wrong - which statistically speaking shouldn't the be the case Smile



Wilfred van Dijk
Wilfred van Dijk
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1025 Visits: 1352
aaaargh! .ldf is not a databasefile extension, but a logfile extension. Crazy
So i disagree with the suggested "correct" answer

Wilfred
The best things in life are the simple things
rajankjohn
rajankjohn
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1203 Visits: 575
another confusing QOD
elbedata
elbedata
Hall of Fame
Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)Hall of Fame (4K reputation)

Group: General Forum Members
Points: 3954 Visits: 1087
He, He, Didn't think about *.ldf as a "database" extension.
Sometimes the QOD wording could be better... Tongue

Lars Broberg
Elbe-Data AB
Mighty
Mighty
SSCarpal Tunnel
SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)

Group: General Forum Members
Points: 4186 Visits: 1648
Please don't confuse "database files" with "data files".
A database is more than just a data file.
skyline666
skyline666
Old Hand
Old Hand (350 reputation)Old Hand (350 reputation)Old Hand (350 reputation)Old Hand (350 reputation)Old Hand (350 reputation)Old Hand (350 reputation)Old Hand (350 reputation)Old Hand (350 reputation)

Group: General Forum Members
Points: 350 Visits: 229
Michael Kipp (8/28/2008)
Please don't confuse "database files" with "data files".
A database is more than just a data file.


According to the link provided with the QOD, .mdf, .ndf and .ldf all come under "database files", and it states .mdf and .ndf as "data files".
Jamie-2229
Jamie-2229
SSCrazy
SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)

Group: General Forum Members
Points: 2957 Visits: 831
Gee... I figured I would get this one wrong. It was so obvious that the question was not specifically including log files when the statement asked for database files, that the question was not, what are the extensions, but was the person writing the question going to be grouping log files with database files? Now I can see that the person is actually Microsoft and they call them database files. I call them log files. Same thing. So the question is now - is Microsoft right or me?

OK, Microsoft, I concede - you're bigger than I am.

Jamie
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search