postgres run statistics on table. There are any references about postgres run statistics on table in here. you can look below.