Re: [sqlite] sqlite3_open expensive?

2009-02-27 Thread Nuno Lucas
On Mon, Feb 23, 2009 at 12:57 PM, Christoph Schreiber wrote: > hi! > how expensive is sqlite3_open? i'm working on a small > (one-thread-per-connection) server. is it smart (in terms of cpu-time and > memory usage) to use sqlite3_open for every connection or is it better to

[sqlite] sqlite3_open expensive?

2009-02-23 Thread Christoph Schreiber
hi! how expensive is sqlite3_open? i'm working on a small (one-thread-per-connection) server. is it smart (in terms of cpu-time and memory usage) to use sqlite3_open for every connection or is it better to create a pool of pre-opened sqlite-connections? regards, luky ps: