> -----Original Message----- > From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users- > boun...@sqlite.org] On Behalf Of Kraijenbrink - FixHet - Systeembeheer > Sent: vrijdag 17 oktober 2014 16:46 > To: General Discussion of SQLite Database > Subject: Re: [sqlite] group_concat query performance > > Thanks Bert, > > You are right. Now the C++ example runs equaly fast. Looks like I have to > redesign the Db schema.
Have you tested using a transaction over your combined queries? Even for simple read operations this may give a huge performance difference. In our use case (where we use SQLite as Subversion working copy database) the performance problems are usually in the total number of transactions for an operation, not in the queries itself. Bert > > With regards, > > Peter > > >Where do you perform the query in the C++ code? > > > >Your C++ program shows how you prepare the statement 5000 times, but > not how you execute it. > > > >The VB.Net code prepares the statement once, and then executes it 5000 > times. > > > > > >It looks like you are testing completely different things. > > > > Bert > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users