Best practices and Performance question

132 views
Skip to first unread message

Cassius Pacheco

unread,
Apr 24, 2013, 6:50:31 PM4/24/13
to fm...@googlegroups.com
About best practices and Performance with FMDB, is better to open and close the database connection for each transaction (insert, select, delete, update, ...) or keep the database open in a singleton?

Thank you!

Gus Mueller

unread,
Apr 24, 2013, 7:01:46 PM4/24/13
to fm...@googlegroups.com
Keep it open, and only close it when you are done with it or you change the schema.

-gus

Cassius Pacheco

unread,
Apr 26, 2013, 3:43:05 PM4/26/13
to fm...@googlegroups.com
Thank you Gus! :)
Reply all
Reply to author
Forward
0 new messages