Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Estimated extent query failed on view #156

Open
zachsa opened this issue Sep 2, 2022 · 1 comment
Open

Estimated extent query failed on view #156

zachsa opened this issue Sep 2, 2022 · 1 comment

Comments

@zachsa
Copy link

zachsa commented Sep 2, 2022

I'm running pg_tileserv from the pramsey/pg_tileserv:20220815 image.

After creating a view that could potentially return a large number of rows, I get an error in the logs if I try to go the JSON file:

https://pg_tileserv.domain/public.my_new_view.json

> Estimated extent query failed, run 'ANALYZE public.my_new_view'

However, if I try to run ANALYZE public.my_new_view I get back the message:

skipping "my_new_view" --- cannot analyze non-tables or special system tables

I have also tried restarting the pg_tileserv service. But that doesn't help either

@pramsey
Copy link
Collaborator

pramsey commented Jul 14, 2023

Yeah, estimated extent on views is going to be problematic for sure. Really nothing to do except skip them...

@pramsey pramsey closed this as completed Jul 14, 2023
@pramsey pramsey reopened this Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants