Thank you for your reply.

Is there anything I can do to make Derby a always-available-database if the 
compress process takes noticeable time?  


--- On Thu, 11/27/08, Knut Anders Hatlen <[EMAIL PROTECTED]> wrote:

> From: Knut Anders Hatlen <[EMAIL PROTECTED]>
> Subject: Re: SYSCS_UTIL.SYSCS_COMPRESS_TABLE
> To: [email protected]
> Cc: [EMAIL PROTECTED]
> Date: Thursday, November 27, 2008, 4:54 AM
> Wei Jiang <[EMAIL PROTECTED]> writes:
> 
> > Hi,
> >
> > Can I use SYSCS_UTIL.SYSCS_COMPRESS_TABLE and
> > SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE when the
> database is working
> > with insert/delete/update?
> 
> Yes, that's supposed to work. SYSCS_COMPRESS_TABLE will
> obtain an
> exclusive lock on the table, which means that it will wait
> until all
> transactions that are currently accessing the table have
> released their
> locks, and it will block new transactions from accessing
> the table until
> it has completed the compress operation.
> 
> -- 
> Knut Anders


      

Reply via email to