bonsaiTALK Home Page  

Go Back   bonsaiTALK Community > Misc > Bonsai Software
User Name
Password
Register FAQ Members List Calendar Mark Forums Read
Forum Gallery Weather Journals Links Webring Wiki NEW:Shop
Articles Opinion T.O.D. NEW:Radio Contests Humor NEW: Auctions! Donate


Physical Database Configuration

Reply
 
Thread Tools Display Modes
bonsaiTALK Hint: Did you know you can double click any bonsai term on this page for its definition?
Old 6-Apr-2007   #1
BrianP03103
bonsaiTALK Master
BrianP03103's a bonsaiTALK supporter! Click Here to find out how you can be one too!
 
BrianP03103's Avatar
 
Join Date: Dec-2006
Location: Manchester, NH
Country: USA
Posts: 390
Lightbulb Physical Database Configuration

There are several problems we have experienced and others I forsee with the current physical configuration of the database.

Previously, I set up two database entities. The first one held the software and most of the data. The other database entity held the pictures.

The problem experienced with this configuration was that, in spite of a clear field on the main menu for (re)linking the two databases, some just could not get the concept and had no end of problems getting the two to work together.

The current configuration uses one database entity, containing all of the software and most of the data. The pictures are contained in a hierarchy of file system folders external to the database entity. The database references these files and is sensitive to their physical placement.

The problem this time revolved with people physically relocating the database entity and not maintaining the proximity of the referenced picture file hierarchy. Of course, all of the pictures apparently went missing all of a sudden.

This is almost the same problem as the first configuration, linked stuff gets misplaced by the user and required connections are broken.

Now there is a new issue. What to do if there is a software update. With either of the two prior configurations, exporting the data from the old database and importing into the new database would be required.

Given the track record of a number of the users in our test group, this is even riskier and less likely to succeed than either of the two previous physical configurations.

Obviously, it is inadvisable to at all depend on the technical capabilities of the user(s) in maintaining the database. I would like to think that everyone was at least capable of handling the equivalent of a "file open" dialog, similar to what was required by the first configuration, but I don't know.

The most bulletproof and foolproof configuration I can think of is again two database entities. The first would contain all of the software but no data. The second would contain all of the data, including pictures.

This *would* require relinking the two databases whenever they are downloaded or relocated, but I can think of nothing safer. This would also allow the first database entity to be replaced in its entirety any time there is an update, without disturbing the contents of the of the second database entity (containing user's data and pictures).

What do you folks think? Does anyone have a better suggestion?

Regards,
Brian
__________________

Everything on all planes of existence is interconnected - you and your tree are
one!
__________________________________________

Download information for the
Bonsai Management System:
http://home.comcast.net/~BrianP03103/BonsaiManagementSystem.txt
BrianP03103 is offline   Reply With Quote
Old Sponsor Message Physical Database Configuration
Advertisement
Forum Sponsor
Old 7-Apr-2007   #2
carmi
bonsaiTALK Master Craftsman
carmi's a bonsaiTALK supporter! Click Here to find out how you can be one too!
 
carmi's Avatar
 
Join Date: Feb-2002
Location: Israel Ganei-Tikva
Country: ISRAEL
Posts: 736
Send a message via ICQ to carmi
Hi Brian,

In my humble experience the two databases is the best solution.

The user's data and the user's pictures must be a separate database.

As I see it, you should have at lest two databases, one for the program data and pictures and one for the user's data and pictures, so you can upgrade the program and/or the program database separately
__________________
Shalom (Peace),
Moshe.

Colors are an optic illusion of light – As viewers for the bonsai creation. M.S.C.
carmi is offline   Reply With Quote
Old 7-Apr-2007   #3
PatArizona
Bonsai Master, in my mind
 
PatArizona's Avatar
 
Join Date: Feb-2005
Location: Back Home in Northern California
Country: USA
Posts: 1,814
G'day Brian...

I think you've got it covered with the TWO Program.

Just don't forget ACCESS RUNTIME and hope that MicroSoft doesn't pull the plug on that one.

At my age, seventysomething...I have no desire to take on ACCESS, in all it's glory.

Pat
__________________
BONSAI isn't about surviving in a storm, rather, how to dance in the rain.
THE ONLY WAY: Always remember, and don't ever forget, that whatever you read here is not cast in concrete... the intent of any advice is to help. In no way should you feel that I’m saying that my way is the only way…heaven forbid! I've seen far too much of the "my way or the highway" attitude in bonsai as well as in other areas of life.

Pat Patterson...Bonsai in the Greater Bay Area, Northern California
PatArizona is offline   Reply With Quote
Old 7-Apr-2007   #4
kcpoole
bonsaiTALK Master Craftsman
 
Join Date: May-2006
Location: Sydney
Country: Australia
Posts: 842
Hi Brian

2 Db's is the way to go and you should just hard code the "Application" DB to look for a specific file name in the same directory as it resides for the "Data" DB.

This way you can say that if the pichtures/data does not appear in the DB, then check that the other file exists in the current directory as the Main DB file. ( you could even check it exists on startup and give an error if not present.

If it is left up the the users to locate and find the correct file then problems will ensue.


Ken
__________________
When engineers work out how to make something Idiot proof, humanity invents a better Idiot
kcpoole is offline   Reply With Quote
Old 7-Apr-2007   #5
BrianP03103
bonsaiTALK Master
BrianP03103's a bonsaiTALK supporter! Click Here to find out how you can be one too!
 
BrianP03103's Avatar
 
Join Date: Dec-2006
Location: Manchester, NH
Country: USA
Posts: 390
Wink Tech Support Pain

Quote:
Originally Posted by kcpoole
2 Db's is the way to go and you should just hard code the "Application" DB to look for a specific file name in the same directory as it resides for the "Data" DB.

Sounds like a good plan, Ken (et al).

Quote:
Originally Posted by kcpoole
This way you can say that if the pichtures/data does not appear in the DB, then check that the other file exists in the current directory as the Main DB file. ( you could even check it exists on startup and give an error if not present.
No thank you. All data will be in the "data" DB. If it's not there, the user broke something by moving one database without the other. Tough - you broke it, you fix it.

Quote:
Originally Posted by kcpoole
If it is left up the the users to locate and find the correct file then problems will ensue.
Yeah, that's been proven by previous experience - it appears to be too technically difficult a concept for some to grasp...

Thanks for the input,
Brian
__________________

Everything on all planes of existence is interconnected - you and your tree are
one!
__________________________________________

Download information for the
Bonsai Management System:
http://home.comcast.net/~BrianP03103/BonsaiManagementSystem.txt
BrianP03103 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Bonsai Management Software BrianP03103 Bonsai Software 137 6-Apr-2008 02:04 AM
Need Data to Preload Database Reference Tables BrianP03103 Bonsai Software 17 7-Mar-2007 10:30 AM
Smooth - Free - Database ozzerbon General 6 2-Mar-2006 09:13 AM
Aceana Database ozzerbon General 3 1-Oct-2003 01:37 PM


All times are GMT -3. The time now is 01:22 PM.


Powered by vBulletin v3.6.5
Copyright ©2000-2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8