Re: Query hangs (and then timeout) after using COPY to import data

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query hangs (and then timeout) after using COPY to import data
Дата
Msg-id 2077733.1707695038@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Query hangs (and then timeout) after using COPY to import data  (Ron Johnson <ronljohnsonjr@gmail.com>)
Список pgsql-general
Ron Johnson <ronljohnsonjr@gmail.com> writes:
> Since the query works in PgAdmin, but not in npgsql, the problem has to be
> somewhere in Npgsql.

I'm wondering if npgsql is executing the query as a cursor and that
is causing the planner to make a poor choice of plan.  There is a
bias towards fast-start plans if you use a cursor, and that doesn't
always work well :-(

            regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Query hangs (and then timeout) after using COPY to import data
Следующее
От: veem v
Дата:
Сообщение: Re: How to do faster DML