Re: [Zope] ZCatalog Strategy

2006-03-24 Thread Dieter Maurer
Mark Gibson wrote at 2006-3-22 19:28 -0700: >I'm struggling to weigh the cost of getObject() vs. the cost of adding >more metadata to the catalog. I'll explain my situation. > >I have 10,000 widgets cataloged. I do a path and date query that >returns me maybe 12 of these. Then I have a choice

Re: [Zope] ZCatalog Strategy

2006-03-23 Thread Chris Withers
Mark Gibson wrote: Does the cost of calling getObject() for a dozen objects justify creating a new metadata field? No. More generally how does a large amount of metadata in the catalog affect performance of queries? Badly ;-) The wisdom of those more knowledgeable than me would be appreci

Re: [Zope] ZCatalog Strategy

2006-03-22 Thread Jonathan
easy to clear and then reload the catalog) and time them to see which gives you better performance. hth & good luck! Jonathan - Original Message - From: "Mark Gibson" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 22, 2006 9:28 PM Subject: [Zope] ZCatalog Strat

[Zope] ZCatalog Strategy

2006-03-22 Thread Mark Gibson
I'm struggling to weigh the cost of getObject() vs. the cost of adding more metadata to the catalog. I'll explain my situation. I have 10,000 widgets cataloged. I do a path and date query that returns me maybe 12 of these. Then I have a choice of calling getObject().getData() on each of the