Issue 26980 - Time to open a dBase file using ODBC far too slow
Summary: Time to open a dBase file using ODBC far too slow
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: All Windows XP
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: Frank Schönheit
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-25 23:45 UTC by kelvine
Modified: 2013-08-07 15:45 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kelvine 2004-03-25 23:45:12 UTC
Hi,

I've been discussing this issue on the dba list. In summary using the built in 
dBase is inadequate in a live multiuser environment because of the locking 
approach. That leaves ODBC as the only workable option. ODBC however takes far 
too long to display the data source so it appears not to be working.

The situation is as follows:

An OpenOffice.org user views the dBase data in the data source where the dBase 
data is set up using the internal dBase driver. 

The main user of the application goes to edit the data using their
application. The application fails because it now has read only access to
the data so the internal dBase driver is not acceptable.

We then turn to use the ODBC driver for dBase files.

The above scenario works fine for MS Word using ODBC and it is very fast.
The data in MS Word is presented to the user as read only, ensuring the user
cannot edit the live data inadvertently.

NOTE: I have only tested this on my own FoxBaseIII+ multiuser application I
wrote many years ago. Not on Visual Foxpro or CA Visual Objects based
applications.

Issue 13495 is probably the same issue but is closed. I think this should be 
reviewed again.

I have spent hours looking for an official ODBC driver 4.00.6200.00 as
mentioned in issue 13495 to test it, but have not yet found it anywhere. The 
driver even on new Windows XP machines is still 4.00.6019.00 so this is what 
users will generally have.

I tested the ODBC connection against my FoxbaseIII+ dBase data and it took 2 
minutes 47 seconds to open a table in the data source window. The table has 
746 records and 44 fields. Repeating this test a number of times did produce 
variable results of 42 seconds, 2 minutes 47 seconds again and 3 minutes 10 
seconds (when pressing F4 and then opening the same table again).

The same table opened using the internal dBase driver takes 2 seconds.

Such long times using the ODBC driver is not acceptable. 

The ODBC driver is also not the best way either as there is no way that I
can see to make the records read only for the OpenOffice.org user.

With the current options available should I have to go ahead and provide
clients with access to their data, then this most likely will now need to be
done using MS products unless there are further alternatives I have not
considered.

This appears IMHO to be a fairly big hole in one of the strengths of 
OpenOffice.org to use external data sources.

To duplicate the problem
Set up the biblio table as an ODBC data source
Open the data source window (F4 in Writer)
Open the table.

I just did this and it took 1 minute 32 seconds to open which is not 
acceptable. Closed using F4 and reopened and again it to 1 minute 30 seconds.

I hope this feedback is of assistance.

Kelvin
Comment 1 marc.neumann 2004-03-26 11:01:52 UTC
reassign to fs
Comment 2 Frank Schönheit 2004-05-17 21:43:08 UTC
targeting according to
http://development.openoffice.org/releases/Target_Milestone.html
Comment 3 ocke.janssen 2009-03-20 14:44:49 UTC
I used 4.00.6305.00 of ODBC dbase driver from MS. For 700 records I need with a
OOO310m6 only < 5 sec. 
Comment 4 ocke.janssen 2009-03-20 14:45:32 UTC
Closing it.