Re: need suggestion on querying big tables - Mailing list pgsql-admin

From John Wiencek
Subject Re: need suggestion on querying big tables
Date
Msg-id 74322C20-BFDD-484A-9566-1644480F8253@comcast.net
Whole thread Raw
In response to need suggestion on querying big tables  (Ebin Jozer <ebinjozer@gmail.com>)
List pgsql-admin
Verify that your statistics are current.


John

On Dec 5, 2022, at 12:29 AM, Ebin Jozer <ebinjozer@gmail.com> wrote:

Hi Team,
in postgresql 11 version we have two tables of size 435 GB and 347 GB. 
if we query on single table or if we are doing inner join on both the big tables, it is not displacing any output, it keeps running 

We can see the wait event is IO and directDatafile .

Server Spec : 8 cores and  64GB RAM
PG config : 53 GB(effective_cache), 12 GB(shared buffer) 

can you please suggest some ideas , how we can query on big tables and fasten them to get the output??

Thanks & Regards,
Ebin


pgsql-admin by date:

Previous
From: Ron
Date:
Subject: Re: need suggestion on querying big tables
Next
From: Mladen Gogala
Date:
Subject: Re: need suggestion on querying big tables