Re: Storing dates (was: Re: Ticket Ordering Question)

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54995
interpreted = N
texte = >Thanks for your history on how date searches took minutes. If that >is truly the case, it was not acceptable. However that is clearly >not the case any longer. That's what I said already. >I don't think your logic holds up today. In fact I think it's flawed. There is no flaw in my reasoning. I already said it's faster today because the internal code was re-written to perform the conversions faster. > >3- Dynamically convert *every* [dbDate] value to a number, then >compare that number to the numeric value of the date in your search >parameter. > >Yeah... a couple of additional CPU cycles here. This step was the major problem years ago. It doesn't seem to become a problem any more unless your db has a half million records in it or more. But it may still be a problem even with db's having only 100,000 records, depending upon your need for speed. > > But you will probably never notice the speed difference when >using relatively small db files. > >Or large ones either. We're not talking about your Father's WebDNA or CPU. I challenge you to run a comparison test with 500,000 records in the db, then we will see just who is correct here. I already know the answer, that's why I posted my previous message. I will retract my claims if you prove me wrong ... :) -- Kenneth Grome ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
>Thanks for your history on how date searches took minutes. If that >is truly the case, it was not acceptable. However that is clearly >not the case any longer. That's what I said already. >I don't think your logic holds up today. In fact I think it's flawed. There is no flaw in my reasoning. I already said it's faster today because the internal code was re-written to perform the conversions faster. > >3- Dynamically convert *every* [dbDate] value to a number, then >compare that number to the numeric value of the date in your search >parameter. > >Yeah... a couple of additional CPU cycles here. This step was the major problem years ago. It doesn't seem to become a problem any more unless your db has a half million records in it or more. But it may still be a problem even with db's having only 100,000 records, depending upon your need for speed. > > But you will probably never notice the speed difference when >using relatively small db files. > >Or large ones either. We're not talking about your Father's WebDNA or CPU. I challenge you to run a comparison test with 500,000 records in the db, then we will see just who is correct here. I already know the answer, that's why I posted my previous message. I will retract my claims if you prove me wrong ... :) -- Kenneth Grome ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ 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:

Sku numbers (1997) webcat 2.1 new cart fields - please explain more (1998) Troubles with Selection Drop Down List Search (1998) Re:Mac List Servers (was: Duplicate Hell) (1999) insecuretextvars preference doesn't work (2000) Looking for a host (1997) ElseIf Statements? (2005) Weird Math (2000) Ooops..Broswer Info.txt (was Web*SSL and WebCatalog) (1997) Erotic Sites (1997) shownext (1997) Repeating Fields (1997) Add to Cart & List of Products (1997) Error Lob.db records error message not name (1997) PCS Frames (1997) Emailer Problem (1999) Emailer (1997) searchable list archive (1997) NT version and O'reily's WebSite (1997) AccountAuthorizer doing something useful (2002)