You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mike Matrigali (JIRA)" <ji...@apache.org> on 2015/01/21 22:46:34 UTC

[jira] [Updated] (DERBY-5980) Extremely slow roll forward when booting database that wasn't properly closed

     [ https://issues.apache.org/jira/browse/DERBY-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali updated DERBY-5980:
----------------------------------
    Labels: derby_triage10_12  (was: )

10.12 bug triage effort.

No more detail information was provided from over a year ago.  No more action likely without explicit  repro.  There is suggestion that I/O used on redo log is issue.

> Extremely slow roll forward when booting database that wasn't properly closed
> -----------------------------------------------------------------------------
>
>                 Key: DERBY-5980
>                 URL: https://issues.apache.org/jira/browse/DERBY-5980
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.9.1.0
>         Environment: Windows 7, Embedded mode
>            Reporter: Igor Sereda
>              Labels: derby_triage10_12
>
> Reproduction sequence:
> 1. Open database in embedded mode
> 2. Run a considerably large transaction - for example, one that creates 10 - 20 MB of db logs
> 3. Commit
> 4. Do NOT close the Connection
> 5. Exit the application (through System.exit() for example)
> 6. Restart the application and open the database
> Observed:
> Opening connection is extremely slow. It takes up 30- 60 seconds on the 10-20 MB transaction, and for larger transactions it takes forever.
> Looking at the process with FileMon utility, I can see that redo log files are mostly read *1 byte at a time*. :(
>  I bet you can improve the performance 100-fold by getting the whole log into memory first.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)