Eric,

Sorry if this is obvious to everyone else but not to me.. what exactly is
cursor()?  I don't see it anywhere in the C API and the wrapper I'm using
(SQLite .NET) doesn't have any corresponding method.

In any case, only true way to know how expensive it is is to do some
testing.  The closer the test is to your real schema/data the more
applicable will be the test to your situation.  For example, my testing
found that open takes 17 ms for my schema, but simpler schemas require only
one or two.  All testing is relative to exactly what is being tested.

Best regards,

Sam

 


-------------------------------------------
We're Hiring! Seeking a passionate developer to join our team building
products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 
-----Original Message-----
From: Eric S. Johansson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 28, 2007 9:30 PM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] How fast is the sqlite connection created?

Samuel R. Neff wrote:
> Some of this performance gain is probably related to caching data and
query
> plan, not just opening the connection, but still that caching is
connection
> related and is lost when you close the connection so it's a very
real-world
> valid comparison.

no surprise that connect() is expensive but what is the cost of 
cursor()?  is it cheap or expensive?

-- 
Speech-recognition in use.  It makes mistakes, I correct some.



-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to