[sqlite] System.Data.SQLite, Virtual Tables, and ThreadAbortException Issues

2015-05-13 Thread Mike Nicolino
Yes, this branch does resolve the issue, thanks much! This branch looks to be from the current mainline; I'll apply the fix locally to the 1.0.96.0 released version until the next release of System.Data.SQLite. Thanks, MikeN -Original Message- From: sqlite-users-bounces at mailinglists

[sqlite] xBestIndex() implementation question

2015-05-13 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/13/2015 08:06 PM, Jilong Kuang wrote: > Sure, that is one option. But I'm just wondering if inside the > xBestIndex() we can get the value field, we can do a much better > job to give the cardinality info. Note that the value could be something

[sqlite] sqlite3: sqlite3_step() return SQLITE_FULL error.

2015-05-13 Thread Deepak Hegde
Hi sir, Thanks a lot. It is working fine with the same path and with multiprocess. Thanks and regards Deepak On Wednesday 13 May 2015 06:44 PM, Richard Hipp wrote: > On 5/13/15, Deepak Hegde wrote: >> I have gone through the document and it says, it is not thread safe. >> What if the same datab

[sqlite] Tests regarding custom build of SQLite

2015-05-13 Thread Sairam Gaddam
In order to run .test files(sqlite test codes) in SQLite, I used ./testfixture NAMEOFFILE.test Can anyone kindly tell which build of sqlite will TESTFIXTURE access? Because even when I make modifications to sqlite3.c source code, the output of the test file under test has no effect. And one m

[sqlite] sqlite3: sqlite3_step() return SQLITE_FULL error.

2015-05-13 Thread Deepak Hegde
Hi, Thanks for the response. I didn't use index since it was a one time execution. After making the change to a temporary path with 64MB it is working fine. I have some queries: I have gone through the document and it says, it is not thread safe. What if the same database is used in the multiple

[sqlite] Query on Sample SQLite Application

2015-05-13 Thread r...@onsitesoftware.com
Hello, We are using Sample Sql Lite Project provided by Telerik App Builder: http://docs.telerik.com/platform/appbuilder/sample-apps/sample-sqlite We are using sql lite plugin 1.0.1 suggested by the Telerik as it works all fine on the ANDROID AND Apple. Following scenario compiles our p

[sqlite] Multiple connections and page cache(s) reusability

2015-05-13 Thread Milan Kříž
Thanks for the reply. Therefore my expectation that the approach 3 should be the best is correct, isn't it? I mean, using a dedicated connection for each table should cause better reusablility of cached pages? Or what approach would you propose to get the best performance? Does SQLite have any o

[sqlite] Multiple connections and page cache(s) reusability

2015-05-13 Thread Clemens Ladisch
Milan K??? wrote: > My understanding was that each connection has its own page cache. This is correct. > [...] Does SQLite have yet some other global cache? No. That other global cache is part of the OS. It might be possible that opening a file two times changes the OS's caching algorithm. R

[sqlite] sqlite3: sqlite3_step() return SQLITE_FULL error.

2015-05-13 Thread Deepak Hegde
Hi everyone, I am facing a issue and details are as below: 1) Database table have around 15 table. One of the table have around 66000 entries and this table have about 25 columns. 2) This table with 66000 entry have field called TITLE with TEXT type with table name AUDIO. 3) When I run a query

[sqlite] Tests regarding custom build of SQLite

2015-05-13 Thread Richard Hipp
On 5/13/15, Sairam Gaddam wrote: > In order to run .test files(sqlite test codes) in SQLite, I used > > ./testfixture NAMEOFFILE.test > > Can anyone kindly tell which build of sqlite will TESTFIXTURE access? > > Because even when I make modifications to sqlite3.c source code, the output > of the

[sqlite] sqlite3: sqlite3_step() return SQLITE_FULL error.

2015-05-13 Thread Richard Hipp
On 5/13/15, Deepak Hegde wrote: > I have gone through the document and it says, it is not thread safe. > What if the same database is used in the multiple processes? > Can we have actual database path and this temporary path same? > process!=thread. It is perfectly safe to run PRAGMA temp_store_

[sqlite] emptying tables

2015-05-13 Thread Zaumseil René
>You turn off auto_vacuum but do a manual VACUUM once you've deleted all the >data from /all/ the tables. It's faster >before VACUUM takes time roughly >proportional to the amount of data left in the database. > >Simon. Thank you for the hint. Rene Kernkraftwerk Goesgen-Daeniken AG CH-4658 Da

[sqlite] emptying tables

2015-05-13 Thread Zaumseil René
>Are you running all your delete statements within a single transaction, or a >separate transaction for each? A single transaction as written before in this thread. Rene Kernkraftwerk Goesgen-Daeniken AG CH-4658 Daeniken, Switzerland Diese Nachricht (inkl. Anhaenge) beinhaltet moeglicherweise

[sqlite] System.Data.SQLite, Virtual Tables, and ThreadAbortException Issues

2015-05-13 Thread Mike Nicolino
Hey Everyone, For reference I'm using version 1.0.95.0 of System.Data.SQLite. I've got System.Data.SQLite embedded in our cloud web service using virtual table modules to access our various data sources. Our IIS is configured to abort requests that exceed a maximum time threshold (required for