mdb文件大小越来越大 [英] mdb file size getting bigger

查看:100
本文介绍了mdb文件大小越来越大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我基本上在项目中使用mdb文件作为本地数据库来存储需要显示在前端的记录.这些记录在登录到应用程序时下载.在此之前,我使用compactdb方法压缩mdb文件.

几天以来,我的客户开始观察到mdb文件的大小达到了30-60 Mb的水平,而以前只能达到10-12 Mb的最大值.由于数据的大小和数量仍然保持不变,并且未将任何内容添加到mdb文件,因此我们无法确定导致此问题的原因.
一旦应用程序由于compactdb而重新启动,它通常会恢复其原始大小(2-3 Mb),并且在此期间可以正常工作,然后逐渐变大.

在2-3个系统中只能观察到此异常,而其他系统则可以正常工作,因为大小永远不会超过10 Mb.
是否存在导致此问题的某些系统/环境变量/问题或需要完成的编码..
请帮忙...

问候,
Ashish

Hi,
I am using a mdb file as my local database in my project basically to store records which needed to display at front end.. these records get downloaded at the time of login to the application. Before that i am using compactdb method to compress the mdb file.

Since few days my clients started observing that size of mdb file reaching to a level of 30-60 Mb which was previously only to 10-12 Mb max. Since the data still remains the same in size & quantity & nothing has been added to the mdb file, we are unable to determine the cause of this issue.

Once the application gets restarted due to compactdb it regains its original size usually (2-3 Mb)& work correctly for that time, which again gradually gets bigger.

This anomaly is been observed with 2-3 systems only for others its working perfectly as size never gets more than 10 Mb.
Is there some system/environmental variables/issues causing this or some coding needed to be done..
Please Help...

Regards,
Ashish

推荐答案

Access数据库在使用时确实会变大-可能包含更新和插入.
最好的解决方案是建立一个压缩它们的常规系统:也许每个星期一早上?
Access databases do get bigger as you use them - that can include updates as well as inserts.
The best solution is to establish a regular system of compacting them: perhaps every Monday morning?


这篇关于mdb文件大小越来越大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