On 6/11/17, Balaji Ramanathan <balaji.ramanat...@gmail.com> wrote:
> Hi,
>
>     I maintain a personal database on sqlite.  It is quite small, with
> about 30 tables, and an equal number of views.  One of these views is an
> inner join of the contents of about 15 of these views, producing a summary
> view of my data.  The views combined in this summary view contain about
> 3200 rows each, and the summary view usually runs in about 2 seconds or
> less.
>
>     Everything was working fine under 3.15.  I just use the commandline
> tool (sqlite.exe) to interact with my database.  I am not a programmer and
> don't have a need for programmatic access to this database.  I recently
> updated to 3.19.3, and now when I select from that summary view, I get no
> results - the query just runs for minutes on end, and I eventually lose
> patience and kill the process with a ctrl-c.

Thanks for the test case!

Bisecting shows that the problem is the optimization introduced here:

   https://www.sqlite.org/src/timeline?c=9e35c89dbe744312

I still do not understand the details.  But we'll be working on it.

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to