Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-10 Thread Jim C. Nasby
On Tue, Jan 10, 2006 at 04:29:19PM -0300, Axel Mammes wrote: > How about using a hard-link to store the log file somewhere else? That > should work transparently... Well, you can't hard-link across filesystems, but a symlink is exactly what I was going to mention. As for SQLite coming up with

Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-10 Thread Axel Mammes
How about using a hard-link to store the log file somewhere else? That should work transparently... On 1/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > "Jim C. Nasby" <[EMAIL PROTECTED]> wrote: > > On Mon, Jan 09, 2006 at 09:08:10PM -0800, Dan Kennedy wrote: > > > > > > The short version:

Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-10 Thread drh
"Jim C. Nasby" <[EMAIL PROTECTED]> wrote: > On Mon, Jan 09, 2006 at 09:08:10PM -0800, Dan Kennedy wrote: > > > > The short version: > > > > The first write operation writes the parts of the database that > > are about to be overwritten to the journal file. If something > > goes wrong during the

Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-10 Thread Jim C. Nasby
On Mon, Jan 09, 2006 at 09:08:10PM -0800, Dan Kennedy wrote: > > > --- "Jim C. Nasby" <[EMAIL PROTECTED]> wrote: > > > On Mon, Jan 09, 2006 at 06:47:04PM +0100, Eduardo wrote: > > > of transactions per second. But because each transaction requires at > > > least two revolutions of the disk

Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-09 Thread Dan Kennedy
--- "Jim C. Nasby" <[EMAIL PROTECTED]> wrote: > On Mon, Jan 09, 2006 at 06:47:04PM +0100, Eduardo wrote: > > of transactions per second. But because each transaction requires at > > least two revolutions of the disk platter, SQLite is limited to about > > Why does a transaction commit require

Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-09 Thread Jim C. Nasby
On Mon, Jan 09, 2006 at 06:47:04PM +0100, Eduardo wrote: > of transactions per second. But because each transaction requires at > least two revolutions of the disk platter, SQLite is limited to about Why does a transaction commit require two seperate writes? -- Jim C. Nasby, Sr. Engineering

Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-09 Thread Eduardo
At 15:27 07/01/2006, [EMAIL PROTECTED] wrote: "Shailesh N. Humbad" <[EMAIL PROTECTED]> wrote: > I wrote an article suggesting a method for improving concurrency in > SQLite. The main reason I wrote this article is so I can understand > SQLite better, not because my proposal is new or usable. I

Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-08 Thread John Stanton
Alexander, I like your general concept. Some years ago I implemented a somewhat similar strategy in a product of ours which was SQLite-like in that it linked into each application process and managed B-Trees. By identifying read-only transactions and handling them in a simple manner

Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-08 Thread Alexander Kozlovsky
Hello! I think, there is another way for high-concurrency SQLite-based systems. **It is not entirely universal**, but I hope it may be used for high-traffic web sites and similar kind of systems, where each individual transaction (such as a page retrieval or a form submission) is very short and

Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-07 Thread drh
"Shailesh N. Humbad" <[EMAIL PROTECTED]> wrote: > I wrote an article suggesting a method for improving concurrency in > SQLite. The main reason I wrote this article is so I can understand > SQLite better, not because my proposal is new or usable. I am not an > expert in SQLite or databases,

Re: [sqlite] proposal for improving concurrency in SQLite

2006-01-07 Thread Andrew Piskorski
On Sat, Jan 07, 2006 at 12:33:08AM -0500, Shailesh N. Humbad wrote: > I wrote an article suggesting a method for improving concurrency in > SQLite. The main reason I wrote this article is so I can understand > SQLite better, not because my proposal is new or usable. I am not an > expert in

[sqlite] proposal for improving concurrency in SQLite

2006-01-06 Thread Shailesh N. Humbad
I wrote an article suggesting a method for improving concurrency in SQLite. The main reason I wrote this article is so I can understand SQLite better, not because my proposal is new or usable. I am not an expert in SQLite or databases, so I would appreciate any comments or criticisms. Here