Re: Slow query and wrong row estimates for CTE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 15, 2021 at 5:32 PM Justin Pryzby <pryzby@xxxxxxxxxxxxx> wrote:
...

Without looking closely, an index might help: student_id,assignment_id
That'd avoid the sort, and maybe change the shape of the whole plan.
I tried that prior to posting on the forum and it didn't make a difference. 🙁

I'll try your other suggestions later today or tomorrow. I will keep you posted.

--
Justin

Thanks,

Dane

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux