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

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!eff!news.byu.edu!ux1!fcom.cc.utah.edu!tim.src.utah.edu!tim
  3. From: tim@tim.src.utah.edu (Tim Ma)
  4. Subject: Re: Paradox 4.0 speed (?)
  5. Message-ID: <tim.5.721094115@tim.src.utah.edu>
  6. Lines: 29
  7. Sender: news@fcom.cc.utah.edu
  8. Organization: University of Utah
  9. References: <tim.1.720996716@tim.src.utah.edu> <troj.721089339@cwis>
  10. Date: Fri, 6 Nov 1992 23:55:15 GMT
  11.  
  12.  
  13. >>An inquiry to all users of Paradox 4.0 out there.  We recently upgraded to 
  14. >>4.0 after reading articles and ads that highly touted the improved speed of
  15. >>Paradox 4.0 (claims that it was much faster that FoxPro 2.0).   I am 
  16. >>impressed with some of 4.0's new features, but SPEED is does not seem to be
  17. >>one of them.  I have a simple script written in 3.5 that randomizes the order
  18. >>of records in a file.  All it does it import that file as a single TEXT 
  19. >>field, tacks on a random number in anothe field, sorts on the random number, 
  20. >>and then outputs the randomized file.  To my surprise, it runs almost 50% 
  21. >>slower in 4.0 thanit did in 3.5 (14 minutes vs. 10 minutes).  I'm running a
  22. >>386SX with 4M of RAM.  Any ideas or comments?
  23. >
  24. >Wait now...  When you say you're doing a sort on the data, does this mean
  25. >that you're performing a sort in PAL, or that you're incrementally updating
  26. >the index?  If you're incrementally updating the index, do you really need
  27. >to?  You could more than likely improve your performance by updating the index
  28. >only when you're done with all your insertions.
  29. >
  30.  
  31. I am doing a PAL "sort" command on this field.  I guess I could index the 
  32. field then after I assign all the random numbers, update the index, 
  33. but I wasn't doing that in 3.5 and it would seem surprising that 4.0 needed 
  34. this little tweak to make it run faster (or even just as fast).
  35.  
  36. Thanks for the comments,
  37.  
  38. Tim Ma
  39.  
  40.  
  41.