Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timing Issue When Copy Files to Another Directory
Message
From
23/09/2004 11:44:51
 
 
To
22/09/2004 20:28:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00945135
Message ID:
00945399
Views:
36
>SNIP
>>
>>Is there any reason the FileToStr()'s couln't be wrapped in an FLock() - at the moment I rely on a SQL Select relying on a DateTime stamp to pull out Updated / Inserted rows. This is very quick and I'm not sure it's worth investigating the FileToStr() alternative.
>
>Just FYI, Houston... I've found that a STRTOFILE() is about the only guaranteed way to get an UNfragmented .FPT.
>That is to say, a FPT that is the result of a COPY... or a PACK MEMO remains a fragmented file but a .FPT that is STRTOFILE()ed will have only a few fragments dependent on the RAM cache available and the size of the FPT itself.
>
>For what it's worth...
>
>cheers


Hello Jim.

Interesting. On large FPT's would a 'rewrite' in such a way speed up the reading/processing in a regular app because it is now not fragmented anymore?

this would be something worth putting into a table maintenace module of an apps ion to index/pack.

Update:
How about the dbf and cdx files, are they fragmented as well?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform