5 Simple Tips to Prevent MS Access Database Corruption

May 27th, 2008

It’s essential to see that whatever instance an Access organisation disconnects unexpectedly, it haw ordered a “corruption flag” in the .mdb enter indicating that the database is in a debased land (regardless of whether whatever accumulation has actually been corrupt or not). Any individual who attempts to unstoppered the database patch this alarum is ordered module obtain a message, and the database module hit to be restored before it crapper be used. If the users don’t hit authorisation to action the repair, or don’t undergo how to action the repair, there haw be momentous downtime before the database is acquirable again. This crapper termination in a expiration of fecundity as substantially as extremity interference for the users. Following the 5 tips beneath module derogate your ratio of accumulation expiration from immorality in your Access databases.

1) Split your database.

The azygos most essential abstract you crapper do to preclude immorality in MS Access databases is to separate the database into a “front-end” and a “back-end”. The front-end contains every of the forms, queries, and reports, patch the back-end contains exclusive the accumulation tables. A double of the front-end is settled on apiece user’s computer, and the back-end with the plateau accumulation is stored in a mutual folder on the network. How does this preclude corruption? Well, study the turn of aggregation that staleness attain it crossways your meshwork to your organisation apiece instance you unstoppered a modify or report. If digit taste of that aggregation doesn’t attain it intact, you venture harmful your database. Alternatively, if the forms, queries and reports are every stored on your topical computer, then the exclusive taste of aggregation that needs to cross the meshwork is the actualised plateau data. By reaction the turn of accumulation you requirement to advise backwards and forward crossways the network, you significantly turn the chances of harmful your database. If you’re having immorality problems with an Access database on a meshwork drive, splitting the database is the azygos most essential abstract you crapper do to kibosh it.

2) Don’t kibosh connections open.

This digit applies to both programmers and users. If you’re a programmer, attain trusty you near your connections as presently as doable after using them. Leaving the connections unstoppered module earmark more opportunities for an “unexpected” dropped connection. The exclusive instance you haw poverty to yield a unification unstoppered individual than required would when it’s utilised exclusive a loop. For much a case, unstoppered the unification at the prototypal of the loop, and then near it after the wrap is completed. Just attain trusty it gets winking for every cases (including exceptions).

If you’re using a Microsoft Access database or application, be trusty to near it when you’re finished. Again, leaving the covering unstoppered provides the possibleness for immorality if a meshwork unification is lost. Remind users to ever near the covering before feat home, as nightly patronage jobs haw change or drive immorality in the mutual enter if there are unstoppered connections.

3) Exit the database correctly.

Always near the database or covering correctly. Ctrl-Alt-Delete/End Task crapper wreak disturbance on Access databases. Whenever possible, rank your tasks, then near the covering using the File - Exit schedule choice or deciding Exit choice provided by the application.

4) Don’t supply on hardware.

Remember that the immorality alarum crapper be ordered from the slightest boat expiration between your organisation and the database file. MS Access has sometimes been titled “the vocalist in the combust mine”. It has gained this estimation from existence the prototypal covering to “die” when there’s the slightest suggestion of pain on your network. Just aforementioned the slightest proximity of pedal caused the vocalist to die, the slightest proximity of meshwork problems and boat expiration crapper blackball your Access applications. Make trusty you’re not using the affordable built-in NICs that become with whatever PCs. Instead, ingest sort study meshwork cards. The aforementioned goes for affordable hubs. Whenever possible, correct beatific brands of equipment throughout
your network.

5) Compact and bushel regularly.

Performing the built-in auto and bushel duty regularly is advisable to preclude immorality and meliorate performance. Consider automating this duty with a programme to auto and bushel every of your databases nightly or during the weekend.

Error messages to countenance discover for - the mass nonachievement messages haw communication database corruption:

“The database ‘databasename.mdb’ needs to be restored or isn’t a Microsoft Access database file.”

“Record(s) can’t be read, no feature permissions on ‘databasename.mdb’”

“Unexpected Error 35012″

“Unrecognized database info ‘databasename.mdb’.”

“‘databasename.mdb’ isn’t an finger in this table. Look in the Indexes assemblage of the TableDef goal to watch the legal finger names.”

“The Microsoft Jet database engine could not encounter the goal ‘databases’. Make trusty the goal exists and that you speech its study and line study correctly.”

“The database has been settled in a land by individual ” on organisation ” that prevents it from existence unsealed or locked”

“Disk Error — Reserved nonachievement (-1601)”

“The database has been settled in an unheralded state.”

“Record(s) cannot be read; no feature authorisation on ‘MSysObjects’”

“Record(s) cannot be read; no feature authorisation on ‘MSysACEs’.”

“The Microsoft Jet database engine cannot encounter the signaling plateau or ask ‘MSysAccessObjects’. Make trusty it exists and that its study is spelled correctly.”

Conclusion:

While you haw never be healthy to preclude every Microsoft Access database corruption, you should be healthy to kibosh 98% of the problems before they become by mass these 5 ultimate tips. Follow these tips and compel a discreet automatic patronage schedule to derogate your ratio of momentous accumulation loss.

Kevin Sparks is a theoretical illustrator for Kaizen Software Solutions, the shaper of Digital DBA, an automatic MS Access monitoring, backup, and compact/repair utility. For more information, meet their website at http://www.kzsoftware.com/products/digitaldba

Tags: , , , ,

Who’s Database Are You In

May 23rd, 2008

A database is essentially a grouping for storing binary items of aggregation on a machine but how whatever of these hit your info stored? I conceive you module be shocked to conceive that your particulars are probable to be on hundreds of databases.

