pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthias Apitz <guru@unixarea.de>
To: Shubham Mittal <mittalshubham30@gmail.com>
Cc: Matthias Apitz <guru@unixarea.de>
Cc: Mladen Gogala <gogala.mladen@gmail.com>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: Query takes around 15 to 20 min over 20Lakh rows
Date: Mon, 6 Sep 2021 20:26:52 +0200
Message-ID: <YTZdbOpGg9gB/0vF@c720-r368166> (raw)
In-Reply-To: <CA+ERcR8xU-kfGy8Dh4txiNRVaULdyhMD9g9PkcDSL135xJTuow@mail.gmail.com>
References: <CA+ERcR_a-UDe5iomYU+FOK+pmPd=cr1eJFyWVtdrF4HeEyyKkg@mail.gmail.com>
	<CAKFQuwZecBri-p0Zh-Fn8-1T6FNPH94wPYXOZ3QQaON2pk1=6w@mail.gmail.com>
	<2441707.1630624966@sss.pgh.pa.us>
	<CA+ERcR9nfKLAj3WBbUNwsvoGm4pFzLDYpTXUH57emMWY37Xtqw@mail.gmail.com>
	<ab769f65-cad0-2d24-3564-5997527ba671@gmail.com>
	<CA+ERcR8qspcq_mxTqBkmV8nXGw4EXwixhN8Yh2s=3VE8a895yQ@mail.gmail.com>
	<CA+ERcR9=fy-tYavfh9=173Rr+Q5Tipm7aVquy0fUz5ogd58YEA@mail.gmail.com>
	<YTZaaraJKmTC0jcB@c720-r368166>
	<CA+ERcR8xU-kfGy8Dh4txiNRVaULdyhMD9g9PkcDSL135xJTuow@mail.gmail.com>

El día lunes, septiembre 06, 2021 a las 11:45:34p. m. +0530, Shubham Mittal escribió:

> 20 Lakh is the current no of rows in the task table.. on which the query is
> executed..

Ahh, I never came accross this (Indian) unit 'lakh' and now understand
that we're are talking about https://en.wikipedia.org/wiki/Lakh 
and 20 Lakh are only 2.000.000 rows, which isn't a very big number.

Can't help with your query, though.

	matthias


-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
August 13, 1961: Better a wall than a war. And, while the GDR was still existing,
no German troups and bombs have been killed in Yugoslavia, Afghanistan, Afrika...





view thread (14+ messages)  latest in thread

Message-ID: <YTZdbOpGg9gB/0vF@c720-r368166>
Permalink:  ../YTZdbOpGg9gB%2F0vF@c720-r368166/
Also on:    postgresql.org/message-id/YTZdbOpGg9gB/0vF@c720-r368166

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: guru@unixarea.de, mittalshubham30@gmail.com, gogala.mladen@gmail.com
  Subject: Re: Query takes around 15 to 20 min over 20Lakh rows
  In-Reply-To: <YTZdbOpGg9gB/0vF@c720-r368166>
  References: <CA+ERcR_a-UDe5iomYU+FOK+pmPd=cr1eJFyWVtdrF4HeEyyKkg@mail.gmail.com> <CAKFQuwZecBri-p0Zh-Fn8-1T6FNPH94wPYXOZ3QQaON2pk1=6w@mail.gmail.com> <2441707.1630624966@sss.pgh.pa.us> <CA+ERcR9nfKLAj3WBbUNwsvoGm4pFzLDYpTXUH57emMWY37Xtqw@mail.gmail.com> <ab769f65-cad0-2d24-3564-5997527ba671@gmail.com> <CA+ERcR8qspcq_mxTqBkmV8nXGw4EXwixhN8Yh2s=3VE8a895yQ@mail.gmail.com> <CA+ERcR9=fy-tYavfh9=173Rr+Q5Tipm7aVquy0fUz5ogd58YEA@mail.gmail.com> <YTZaaraJKmTC0jcB@c720-r368166> <CA+ERcR8xU-kfGy8Dh4txiNRVaULdyhMD9g9PkcDSL135xJTuow@mail.gmail.com> <YTZdbOpGg9gB/0vF@c720-r368166>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox