pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedSuggestion on table analyze
3+ messages / 2 participants
[nested] [flat]
* Suggestion on table analyze
@ 2020-05-21 14:18 postgann2020 s <postgann2020@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: postgann2020 s @ 2020-05-21 14:18 UTC (permalink / raw)
To: pgsql-general@postgresql.org, pgsql-admin@postgresql.org, pgsql-performance@postgresql.org, Adrian Klaver <adrian.klaver@aklaver.com>
Hi Team,
Thanks for your support.
Could you please suggest on below query.
Environment
PostgreSQL: 9.5.15
Postgis: 2.2.7
Mostly table contain GIS data.
While analyzing the table getting below NOTICE. It seems is pretty
understanding, but needs help on the below points.
1 . What might be the reason for getting the NOTICE?.
2. Is this lead to any problems in the future?.
ANALYZE SCHEMA.TABLE;
NOTICE: no non-null/empty features, unable to compute statistics
NOTICE: no non-null/empty features, unable to compute statistics
Query returned successfully with no result in 1.1 secs.
Thanks for your support.
Regards,
PostgAnn.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Suggestion on table analyze
@ 2020-05-21 14:41 Adrian Klaver <adrian.klaver@aklaver.com>
parent: postgann2020 s <postgann2020@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Klaver @ 2020-05-21 14:41 UTC (permalink / raw)
To: postgann2020 s <postgann2020@gmail.com>; pgsql-general@postgresql.org; pgsql-admin; pgsql-performance@postgresql.org
On 5/21/20 7:18 AM, postgann2020 s wrote:
> Hi Team,
>
> Thanks for your support.
>
> Could you please suggest on below query.
>
> Environment
> PostgreSQL: 9.5.15
> Postgis: 2.2.7
>
> Mostly table contain GIS data.
>
> While analyzing the table getting below NOTICE. It seems is pretty
> understanding, but needs help on the below points.
>
> 1 . What might be the reason for getting the NOTICE?.
> 2. Is this lead to any problems in the future?.
>
> ANALYZE SCHEMA.TABLE;
>
> NOTICE: no non-null/empty features, unable to compute statistics
> NOTICE: no non-null/empty features, unable to compute statistics
> Query returned successfully with no result in 1.1 secs.
This is coming from PostGIS:
postgis/gserialized_estimate.c:
/* If there's no useful features, we can't work out stats */
if ( ! notnull_cnt )
{
elog(NOTICE, "no non-null/empty features, unable to
compute statistics");
stats->stats_valid = false;
return;
}
You might find more information from here:
https://postgis.net/support/
Though FYI PostGIS 2.2.7 is past EOL:
https://postgis.net/source/
>
> Thanks for your support.
>
> Regards,
> PostgAnn.
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Suggestion on table analyze
@ 2020-05-21 14:48 postgann2020 s <postgann2020@gmail.com>
parent: Adrian Klaver <adrian.klaver@aklaver.com>
0 siblings, 0 replies; 3+ messages in thread
From: postgann2020 s @ 2020-05-21 14:48 UTC (permalink / raw)
To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: pgsql-general@postgresql.org; pgsql-admin; pgsql-performance@postgresql.org
Hi Adrian,
Thanks, I'll check it out.
Regards,
PostgAnn.
On Thu, May 21, 2020 at 8:11 PM Adrian Klaver <adrian.klaver@aklaver.com>
wrote:
> On 5/21/20 7:18 AM, postgann2020 s wrote:
> > Hi Team,
> >
> > Thanks for your support.
> >
> > Could you please suggest on below query.
> >
> > Environment
> > PostgreSQL: 9.5.15
> > Postgis: 2.2.7
> >
> > Mostly table contain GIS data.
> >
> > While analyzing the table getting below NOTICE. It seems is pretty
> > understanding, but needs help on the below points.
> >
> > 1 . What might be the reason for getting the NOTICE?.
> > 2. Is this lead to any problems in the future?.
> >
> > ANALYZE SCHEMA.TABLE;
> >
> > NOTICE: no non-null/empty features, unable to compute statistics
> > NOTICE: no non-null/empty features, unable to compute statistics
> > Query returned successfully with no result in 1.1 secs.
>
> This is coming from PostGIS:
>
> postgis/gserialized_estimate.c:
> /* If there's no useful features, we can't work out stats */
> if ( ! notnull_cnt )
> {
> elog(NOTICE, "no non-null/empty features, unable to
> compute statistics");
> stats->stats_valid = false;
> return;
> }
>
>
>
> You might find more information from here:
>
> https://postgis.net/support/
>
> Though FYI PostGIS 2.2.7 is past EOL:
>
> https://postgis.net/source/
>
> >
> > Thanks for your support.
> >
> > Regards,
> > PostgAnn.
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-05-21 14:48 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21 14:18 Suggestion on table analyze postgann2020 s <postgann2020@gmail.com>
2020-05-21 14:41 ` Adrian Klaver <adrian.klaver@aklaver.com>
2020-05-21 14:48 ` postgann2020 s <postgann2020@gmail.com>
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