[sqlite] Database Locked Error... problem still persists

2006-02-01 Thread Ritesh Kapoor
Hi, Background Info - 1. Using Linux kernel v2.4.21 on both machines. 2. Scenario in which this problem occurs - when I rlogin/rsh to another machine and then run the app calls to sqlite3_open() work successfully calls to sqlite3_exec() return 'database is locked' error message 3. This

Re: [sqlite] disk locality

2006-02-01 Thread Joe Wilson
Another question... Does Monotone still Base64 encode all its data before putting it into blobs? If so, using raw binary SQLite blobs would likely give Monotone a 33% speedup and smaller database. --- Joe Wilson <[EMAIL PROTECTED]> wrote: > Does Monotone spend most of its database time in a

Re: [sqlite] disk locality

2006-02-01 Thread Joe Wilson
Does Monotone spend most of its database time in a few long running queries or thousands of sub-second queries? Could you point us to an example monotone database tarball and give some actual examples of speed-deficient queries? When working with large SQLite databases with blobs I generally

Re: [sqlite] Executing SQL from file

2006-02-01 Thread Dennis Cote
deBooza (sent by Nabble.com) wrote: Hi I'm using sqlite in a c++ program, using functions sqlite3_open, sqlite3_exec, sqlite3_close etc. I am trying to import a lot of data, probably around 100,000 rows+. I have found it quicker if I format the data into SQL statements and then use the

RE: [sqlite] Sqllite As server

2006-02-01 Thread Lynn Fredricks
> >We have an existing Sqlite application which till now was > fine running > >on single machine. Now we need flexibility of client server > model. Is > >this possible with Sqlite ? . Or alternatively is it possible to use > >Sqlite db file from shared drives. > > You can use SQLRelay from

Re: [sqlite] Locking with auto-commit disabled

2006-02-01 Thread Jay Sprenkle
> Hello, > I have a question regarding sqlite's behavior when auto commit is disabled. > > I have two conflicting transactions, A & B, where A is started first. > B starts by executing some SELECT queries (which all succeed), then on > the first UPDATE I get SQLITE_BUSY (as A is holding a

Re: [sqlite] Sqllite As server

2006-02-01 Thread Eduardo
At 07:50 01/02/2006, you wrote: Dear All, We have an existing Sqlite application which till now was fine running on single machine. Now we need flexibility of client server model. Is this possible with Sqlite ? . Or alternatively is it possible to use Sqlite db file from shared drives. You

[sqlite] Locking with auto-commit disabled

2006-02-01 Thread gammal . sqlite
Hello, I have a question regarding sqlite's behavior when auto commit is disabled. I have two conflicting transactions, A & B, where A is started first. B starts by executing some SELECT queries (which all succeed), then on the first UPDATE I get SQLITE_BUSY (as A is holding a conflicting lock).

[sqlite] Intel compiler warnings with 3.3.3

2006-02-01 Thread Miguel Angel Latorre Díaz
No bugs, just "benign" warnings. btree.c .\Sqlite\v3\btree.c(432): remark #1418: external definition with no prior declaration int sqlite3_btree_trace=0; /* True to enable tracing */ ^ This variable is only used here and in test3.c. I guess it should be enclosed between the #if

Re: [sqlite] Executing SQL from file

2006-02-01 Thread Jay Sprenkle
> I'm using sqlite in a c++ program, using functions sqlite3_open, > sqlite3_exec, sqlite3_close etc. > > I am trying to import a lot of data, probably around 100,000 rows+. I have > found it > quicker if I format the data into SQL statements and then use > the shell statement .read to read in

Re: [sqlite] Executing SQL from file

2006-02-01 Thread Marian Olteanu
Something related, but that doesn't really answer the question: if you want to populate a database with so many rows, to speed up things a lot you should embed them into a transaction (or in a small number of transactions). This way, if sqlite works synchronously, it doesn't need to flush data

[sqlite] Compile sqlite_src to a static library with dev-cpp

2006-02-01 Thread Daniel Hahn
Hi all, I compiled a static library with dev-cpp out of the sqlite_src-package from the homepage. No error or warning occured but... when I use my compiled library instead the one out of the dev-cpp-package the program aborts without any error message. Why? Thanks! Daniel

[sqlite] Executing SQL from file

2006-02-01 Thread deBooza (sent by Nabble.com)
Hi I'm using sqlite in a c++ program, using functions sqlite3_open, sqlite3_exec, sqlite3_close etc. I am trying to import a lot of data, probably around 100,000 rows+. I have found it quicker if I format the data into SQL statements and then use the shell statement .read to read in the SQL

Re: [sqlite] Disk IO error on AIX

2006-02-01 Thread Christian Smith
On Tue, 31 Jan 2006 [EMAIL PROTECTED] wrote: >Robert Tortajada <[EMAIL PROTECTED]> wrote: >> > >> The bad return from fsync is -1 so I am not sure that will be helpfull. >> However, couldn't we just disable DIRSYNC since that seems to be the issue? >> > >Yeah. Just disable DIRSYNC. This will

Re: [sqlite] Fwd: Does SQLite provide XML support

2006-02-01 Thread John Stanton
I use a program which converts a simple SQL result into XML. It is just a C program calling Sqlite. You are welcome to a copy if it would help you. JS pavan savoy wrote: -- Forwarded message -- From: pavan savoy <[EMAIL PROTECTED]> Date: Jan 31, 2006 7:17 PM Subject: Does

Re: [sqlite] disk locality

2006-02-01 Thread drh
Nathaniel Smith <[EMAIL PROTECTED]> wrote: > I was wondering if there were any docs or explanations available on > how SQLite decides to lay out data on disk. Free pages in the middle of the file are filled first. Some effort is made to uses pages that are close together for related information.

[sqlite] Kexi 1.0 beta 1 released

2006-02-01 Thread Jarosław Staniek
For original announcement with links see http://kexi-project.org/wiki/wikiview/index.php?1.0Beta1Announcement --- Kexi Team Ships Beta Version of the First Major 1.0 Release to Free Integrated Database Environment

Re: [sqlite] Sqllite As server

2006-02-01 Thread Hakki Dogusan
Hi, Vishal Kashyap wrote: Dear All, We have an existing Sqlite application which till now was fine running on single machine. Now we need flexibility of client server model. Is this possible with Sqlite ? . Or alternatively is it possible to use Sqlite db file from shared drives. -- With

Re: [sqlite] Decimal separator

2006-02-01 Thread Arjen Markus
Carl Jacobs wrote: > > > > All would be fine but look at this : > > > > > > create table test( > > > price double, > > > amount double default 0 > > > ); > > > > > > insert into test(price) values("12,0"); > > > > > > amount now = 0.0 > > The world seems to have settled on using Arabic numerals

Re: [sqlite] Sqllite As server

2006-02-01 Thread Craig Morrison
Vishal Kashyap wrote: Dear All, We have an existing Sqlite application which till now was fine running on single machine. Now we need flexibility of client server model. Is this possible with Sqlite ? . Or alternatively is it possible to use Sqlite db file from shared drives. Don't know if