Re: Slow mount times

2021-02-15 Thread Rick Hillegas
log files. *From:* Rick Hillegas *Sent:* Sunday, February 7, 2021 4:11 PM *To:* Derby Discussion ; Alex O'Ree < alexo...@apache.org> *Subject:* Re: Slow mount times I don't know of any special trace flags for this. Maybe something will turn up in derby.log if you set the diagnostic

Re: Slow mount times

2021-02-15 Thread Alex O'Ree
t down, >> there are only two log files. If there are more your database will perform >> roll forward recovery, in worst case applying all the log files. >> >> >> >> *From:* Rick Hillegas >> *Sent:* Sunday, February 7, 2021 4:11 PM >> *To:* Derby Discu

Re: Slow mount times

2021-02-07 Thread Alex O'Ree
ck Hillegas > *Sent:* Sunday, February 7, 2021 4:11 PM > *To:* Derby Discussion ; Alex O'Ree < > alexo...@apache.org> > *Subject:* Re: Slow mount times > > > > I don't know of any special trace flags for this. Maybe something will > turn up in derby.lo

RE: Slow mount times

2021-02-07 Thread Peter Ondruška
: Rick Hillegas Sent: Sunday, February 7, 2021 4:11 PM To: Derby Discussion ; Alex O'Ree Subject: Re: Slow mount times I don't know of any special trace flags for this. Maybe something will turn up in derby.log if you set the diagnostic logging level to its most verbose level by r

Re: Slow mount times

2021-02-07 Thread Rick Hillegas
I don't know of any special trace flags for this. Maybe something will turn up in derby.log if you set the diagnostic logging level to its most verbose level by running the application with the following system property:   -Dderby.stream.error.logSeverityLevel=0 Hope this helps, -Rick On 2/6

Re: Slow mount times

2021-02-06 Thread Alex O'Ree
Thanks i'll give it a shot. Is there any logging in derby that i can enable into regarding this? On Sat, Feb 6, 2021 at 7:08 PM Rick Hillegas wrote: > The usual cause for this behavior is that the application was brought > down ungracefully, say via a control-c or by killing the window where it

Re: Slow mount times

2021-02-06 Thread Rick Hillegas
The usual cause for this behavior is that the application was brought down ungracefully, say via a control-c or by killing the window where it was running. The engine then needs to reconstruct the state of the database by replaying many recovery logs. To gracefully exit Derby, you need to expli

Slow mount times

2021-02-06 Thread Alex O'Ree
Sometimes when my app starts, it can take several minutes to initialize the database. Is there a way to find out whats going on? There isn't much log output. I have overridden derby.stream.error.method but other than the the startup message, I don't have much to go on. Is there perhaps a startup d