On 7 sep. 2013, at 04:45, "David de Regt" <dav...@mylollc.com> wrote:

> Mayhaps the CROSS JOIN trick is your friend in this case, if you can be 
> pretty sure of the correct direction of the join order. :)

In the examples I gave it was actually about a simple delete query from one 
table without any joins, so that still does not explain the huge performance 
decrease.


> From: sqlite-users-boun...@sqlite.org 
> [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of James K. Lowden
> Sent: Friday, September 6, 2013 7:40 PM
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] Query preperation time does not scale linearly with 
> growth of no. of tables
> 
> Factorial, actually.  After three tables, each addtional table increases 
> potential join sequences by roughly an order of magnitude.  

This factorial increasement would be the case if there were any joins, but 
there are none.

Does any one have any other explanation to why the performance gets so bad when 
having many tables?

Our table and column  names are not too long either as E.Pasma suggests.

Best regards,
Harmen
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to