Dear Mr.Otto,
Does that mean you no longer use index files at all?
I am using INDEXes. But not .CDX Files. I am creating INDEXes
in Local System's (Client System) Memory. So that, there should
not be any network delay, to set various index orders from Server.
How large are your files at most when you create memory indexes?
I have a students master file with 138 fields (Size 15 Mb) and having
indexes on 50 Fields. the Size of INDEX Files is almost 10 times bigger
than the DBF File.
This is the main file of my Application, which I use very frequently
through out my application. Every time I call it from client's system,
the speed was ok for 2 or 3 Users. After every additional user's connection
to it, used to create terrific delay. And my users used to complain above the speed.
Then I stopped creating physical indexes on the server and started creating
in local system.
[/quote]
Do you also happen to have any speed tests?
Yes. I made several time comparisons to create new indexes or adding
additional tags in server Vs creating indexes every time in local system.
My results were always moved me to adopt creation of temporary index on local
(client) machine.
[/quote]
[/quote]
Do you happen to know where the source code for creating the memory files is?
I am using xHarbour.
xHarbour Help manual says :
INDEX ON <cIndexKey> TAG <cIndexTag> TEMPORARY or MEMORY
OrdSetFocus(<cIndexTag>)
TEMPORARY / MEMORY (MEMORY CLAUSE IS NOT DOCUMENTED)
If this option is specified, a temporary index is created which is automatically destroyed when the index is closed.
The temporary index may be created in memory only or in a temporary file. This lies in the responsibility of the
RDD used for index creation.
[/quote]
The final point is Server OS. I tried to improve speed in several ways in WINDOWS Server OS (The hardware is not
real server). But I was quite un-happy with the speed. Then I tried to create a shared folder in UBUNTU server
and I found terrific speed, as if I was using my application in a local system.
These things are working for me and my clients are happy.
Best regards,
- Ramesh Babu P