Re: Summary search -- speed
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12136
interpreted = N
texte = >The summary search command appears very useful for pulling out unique fields,>such as the categories in the Tea Room example that ships with 2.0.>>I'm wondering what type of speed this summary search command has over large>databases. If the inventory was in the 100K records range, would there be a>significant speed hit for a unique entry summary search?A search on a smaller database is always faster, but it may not benoticeable in WebCat2 because it's already so fast. Maybe the number ifdifferent categories would be the speed-limiting factor in this case, Idon't know. But the fastest solution will be a separate database, that'sfor sure.>Would I be better off>with a separate data table that kept a unique list of categories, etc?Yes, of course, especially since it seems you already have the basicunderstanding that planning is the most important part of creating anextendable WebCat2-based service.>I don't yet have the large inventory database to play with, but I need to plan>ahead for it.If you create a separate database that has all your categories in it, thenyou won't ever have to worry about this again. Write your WebDNA properly,and this technique gives you the added advantage of restricting thecategories entered in the large database to only the ones you havepreviously entered into the smaller 'category.db' file.Popup lists created from a search on your category.db are a great way toimplement this feature ... :)Sincerely, Ken GromeWebDNA Solutions
Associated Messages, from the most recent to the oldest:
>The summary search command appears very useful for pulling out unique fields,>such as the categories in the Tea Room example that ships with 2.0.>>I'm wondering what type of speed this summary search command has over large>databases. If the inventory was in the 100K records range, would there be a>significant speed hit for a unique entry summary search?A search on a smaller database is always faster, but it may not benoticeable in WebCat2 because it's already so fast. Maybe the number ifdifferent categories would be the speed-limiting factor in this case, Idon't know. But the fastest solution will be a separate database, that'sfor sure.>Would I be better off>with a separate data table that kept a unique list of categories, etc?Yes, of course, especially since it seems you already have the basicunderstanding that planning is the most important part of creating anextendable WebCat2-based service.>I don't yet have the large inventory database to play with, but I need to plan>ahead for it.If you create a separate database that has all your categories in it, thenyou won't ever have to worry about this again. Write your WebDNA properly,and this technique gives you the added advantage of restricting thecategories entered in the large database to only the ones you havepreviously entered into the smaller 'category.db' file.Popup lists created from a search on your category.db are a great way toimplement this feature ... :)Sincerely, Ken GromeWebDNA Solutions
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] SweepCartFrequency (2010)
[WebDNA] API - YouTube (2011)
Help! WebCat2 bug (1997)
Writefile (2000)
TaxTotal Problem (1997)
submit a form using javascript in netscape (2001)
Nesting Search Within Tag? (1997)
WebCatalog can't find database (1997)
form data submission gets truncated (1997)
Webcatalog quitting (1997)
[WebDNA] Dynamic vertical columns (2008)
What am I doing wrong? (2000)
Help! WebCat2 bug (1997)
Anyone Using 4DMail (2004)
WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998)
Nesting format tags (1997)
Semi OT: vbulletin and # viewing - how do that do that? (2003)
setting taxable to true (1997)
Waitfor file (2000)
Multiple adding (1997)