Understanding LST_XXX.dat Files in TallyPrime Data Folder: Structure, Purpose, and Best Practices
๐
02 Apr 2026
๐ General
๐ 3 views
In TallyPrime, company data is not stored in a single database file like traditional SQL systems. Instead, Tally uses a proprietary file-based data architecture, where multiple files together form a complete company dataset.
One of the most commonly noticed file types in the data folder is:
These files often confuse system administrators and accountants, especially during backups, migrations, or troubleshooting. This article explains their purpose, structure, and handling in a technical yet practical manner.
? Overview of Tally Data Folder Structure
A typical Tally company folder (e.g., 10006) contains:
Core Files
Company.900 โ Primary company dataCmpSave.900 โ Save state snapshotManager.900 โ Data structure managerLinkMgr.900 โ Internal linking/index control
Supporting Files
AddlCmp.900 โ Additional company configuration*.tsf โ Temporary files (during operations)
Data Segment Files
LST_XXX.dat โ List data storage (focus of this article)
? What are LST_XXX.dat Files?
Definition
LST_XXX.dat files are List Data Files used by Tally to store structured collections of business data.
Key Characteristics
- Binary format (not human-readable)
- Auto-generated by Tally
- Each file represents a specific dataset or index
- Number (
XXX) is an internal identifier
? Internal Architecture & Working
Tally follows a hierarchical + indexed storage model:
1. Data Segmentation
Instead of one large database:
- Data is split into logical segments
- Each segment โ separate
.dat file
2. Indexed Lists
Each LST_XXX.dat stores:
- Ledger lists
- Voucher lists
- Inventory lists
- Cost centre lists
3. Mapping Mechanism
Manager.900 โ manages structureLinkMgr.900 โ links records across filesLST_XXX.dat โ stores actual indexed lists
? Examples of Data Stored
| File Type | Possible Content |
|---|
| LST_107.dat | Ledger masters |
| LST_124.dat | Voucher entries |
| LST_168.dat | Stock items |
| LST_237.dat | Cost centres |
| LST_943.dat | Internal indexing |
โ ๏ธ Note: Exact mapping is proprietary and may vary.
โ๏ธ Why Tally Uses Multiple LST Files
โ
Performance Optimization
- Faster read/write operations
- No need to load entire database
โ
Scalability
- Handles large data volumes efficiently
โ
Data Isolation
- Corruption in one file does not always affect entire data
โ
Multi-user Environment Support
- Better concurrency handling
? File Behavior & Lifecycle
Creation
- Automatically created when:
- New masters are added
- Transactions increase
Modification
- Updated in real-time during:
- Voucher entry
- Alteration of masters
Deletion
- Never deleted manually
- Managed internally by Tally
โ ๏ธ Common Issues Related to LST Files
1. File Size Becomes 0 KB
- Possible data corruption
- Improper shutdown
2. Mismatch Errors
- Happens when indexing breaks
3. Data Not Loading
- Linked LST file missing or damaged
?๏ธ Troubleshooting & Recovery
Step 1: Verify Data in Tally
- Open company
- Check for missing vouchers or ledgers
Step 2: Use Tally Repair Utility
Step 3: Restore Backup
- Replace entire company folder
Step 4: Check Disk Health
- Use tools like SMART diagnostics
? Important Doโs and Donโts
โ Do NOT:
- Delete
LST_XXX.dat files - Rename files
- Edit using external tools
- Copy partial files
โ
Always:
- Backup complete company folder
- Use Tallyโs built-in backup
- Ensure proper shutdown of system
? Backup Best Practices
Recommended Approach:
? Advanced Technical Insight
- Tally uses a proprietary database engine (not SQL-based)
LST files act similar to:- Indexed tables
- Data blocks
- Combined with
.900 files, they form a complete object database
? Conclusion
LST_XXX.dat files are a critical part of TallyPrimeโs internal data architecture. While they may appear confusing, they play a vital role in ensuring:
- Efficient data storage
- Fast processing
- Reliable multi-user performance
Understanding these files helps IT administrators and accountants avoid accidental data loss and manage backups more effectively.
#TallyPrime #TallyERP #TallyData #AccountingSoftware #TallyFiles #LSTFiles #TallySupport #TallyBackup #TallyRestore #DataRecovery #TallyErrors #TallyGuide #TallyHelp #TallyTechnical #AccountingData #TallyServer #TallyCloud #ERPSoftware #BusinessSoftware #TallyTips #ITSupport #DataManagement #TallyUsers #TallyExperts #TallyTraining #TallyKnowledge #FileStructure #DatabaseSystem #DataStorage #TallyAdmin #TallyIndia #GSTSoftware #AccountingIndia #SoftwareSupport #TechGuide #SystemAdmin #BackupStrategy #DataSecurity #Troubleshooting #TallySolutions #TallyConsultant #TallyLearning #ERPSystem #OfficeIT #ServerManagement #CloudAccounting #BusinessIT #SoftwareTraining #TechSupport #DigitalAccounting
TallyPrime
Tally data files
LST dat files
tally lst files
tally data folder
tally company folder
tally internal storage
tally file structure
tally database system
tally data architecture
LST_XXX.dat
tally indexing files
tally ledger storage
t