After testing the Sqlite3_open and ATTACH DATABASE, I found that the attach database is slower than sqlite3_open. there is attachment after the mail which includ the speed information ( millisecond ).
At 2015-12-16 10:59:27, "Richard Hipp" <drh at sqlite.org> wrote: >On 12/15/15, ??? <2004wqg2008 at 163.com> wrote: >> I mean only compare the two ways of get the database handl. >> 1.sqlite3_open >> 2.ATTACH DATABASE > >I think they both do about the same amount of work. > >-- >D. Richard Hipp >drh at sqlite.org >_______________________________________________ >sqlite-users mailing list >sqlite-users at mailinglists.sqlite.org >http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users