home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / database / 6215 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.3 KB  |  47 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!jato!mona!khioe
  3. From: khioe@mona.jpl.nasa.gov (Kent Hioe)
  4. Subject: Re: How to trim down dBASE IV database file ?
  5. Message-ID: <1992Aug20.170134.582@jato.jpl.nasa.gov>
  6. Keywords: dbase IV file
  7. Sender: nobody@jato.jpl.nasa.gov
  8. Nntp-Posting-Host: mona.jpl.nasa.gov
  9. Organization: jpl
  10. References: <1992Aug19.212534.11942@jato.jpl.nasa.gov> <1992Aug20.034649.16721@cam.compserv.utas.edu.au>
  11. Date: Thu, 20 Aug 1992 17:01:34 GMT
  12. Lines: 33
  13.  
  14. In article <1992Aug20.034649.16721@cam.compserv.utas.edu.au> rhidding@esk.compserv.utas.edu.au (Robert Andrew Hidding) writes:
  15. >Try using the DBase command "PACK". Deleting a record only results in the
  16. >record being marked as deleted, but it isn't physically deleted until
  17. >"PACK"ed.
  18.  
  19. I have tried that but the file size still remains the same.
  20.  
  21. This is what I did:
  22.  
  23. before record deletion :
  24. slhist.dbf      2546900 byte.
  25. # of records: 10500 records
  26.  
  27. --------------------------------
  28. delete 10000 records
  29. pack
  30.  
  31. --------------------------------
  32. After deletion:
  33. slhist.dbf      2546900 byte. <<<  how come the size is the same as before ?
  34. # of records: 500 records.
  35.  
  36.  
  37. My original question was how to gain back the memory disk space ?
  38.  
  39.  
  40. Thank you for your help.
  41.  
  42.  
  43. --
  44. Kent
  45. khioe@juno.jp.nasa.gov
  46.  
  47.