Can Date Compression be utilized for reducing database size?
niteshnav
Member Posts: 35
Hi,
We have a typical retail scenario..HO & Shops...HO is running with SQL & shops are running with native database with regular replications...We are facing problems with shops growing data exponentially....Can date compressions be utilized to compress the native database? since the shops look for sales to the HO, can date compression for GL, Customer & vendor ledgers etc. be a useful feature of navision?
regards,
Nitesh
We have a typical retail scenario..HO & Shops...HO is running with SQL & shops are running with native database with regular replications...We are facing problems with shops growing data exponentially....Can date compressions be utilized to compress the native database? since the shops look for sales to the HO, can date compression for GL, Customer & vendor ledgers etc. be a useful feature of navision?
regards,
Nitesh
0
Comments
-
how have you setup replication for the ledger tables? Are you posting in stores? I would not post in stores. Replicate the Statements in HQ and post them, and replicate the cust ledger, item ledger, value entry tables back to Stores. Also posting statements combines the items etc. Are you doing that?0
-
Date compression can be set to different period lengths ( day , week, month, etc.) so if e.g. only sales per month are required for the past years the item ledger entries can be compressed to one entry per month and location. This can effectively reduce the size of the database especially for ledger entries of fast-moving items. All fields values not retained are blank in the compressed entries, so check if any additional information is needed.
G/L entries and customer /vender ledger entries should only be compressed if no one in the financial department needs the detailed information anymore.
Take care of what field contents and dimensions are to be retained. Once compressed , this information can not be restored.Kai Kowalewski0 -
Before compressing, it can be a good idea to take a backup of the DB for savekeeping during the process and and even more for having a backup of the original entries in case the need arises to see them.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
We are replicating only the Bank, Customer, Vendor, Item table. And we are running batch jobs on the NAS scheduler to import sales information.
Does date compression for the Ledger tables affect the HQ data after replication?
regards,
Nitesh0 -
Date compression deletes ledger entries and creates new ledger entries that are a sum of 1 or more old ledger entries. With this you lose some detail. So if your HQ needs those details, you can't compress them.
Your HQ will probably get messages that some entries are deleted and others have added. Depends on how the replication works.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Yes it will effect your headquarter. THe newly created entries will be replicated to HQ, doubling the balance.
You have to create another replication Job with a new counter that would delete the entries in HQ.
Please Test this in your test environment before doing it on live system.0 -
I still didn't get a clear idea:
Condition: I am doing the Date compression only at the Stores & not the HO. Compression is done on following tables:
a. Customer Ledger
b. Vendor Ledger
c. Item Ledger
d. General Ledger
e. Bank Ledger
1. Does the date compression at Stores cause problem at HO on replication?
It depends on the Tables that are replicated from Stores to HO. If i am not replicating my ledger tables from stores, old entries are deleted & all new entries are created in ledger tables at STORES ONLY unless they are replicated to HO.
regards,
Nitesh0 -
2. If i am replicating ledger entries as well, then i will have to create a new replication job with replication counter plus, create new entries?
regards,
Nitesh0 -
If you don't replicate ledger entries : no problem.
If you do : date compression deletes some ledger entries and creates new ones. So if you replicate only the new ones, you figures will increase (or double in case you compress all entries). So you have also to replicate the deleted entries, meaning you have to delete them also in the HQ. If this is not possible, you have to delete all entries in the HQ can replicate all entries again from the stores.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
What is growing fast (=how many GB per week, how many records in which tabels per week)?
Closing the fiscal year is maybe not necessary, because you can compress only data before the fiscal year.
You might also check the keys of the tables (e.g. Table 32 : only 1/3 of the tablesize is data and 2/3 is keys). Maybe you have a lot of keys and some of them are not used, or only used for 1 report. So if you redesign the report, you can delete the key.
You might also consider SQL. With SQL you can decide to NOT maintain a key or SIFT-index. (e.g. not maintaining big indexes (because SQL prefers NOT to use those), and creating new small indexes), gaining space and speed.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

