INFO: Interpreting File Names in the Storage DirectoryLast reviewed: March 4, 1998Article ID: Q174307 |
The information in this article applies to:
SUMMARYThis article describes the files in the Msmq\Storage and Msmq\Storage\Lqs directories. This information is useful, for example, if you want to manually inspect the properties of a private queue or determine the disk space being used for the storage of messages.
MORE INFORMATION
Files in the Msmq\Storage DirectoryFile names with an .mq extension represent memory-mapped files in which messages are stored. The .mq file name extension will be prefixed with a letter representing the type of messages it is tracking: r - Express messages (Note that express messages are normally held in RAM, not disk. This file is used when there is no more available RAM.)p - Persistent (recoverable) messages j - Journal messages l - Indexing bitmap for interpreting the journal or recoverable files. NOTE: An .mq file does not identify or map to a unique queue. Messages from multiple queues may be held in one .mq file, or messages from a single queue may span multiple .mq files. A single message cannot span multiple files (hence the 4 MB limit in size). The QMLog file is a history of all message queue processing. When the log is full, the oldest log data is overwritten as new entries are made. To allow this continuous, cyclic writing to the QMlog, the state of receiving ordered messages and the state of all active transactions is periodically saved to the following files (respectively):
MQInSeqs.lg1 MQInSeqs.lg2 MQTrans.lg1 MQTrans.lg2The .lg1 and .lg2 files are written to in an alternating pattern, to ensure that one of the pair will persist if the other is damaged during a write.
Files in the Msmq\Storage\Lqs DirectoryFiles in this directory are text files that describe properties of the local queues. They are accessed as an .ini file. File names formatted nnnnnnnn.hhhhhhhh represent private queues. The nnnnnnnn portion is the queue number (included in the direct format name for the queue). The hhhhhhhh extension is a hash of the path name used for quick lookup. File names formatted aaaaaaaabbbbccccddddeeeeeeeeeeee.hhhhhhhh represent local public queues. The 32 character portion of the file name to the left of the period is the GUID of the queue. The hhhhhhhh extension is again a hash of the path name.
REFERENCESFor more information, visit the Web site at:
http://www.microsoft.com/msmq |
Additional query words: filename filenames pathname
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |