Message posté par : Christophe BADOL
----------------------------------------
-----------------
n314 écrit :
y'a pas le VACUUM FULL non plus sur ce test, si ?
-----------------
Effectivement j'ai oublié de le préciser :
-----------------
Code :
--- Test 4 : ST_QuantizeCoordinates sans autre contrainte
DROP TABLE IF EXISTS public.n_batiment_pepci_001_2024_t4;
CREATE TABLE public.n_batiment_pepci_001_2024_t4 AS
SELECT
gid,
TYPE,
ST_QuantizeCoordinates(geom, 0) AS geom
FROM r_parcellaire_express_2024.n_batiment_pepci_001_2024;
--> Updated Rows 576946
select
pg_size_pretty(pg_total_relation_size('public.n_batiment_pepci_001_2024_t4')) as
tot,
pg_size_pretty(pg_relation_size('public.n_batiment_pepci_001_2024_t4')) as
tab,
pg_size_pretty(pg_indexes_size('public.n_batiment_pepci_001_2024_t4')) as
idx;
/*
tot |tab |idx |
------+------+-------+
123 MB|123 MB|0 bytes|
*/
VACUUM FULL public.n_batiment_pepci_001_2024_t4;
REINDEX TABLE public.n_batiment_pepci_001_2024_t4;
select
pg_size_pretty(pg_total_relation_size('public.n_batiment_pepci_001_2024_t4')) as
tot,
pg_size_pretty(pg_relation_size('public.n_batiment_pepci_001_2024_t4')) as
tab,
pg_size_pretty(pg_indexes_size('public.n_batiment_pepci_001_2024_t4')) as
idx;
/*
tot |tab |idx |
------+------+-------+
123 MB|123 MB|0 bytes|
*/
-----------------
----------------------------------------
Le message est situé
https://georezo.net/forum/viewtopic.php?pid=369920#p369920
Pour y répondre : geobd(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net