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

web.update_invalid_addresses slow? #23

Open
britiger opened this issue Jun 14, 2020 · 1 comment
Open

web.update_invalid_addresses slow? #23

britiger opened this issue Jun 14, 2020 · 1 comment

Comments

@britiger
Copy link
Owner

It seams running web.update_invalid_addresses it is very slow using PostgreSQL 12.

@britiger
Copy link
Owner Author

Checked with different conditions (all dach):
pgsql 12 / postgis 3 (frech imported):

explain analyze select web.update_invalid_addresses(-1829065,true);
                                         QUERY PLAN                                         
--------------------------------------------------------------------------------------------
 Result  (cost=0.00..0.26 rows=1 width=1) (actual time=19349.319..19349.320 rows=1 loops=1)
 Planning Time: 0.100 ms
 Execution Time: 19353.671 ms

pgsql 12 / postgis 3 (Running since 11-2019 with daily updates):

explain analyze select web.update_invalid_addresses(-1829065,true);
                                         QUERY PLAN                                         
--------------------------------------------------------------------------------------------
 Result  (cost=0.00..0.26 rows=1 width=1) (actual time=27849.066..27849.067 rows=1 loops=1)
 Planning Time: 0.087 ms
 Execution Time: 27852.308 ms

pgsql 11 / postgis 2.5 (Running until 11-2019)

explain analyze select web.update_invalid_addresses(-1829065,true);
                                        QUERY PLAN                                        
------------------------------------------------------------------------------------------
 Result  (cost=0.00..0.26 rows=1 width=1) (actual time=5740.886..5740.887 rows=1 loops=1)
 Planning Time: 0.044 ms
 Execution Time: 5740.915 ms

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

1 participant