Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Codage, syntaxe et commandes
Craig,
>>>Memory structures are different for arrays than cursors. I agree, that with a large array, paging could occur. But I think it is more likely to occur with a cursor because of the way they are managed.
>>
>>AFAIK, cursors (IF NOT FILTERED) are always stored on disk,
>
>Nope. if not filtered, cursors could be totally stored in memory.
So why does the DBF("myCursor") function always refer to a file on disk ???
Of course when a cursor is small, the cursor also exists in OS buffers (Thus memory), but when paging occurs (because of the length), it will be dropped from the OS buffer (or only for a part) but still will be hold the Temp file.
Walter,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement