![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
1) I need some definitions: physical log (I think this a fixed-length file.) logical log virtual log |
|
2) My understanding of the term "transaction log" is that such a log would be preserved until a backup is done, but the text has conflicting statements. There is something about a checkpoint. When is truncating a transaction log is done by SSE? |
|
3) When are committed transactions used to update the tables? I would have thought that this would happen fairly often, |
#3
| |||
| |||
|
|
Gene Wirchenko (genew (AT) ocis (DOT) net) writes: 1) I need some definitions: physical log (I think this a fixed-length file.) logical log virtual log To be honest, I don't know what the author may have in mind, least of all the first two. A transaction log consists of a number of Virtual Log Files (VLF), but I would not really consider it beginner's matieral. Heck, I only have a dim understanding of it myself. |
#4
| |||
| |||
|
|
Hello: The text that I am studying is Robin Dewson's "Beginning SQL Server 2008 Express for Developers From Novice to Professional" published by Apress. It generally quite readable, but I am running into some trouble in the chapter on backups. I have checked Books Online for some of this, but to no avail. Because I do have some confusion here, my questions might not quite be correct for what I need. I want the basic terms, not the ins and outs of how they are used. If I get that, then my text will probably make much more sense for the rest. 1) I need some definitions: physical log (I think this a fixed-length file.) logical log virtual log I think this is what the author has in mind: |
#5
| |||
| |||
|
|
I think this is what the author has in mind: Physical log is simply the .ldf file Logical log is the definition of the log in the sys.objects table. Just as a database will have both a logical name and a physical file name, so will a transaction log. For example, you might have a database called "mydatabase". "mydatabase_data" might be its logical name as stored in sys.objects. "mydatabase_data.mdf" might be the physical filename. "mydatabase_log" would be the logical name stored in sys.objects, and "mydatabase_log.ldf" would be the physical file name. "virtual log" I suspect refers to the VLFs (virtual log files) that you will find discussed in books online. |
![]() |
| Thread Tools | |
| Display Modes | |
| |