in reply to Re: Question about properly laying out a database
in thread Question about properly laying out a database
However, your suggestion of getting an array of matches for each criterion and then finding the overlapping set is a good one. You can make one DB_File database for each criterion (make.db, model.db, etc.) and then the content for each record could be a list of car IDs (like unique object IDs) that you use to look up the car data in a separate content database (also a DB_File, with data serialized using Storable in each record).
However, it would be much easier to just use MySQL.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Question about properly laying out a database
by joealba (Hermit) on Dec 12, 2001 at 09:31 UTC | |
by perrin (Chancellor) on Dec 12, 2001 at 12:32 UTC | |
by dws (Chancellor) on Dec 12, 2001 at 12:40 UTC | |
by perrin (Chancellor) on Dec 12, 2001 at 23:13 UTC |