home *** CD-ROM | disk | FTP | other *** search
-
- How does multi-user operation affect Clipper's speed performance?
-
- Three speed test programs provide a very simple example. When they
- were executed on a SINGLE-USER machine, these were the results:
-
-
- Speed1.PRG - Test using a database in single-user mode.
- -> 11 seconds.
-
- Speed2.PRG - Test using a database in multi-user mode.
- -> 22 seconds!
-
- Speed3.PRG - Test using a database in multi-user mode and record locking.
- -> 36 seconds!
-
-
- What can be gathered from this? That simply including the statement
- "SET EXCLUSIVE OFF" DOUBLED(!) the time taken to complete the test and
- that using record locking TRIPLED(!) the time taken to complete the
- test. Of course, this test is an extreme example more fitting for
- "batch processing" of records than an interactive program, but it does
- demonstrate the overhead associated with multi-user operation.