Re: [PATCH] O_STREAMING - flag for optimal streaming I/O

From: Giuliano Pochini (pochini@shiny.it)
Date: Fri Oct 11 2002 - 03:13:59 EST


On 10-Oct-2002 Mike Fedyk wrote:
>> [...] I would
>> like a way to read the db so that the cached part of
>> the db (the 20% which gets 80% of accesses) is not
>> expunged.
>
> Unless you are pausing the database (causing the files on disk to be in a
> useful state) and then reading the file you will have trouble. Anything
> else will have to syncronize with the database itself, and thus can't use
> O_STREAMING.

All the cached db pages will be dropped regardless its state. Any
further access to the db will read the data from disk again. I'm
talking only about performance, not about db coherency.

Bye.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:41 EST