Re: table is hanging

Поиск
Список
Период
Сортировка
От Sonam Sharma
Тема Re: table is hanging
Дата
Msg-id CAM-M3TkNCwhRvDKuVGR9R7oLCT5Mz1p5SOrX9dii7nVG1VoTOg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: table is hanging  (Nicklas Avén <nicklas.aven@jordogskog.no>)
Ответы Re: table is hanging  (Saurabh Agrawal <mail@saurabhagrawal.net>)
Список pgsql-general
I only fetched 2 rows and it's responding 

On Fri, May 31, 2019, 4:39 PM Nicklas Avén <nicklas.aven@jordogskog.no> wrote:

To find out if there is some locking problem or just takes time for the client to handle the data, ask just for a small subset of the table.


If

select * from table limit 1;

works it is probably just taking a lot of time to send all the data to the client.

If the data set includes something large also 1 ow can be heavy.

You can even try with limit 0 to just find out if the table responses.

The client software is often the largest bottleneck, not the database.


/Nicklas



On 5/31/19 1:03 PM, Sonam Sharma wrote:
ADding to this, this no of records are present on this table :  19087314

On Fri, May 31, 2019 at 4:28 PM Sonam Sharma <sonams1209@gmail.com> wrote:
Hi Team ,

when i am trying to do select on one table , its hanging and not giving any output.
Can someone please advice what should I check for this ?

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

Предыдущее
От: Nicklas Avén
Дата:
Сообщение: Re: table is hanging
Следующее
От: Saurabh Agrawal
Дата:
Сообщение: Re: table is hanging