To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=102625





------- Additional comments from lu...@openoffice.org Mon Dec  6 10:22:08 +0000 
2010 -------
OK, I see where you are coming from. You need to refetch backward cursor
positions since some drivers don't implement this correctly or lie about it. So
your fix removed "unnecessary" refetching. As long as you scroll down, there
should be no refetching. You looked at reducing the "select * from y where key 
= ?" 
I look at it from different perspective. I have a problem with the initial
"select * from y". Why fetch the full table if you look at the table through a
window (limited number of rows at a time)? Why load blobs or binary data when
they are not displayed and when you can't do anything with them? No insert, no
save. Opening large tables can be really slow (long time to first display) or
simply impossible due to an out of memory condition (too many rows, blobs, ...).
OOO internally is memorywise OK storing only the data for the window displayed
but it forces the driver to fetch the whole lot... 
An overall minimum memory and bandwidth solution would consist of a "select
key(s) from y" followed by a series of "select displayable fields from y where
key(s) = ?". To further reduce bandwidth, replace the "where key(s) = ?" by
"where key(s) = ? or key(s) = ? ... or key(s) = ?" to retrieve multiple rows in
one go. MSAccess uses a fixed number of rows (10), but obviously a variable
number (the rows needed to fill the window and not already displayed and not
cached in OOO) would be optimal.  

I'm not going to reopen the issue again as it will be closed by the next reply
but you will understand that for me the solution proposed only addresses a small
and minor part of the problem (if there is no out of memory before displaying
the first line...).

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to