[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Journal Usage

On Mon, Nov 05, 2001 at 09:26:58AM -0700, Andreas Dilger wrote:
> On Nov 02, 2001  18:36 -0800, Mike Fedyk wrote:
> > I have a large journal of 400MB (the max for 4k blocks), and I'd like to be
> > able to check how much of it is being used.
> I don't think it is currently possible to do this.
> > If it's not being used that much, I'd like to know if the writes *from* the
> > journal to the rest of the disk could be delayed until a certain percentage
> > of the journal has been used.
> >
> > It would be nice to be able to get more contiguous writes to the journal for
> > bursty types of loads...
> You can make the journal flush interval longer, so that it will flush only

And how would I do this safely?  Is it just modifying a define somewhere?

> when the journal is getting full, rather than after a fixed amount of time.
> This may not be ideal either, because if you are forced to flush because
> the journal is getting full it will likely be just at a time when you want
> to write into it.

I'd propose something more gradual besides "oops, the journal is full, let's
empty it now..."


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]