Re: PACK question
From: Wolfgang Schmale (Spamkocher_at_strang.lt)
Date: 08/23/04
- Next message: Wolfgang Schmale: "Re: Label Size"
- Previous message: Carsten Bonde: "Re: PACK question"
- In reply to: emyron: "PACK question"
- Next in thread: emyron: "Re: PACK question"
- Reply: emyron: "Re: PACK question"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 23 Aug 2004 14:24:04 +0200
Hi
As long as there is enough ram memory VFP does not create any file on the
disk for pack or for cursors. So if you run your test with a table which is
smaller than the available ram no file is created
-- ---------------------------------------------- Mit freundlichen Grüßen Wolfgang Schmale [MVP für Visual FoxPro] -------------------------------------------- "emyron" <myron123@adelphia.invalid> schrieb im Newsbeitrag news:1rudnZYZY7ibUbrcRVn-jw@adelphia.com... > I apologize for a long explanation in the following question but I felt it > was necessary to specify what I have already tried. > When the PACK command is used for a table, in what directory is the > temporary table created? I assumed the temporary table was created in the > same directory as the original table, but this apparently is not the case. > To prove it to myself , I placed the table on a floppy disk and filled the > rest of the disk with dummy files until the space left on the floppy was 0 > bytes. VFP was started and the default directory was set to the floppy > disk. I then USEd the table exclusively and PACKed it. The message > indicated the correct amount of records were copied. When I checked the > size of the PACKed table, the FPT file was definitely smaller. > > I also tried a test where the config.fpw had all temporary file equates set > to the floppy disk and the table to be Packed was also on the floppy. I > made sure there was just enough room for the temporary files when I ran VFP > and opened the table exclusively. Before running PACK I checked the > contents of the floppy disk using a Command Prompt window. The directory > showed 3 temporary files and the table (DBF, CDX and FPT) files. It also > showed the dummy files I had used to fill up the disk and indicated there > was 0 free bytes. The PACK was run. The table was successfully packed. > Another examination of the floppy showed the 3 temporary files were still > there (no change in size). The FPT file was definitely smaller and the > total amount of free bytes reflected a change in size of the packed FPT. > > The question still remains: where is the temporary table created during > PACK? I had a thought that it may be in the default WINDOWS\TEMP directory. > I have no way of monitoring this directory, so I can't be verify or disprove > the hypothesis. > TIA, > --E. Myron > > > -- > To reply directly, change "invalid" to "net" > >
- Next message: Wolfgang Schmale: "Re: Label Size"
- Previous message: Carsten Bonde: "Re: PACK question"
- In reply to: emyron: "PACK question"
- Next in thread: emyron: "Re: PACK question"
- Reply: emyron: "Re: PACK question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|