Bison Infosolutions Knowledgebase
Protect your Lenovo Server
Contact WhatsApp

Understanding LST_XXX.dat Files in TallyPrime Data Folder: Structure, Purpose, and Best Practices

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:

LST_XXX.dat

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

4

A typical Tally company folder (e.g., 10006) contains:

Core Files

  • Company.900 โ†’ Primary company data
  • CmpSave.900 โ†’ Save state snapshot
  • Manager.900 โ†’ Data structure manager
  • LinkMgr.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

4

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 structure
  • LinkMgr.900 โ†’ links records across files
  • LST_XXX.dat โ†’ stores actual indexed lists


? Examples of Data Stored

File TypePossible Content
LST_107.datLedger masters
LST_124.datVoucher entries
LST_168.datStock items
LST_237.datCost centres
LST_943.datInternal 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

  • Rewrite company data

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




4

Recommended Approach:

  • Backup full folder:

    Tally Data โ†’ Company Folder (e.g., 10006)
  • Store backups:
    • External drive
    • Cloud storage
    • Network location


? 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
Sponsored