On 2/24/15 4:31 AM, Vivek Choudhary wrote:
Please can someone provide me information regarding the use of
RawStoreDaemon thread in Derby database.
I am pretty new to derby database and was looking for some information
regarding this.
Also, since this is a daemon thread does this impact to any cpu usage
during application runtime.
Thanks.
Vivek Choudhary
Hi Vivek,
I am not an expert on this part of the engine, but this is what I
believe: The rawStoreDaemon is a background thread which performs
asynchronous writes on behalf of the Derby storage engine. I believe
that the rawStoreDaemon is responsible for post-commit work. This
includes flushing committed (logged) writes to the tables and indexes in
the seg0 directory. The rawStoreDaemon may also be involved in
roll-forward recovery, that is, the boot-time application of data
changes which durably committed (were logged) but which weren't flushed
to disk before an engine crash.
Hope this helps,
-Rick