Apache OpenOffice (AOO) Bugzilla – Issue 21305
Datapilot very slow when using large datasource ( f.e. mysql odbc )
Last modified: 2006-05-31 14:29:06 UTC
1. create a new mysql odbc datasource 2. create a table Mitarbeiter varchar Region varchar Monat varchar Verkauf varchar 3. insert usefull records (~100000 records) 4. start a new spreadsheet 5. start the datapilot and use the datasource and table 6. move the column Mitarbeiter to the left 7. move the column Region to the top 8. move the column Verkauf to the middel 9 click OK ==>> wait a long time til the table is insert. The same thing in Excel works without waiting.
set target
It doesn't require nearly as many records. Excel v/s OOo, on a 32k record table (slow Win98 machine) is 1 minuter vs 1hr. you missed a step too. between 5 and 6, insert: 5.b. Wait a long time for the layout dialog. For my table, 5.b. take 20 minutes, and then another 50 minutes for the table to insert. Frank thinks the ODBC logs may help here. I need to create again, from a smaller table. The 32k table created a 588M log, and I ran out of disk space (Excel's log was only 7M).
Created attachment 10552 [details] ODBC log from Calc (gzipped)
Created attachment 10553 [details] ODBC log from Excel
Created attachment 10554 [details] ODBC log from Writer
Attached 3 logs. The log from Calc is 14M uncompressed. Writer is 3.3M and Excel is 1.3M. These uses a 100 row table, with 4 columns. ID = bigint, auto-increment, primary key param = varchar, 100 value = double pnum = varchar, 100 Excel is noticably faster, but writer isn't too bad. Still the form in writer has a 3x larger log, so more ODBC calls are made. Calc is still really slow, even with such a small table. And why would it generate such a large logfile? At 14M it's 4x the writer log, and 13x the excel log. Something in the calc code is horribly wrong. Niklas Nebel suggested the ScDBDocFunc::DoImport code here sc/source/ui/docshell/dbdocimp.cxx, sc/source/ui/docshell/dbdocimp.cxx and the code in sc/source/core/data/dpsdbtab.cxx
removing dependency to issue 21783 (which is the ms interop tracking bug) - I don't think this is an interop issue. If somebody re-introduces the dependency, please next time justify it.
change subcomponent to 'none'
. *** This issue has been marked as a duplicate of 19984 ***
.
close