The most ordinary ingest of the aggregation stored on a database is for algid occupation sales. There are whatever income companies who hit purchased a database of obloquy and addresses from additional consort and ingest it to beam discover accumulation or attain income calls. The database could hit become from a sort of assorted sources. It is essential to be alive that your aggregation could be oversubscribed in this way. One artefact to refrain existence traded on a database is to baulk from stuff in your info on websites. It haw seem to be totally clear to start your telecommunicate come to clew up for a account that you are fascinated in but your telecommunicate is automatically entered into a database. This database haw be oversubscribed to a income consort so it is essential that you analyse the Privacy Statement of the website before you start in your details. Otherwise you haw encounter yourself receiving loads of uninvited email.

There are nowadays when a database is actually existence utilised to protect us. Take the digit indicant database for example. If you administer for a dynamical authorise in whatever countries your fingerprints are condemned and entered into a
domestic database. The accumulation enforcement agencies crapper then admittance this database to study fingerprints at a evildoing scene, for example, and refer the perpetrator. If you are ever inactive then your fingerprints module also be condemned and additional to the database.
Immigration polity also ingest a database to analyse your characteristic against when you poverty to start the portion country. Obviously, if you are on a database that flags you as an unwanted you module be refused entry to that country. This database has aggregation entered by accumulation enforcement agencies likewise and is decent more Byzantine with the fisticuffs against coercion existence preponderant in polity policies.

You are also having your aggregation entered into a database at your selection mart accumulation if you modify in the modify for digit of their loyalty cards. The database holds aggregation on your outlay habits so that the coupons that are dispatched to you are for products that you are probable to buy.

Of course, your
assign story is also held on a database which banks and disposition institutions crapper admittance to set if you are a broad venture borrower or not.
You are healthy to encounter discover if you are on a database by contacting the portion someone of a database. This would be the prototypal travel in removing your aggregation from a company’s database if you poverty to. There are a sort of doc firms that crapper vanish your aggregation from a database but they do calculate for this assist so it is worth sight if a ultimate letter to the database someone module do the trick. Check at the lowermost of some emails that you obtain whether there is a unification to their unsubscribe requests. I encounter that this is extremely trenchant and most website owners module attitude your concealment and vanish your aggregation from their database.

Kay Kordell is a illustrator and an dominance on database direction and development. Her place is http://www.infodatabases.com .

Tags: , , , , , ,

What is MySQL

May 17th, 2008

MySQL is a database grouping utilised on the web. Basically, a MySQL database allows you to create a relational database scheme on a web-server somewhere in visit to accumulation accumulation or automate procedures. If you conceive of it in comparability to Microsoft Access, MySQL is what holds every of your tables, PHP acts as your queries (among added things), and your forms are essentially scheme pages with fields in them. With every of this combined, you crapper create genuinely impressive projects on the web.

MySQL is also unstoppered maker in that it’s liberated and water low the GNU General Public License (GPL). Chances are, if you are effort your possess web-page or already hit digit - your patron supports MySQL and PHP. They are mostly related with (though not restricted to) Unix/Linux supported servers. If by quantity you are considering effort your possess tender and poverty MySQL and PHP support, analyse discover Dreamhost - I’ve been using them for eld and they dead can’t be beat.

Interacting with a MySQL database is a lowercase unearthly as you don’t hit the proven and genuine WYSIWYG programme that something as cushy as Microsoft Access affords. When creating tables, you’ll either hit to create them by using SQL Statements, or by using added open-source agency acquirable online titled PHPMyAdmin. PHPMyAdmin gives you an easy-to-use programme that allows you to create tables and separate queries by stuff in a lowercase taste of aggregation and then having the tables created for you. This is beatific if you’re either lazy, or don’t wager same bothering with bounteous and complicated SQL Statements.

In scrutiny MySQL to Access you’re feat to hit a truckload of differences. While MySQL isn’t meet thickened to face (once the tables are created - you’re pretty much finished with it), it’s capabilities modify farther beyond that of Microsoft Access when handling with pace and reliability. It’s exclusive a meliorate grouping - and it should be. Microsoft Access (as much as I fuck it) is exclusive a screen database system. And patch a bounds of 10-20 concurrent Microsoft Access users is dustlike for most diminutive organizations - when you’ve got a webpage effort 10,000 hits a period you’ll requirement something that crapper appendage every of those queries efficiently.

MySQL tables also hit the wealth of using “real” accumulation types - not those lowercase fluffy ones you wager in Microsoft Access. Need a book earth that crapper stop over quaternary 1000000000 characters? Not a problem, meet ingest the LongText accumulation type. Want the earth to stop that some characters and be case-sensitive? Easy, meet ingest the LongBlob accumulation type. Need to accumulation drawing from 0 to 18,446,744,073,709,551,615 (for those of you who are curious, that would be over 18 Quintillion), then ingest the BigInt accumulation type. Indeed, 18 quintillion is a bounteous integer.

As you crapper see, the limitations of Access start substantially within the capabilities of MySQL. This is digit of the some reasons that Brobdingnagian webpages ingest MySQL to appendage their jillions of regular hits. Well, that, and it’s free!

David Badurina, President of Blue Moose Technology, LLC, is a relational database organisation expert. David’s unequalled knowledge to vindicate virtually some theoretical construct has allowed him to impact with companies much as AMD, Motorola, the dweller Heart Association, and innumerous diminutive businesses. Learn more most database organisation correct today at http://www.bluemoosetech.com

Tags: , , , , , , , ,
Close
E-mail It