Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS Access
 Comparing databases - Indexes
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

TastyNutz
Junior Member

USA
251 Posts

Posted - 01 September 2007 :  16:06:03  Show Profile  Visit TastyNutz's Homepage
Is there an easy way to compare the structure of two Access databases? I'd love something like a "Beyond Compare" equivilant for .mdb files.


PowerQuad Disability Support Forum

Edited by - TastyNutz on 04 September 2007 11:51:11

Podge
Support Moderator

Ireland
3775 Posts

Posted - 01 September 2007 :  16:21:49  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Haven't tried any of them - http://www.sharewareconnection.com/software.php?list=Access+Database+Compare

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

TastyNutz
Junior Member

USA
251 Posts

Posted - 01 September 2007 :  16:25:46  Show Profile  Visit TastyNutz's Homepage
Thanks. I Googled and found the same right after I posted.

This one is free (with embeded ads) and seem like what I need.

http://www.sharewareconnection.com/free-database-compare.htm


PowerQuad Disability Support Forum
Go to Top of Page

TastyNutz
Junior Member

USA
251 Posts

Posted - 04 September 2007 :  11:50:33  Show Profile  Visit TastyNutz's Homepage
When connecting an old database, I ran my dbs_ files to add missing tables/fields, and everything appeared to work fine. One exception was that the old topics would not archive properly. I compared the database against a known working one, and the only differences were the names of several indexes. The indexed fields were the same, just different names for the index. I made the names match those of the working database, and then the old topics archived okay.

Can someone help me better understand how the indexes work?
Are they created when the database is designed, or are they somehow created by code when the table is searched?
Why the long, random appearing names (e.g. Index_5D879B58_022D_4339)?
And when writing a dbs_ file, how can I best ensure that an upgraded database will work properly?

TIA.

BTW... The comparison tool I linked above works well enough. It doesn't have the easy copy over capability like Beyond Compare, but it is free.


PowerQuad Disability Support Forum
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 September 2007 :  11:53:33  Show Profile  Send ruirib a Yahoo! Message
What exactly do you mean by 'the old topics would not archive properly'?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

TastyNutz
Junior Member

USA
251 Posts

Posted - 04 September 2007 :  12:04:29  Show Profile  Visit TastyNutz's Homepage
When I selected a forum to archive, the process appeared to run and would give several lines of dots and then a single confirmation line, to the effect of "All topics older than 9-1-06 were archived." But upon checking the forum, there were still old topics. Archiving the same forum again resulted in something like "No topics archived. None found."

After changing the indexes, the archive process resulted in many lines of confirmation, and the old topics were removed as they should be.


PowerQuad Disability Support Forum
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 September 2007 :  12:11:46  Show Profile  Send ruirib a Yahoo! Message
That's weird. Indexes speed up database operations, many times dramatically, but they should not cause the forum to provide erroneous information like 'no topics found', when there are topics to archive. Timeouts or generally longer times to get operations to conclude, yes, but not things like those.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

TastyNutz
Junior Member

USA
251 Posts

Posted - 04 September 2007 :  12:18:12  Show Profile  Visit TastyNutz's Homepage
That's what I thought. But I'm 99% certain that my only changes were the index names. Hmmmm... Perhaps I'm mistaken. I'll try to replicate the issue later and see if I can provide access to a live example.

Thanks ruirib.


PowerQuad Disability Support Forum
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 04 September 2007 :  12:47:47  Show Profile  Send pdrg a Yahoo! Message
Index names are unimportant to the db, however maybe changing the name forced a statistics/index refresh?

Indexes themselves would speed up searches and reads, but slow down inserts, updates and deletes (as the dbengine has multiple writes to do, not just one table)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07