Messages in this thread | | | Date | Fri, 11 Oct 2002 10:13:59 +0200 (CEST) | From | Giuliano Pochini <> | Subject | Re: [PATCH] O_STREAMING - flag for optimal streaming I/O |
| |
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/
| |