[sqlite] LINKING AND LOADING FTS - on Linux/Ubuntu

2007-09-15 Thread Uma Krishnan
Hello, I'm having trouble loading fts2. I modified makefile to create fts2 library on Linux/Ubuntu.I When I attempt to load fts2 using the command select load_extension('fts2'), i get the error shared library not found. ( noticed that it had not created the .so file, only .la file.) What am I

[sqlite] Re: Sqlite insertion performance

2007-09-15 Thread Igor Tandetnik
Kefah T. Issa <[EMAIL PROTECTED]> wrote: I tried the ordered-urls-insert the results were better, but it is still taking progressively longer time as the number of records increases. A fundamental question to be asked here : Shouldn't the time complexity (Big-O) of the insert operation be

Re: [sqlite] Sqlite insertion performance

2007-09-15 Thread Kefah T. Issa
Dear Kees and Richard, Much appreciated. I tried the ordered-urls-insert the results were better, but it is still taking progressively longer time as the number of records increases. A fundamental question to be asked here : Shouldn't the time complexity (Big-O) of the insert operation be

Re: [sqlite] Sqlite insertion performance

2007-09-15 Thread D. Richard Hipp
I have been struggling with the performance of insertion in sqlite. Here we have a very simple case : A table with an integer autoincrement primary key and a text field that is unique. CREATE TABLE my (id PRIMARY KEY, url); CREATE UNIQUE INDEX myurl ON my(url); My application requires

Re: [sqlite] Sqlite insertion performance

2007-09-15 Thread Kees Nuyt
Hi Kefah, On Sat, 15 Sep 2007 04:43:46 +0300, you wrote: >Thanks Kees, > >In fact using integer instead of string gives very similar results. > >Dropping the unique index constraint and then creating it again when needed >sounds interesting, as insertion without the unique index is satisfactory