[sqlite] slowish R*Tree performance

2014-06-14 Thread Eric Rubin-Smith
I am exploring a mechanism for finding the longest covering IPv6 prefix for a given IPv6 address by leveraging SQLite 3.8.5's R*Tree feature. I'm getting pretty bad performance and would like to know if I'm doing something obviously wrong. A 1-dimensional R*Tree of integers of width 128 bits

Re: [sqlite] Any way to debug which query/connection is holding a share lock?

2014-06-14 Thread RSmith
On 2014/06/14 02:00, Sohail Somani wrote: I think I'm pretty certain that my program *is* the culprit. I'd like to add the tracing to SQLite itself. Which functions do you suggest? I know you mentioned opening/closing so that would be sqlite3_open* and sqlite3_finalize? Just to clarify,