We are distributing an application that uses the MS Access.mdb file. Someone noticed that after opening a file in MS Access, the file size is greatly reduced. This suggests that the file is a good candidate for compression, but we do not provide tools for our users.
So my question is: does it matter? Do we care? What can happen if our users never compress the database?
In addition to shrinking your database, it will recount the indexes in your tables and defragment your tables, which can make access faster. It will also find any inconsistencies that should never occur in your database, but can be caused by errors or failures in Access.
This is not entirely risk-free, although an error in Access 2007 sometimes deleted your database during the process.
So this is generally a good thing, but you need to make a couple with a good backup routine. Thanks to the backup, you can also restore any "fatal" compact and repair problems with minimal data loss.
, , , . , - - , . , , , , - .
Jet , 4 "" (2 95/97) , , , . Jet , , , , . / db.
Jet . , Jet , , . , Jet , , .
2000, 2002, 2003 2007 , . :
1 -
2 - ,
3 - , ( "" , Access)
4 - VBA
5 - , ,
6 - ,
, , / db, , - , - , .
Access ( MS JET) . (, , MS JET) - , , , - .
, [Access] (, ), - ( , , ).
, ():
Microsoft Access ADO , .
. , 600 , 60-80.
Nate: , . , . , , , , ( , ).
, , , MS-SQL.
, .
, Access . .
, ! mdb , , . . mdb, , :
Application.SetOption( "" ), 1
I also highly recommend looking into VistaDB ( http://www.vistadb.net/ ) or SQL Compact ( http://www.microsoft.com/sql/editions/compact/ ) for your application. This may not be suitable for your application ... but they deserve attention.
Source: https://habr.com/ru/post/1696980/More articles:Предварительный просмотр файла для всего файла .cs в каталоге и подкаталоге с помощью PowerShell - powershellWriting to a file is more than just text - fileHow to force restart the computer, and not turn off (XP) - windowsCan you have more than one ASP.NET state server in a cluster? - windows-server-2003Interactive world map - suggestions? - flashhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1696981/tools-to-effectively-manage-the-information&usg=ALkJrhg32JbhqLrsViGNiR6-BD4HaW0Gaghttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1696982/how-can-i-cause-subversion-to-check-out-projects-from-other-repositories&usg=ALkJrhiud2ugLk5GbbyGYQUX4VgX8eOcfQHow to limit runtime for a Perl script in IIS? - perlMake VS compiler compile signed / unsigned assignments? - c ++How can I prevent URLDownloadToFile from being cached? - c ++All Articles