home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / 7743 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.8 KB  |  35 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!think.com!ames!decwrl!csus.edu!netcom.com!aahz
  3. From: aahz@netcom.com (Mean Green Dancing Machine)
  4. Subject: Re: Paradox 4.0 speed (?)
  5. Message-ID: <1992Nov10.191740.28782@netcom.com>
  6. Organization: Don't blame me, I voted for Bill 'n' Opus
  7. References: <troj.721089339@cwis> <tim.5.721094115@tim.src.utah.edu> <4161@bcstec.ca.boeing.com>
  8. Date: Tue, 10 Nov 1992 19:17:40 GMT
  9. Lines: 24
  10.  
  11. In article <4161@bcstec.ca.boeing.com> rick@bcstec.ca.boeing.com (Richard Hall) writes:
  12. >Why are you sorting a data table anyway? If the reason is to print it in 
  13. >reports in a sorted manner, do that IN THE REPORT using GROUPINGS! If you need
  14. >to sort data in a table, you obviously are not using KEYS. Paradox nearly 
  15. >requires use of keys for optimum performance. Keys are the trigger to speed 
  16. >and performance in paradox. I find sorting seldom needed in a data table and I  have been building Paradox applications for 5 years. Sorting defeats the
  17. >purpose of keys and indexes and should not be used if a well designed database.
  18. >Use of INDEXES  create secondary keys which can increase searches and queries
  19. >performances substantially. Do not use sorts, use Paradox functions for earching tables. Sorts can be used for processing ANSWER tables prior to creating graphs, but that is the ONLY reason I would sort a table...
  20.  
  21. I agree with most of your advice, but since you're acting like a flaming
  22. nit-wit, here's a counter-flame:
  23.  
  24. Suppose I have 1000 customers, and I want to find the 10 with the most
  25. sales.  You tell me an easy way to find this without sorting.  If you
  26. can't, least you can do is leave a pile of black feathers.
  27. -- 
  28.                          --- Aahz (the *other* Dan Bernstein)
  29.                              @netcom.com 
  30.  
  31. Hugs and backrubs -- I break Rule 6
  32.  
  33. Who needs Lime Jello [tm]?  We had lasagna.....
  34.