Joakim - any thoughts on these 2 additional questions? I'd like to finish tidying this section up soon.

Cheers,
Brett

On 21/08/2007, at 1:05 PM, Brett Porter wrote:


On 21/08/2007, at 1:03 PM, Joakim Erdfelt wrote:

Simple: Reporting.

I didn't want to have the merge contents from multiple sources in order to produce a report.


Makes sense, but I can't see where it is actually used?

And the structure of the plexus-registry basically forced me into using the configuration approach over the db approach.

how so?

- Brett


- Joakim

Brett Porter wrote:
Hi,

Can someone explain the need for having the repository configuration stored in the database?

I've observed that:
- it is only saved there from the configuration files
- it is never modified, nor does it store additional information than in the configuration
- it is never removed
- it does not appear to be referenced from any other jdo queries (except some constraint classes that in turn are not used)
- some of the fields are never referenced (only the id/name/url are)

We do a lot of looking up the list of repositories from the database, which isn't as efficient as using the equivalent stuff already in memory from the configuration. Is there any reason not to make a few substitutions there?

Thanks,
Brett


--
Brett Porter - [EMAIL PROTECTED]
Blog: http://www.devzuz.org/blogs/bporter/

Reply via email to