https://bugzilla.wikimedia.org/show_bug.cgi?id=33980

--- Comment #21 from kakrue...@gmail.com ---
Regarding hstore: I don't have any hard numbers of overhead at the moment, but
I don't think it is a significant or relevant overhead.

Configuration wise, activating hstore is done with a single command line switch
to osm2pgsql. I believe my PPA packages already install the hstore extension
into postgresql automatically.

Performance wise during import / diff processing the overhead should be minimal
as that is not really where the bottleneck is.

Sizewize I think the overhead is somewhere on the order of 100GB if I am not
mistaken. However, given that the non hstore db is just over 256GB and the
hstore one is below 512GB, chances are that overhead is not really much
concern.

Furthermore there is some talk in moving the main osm style-sheet to (partly)
use hstore as well. It would probably keep all the data in postgres columns for
which there are where clauses on the rendering sql selection filteres and move
the rest into hstore. So far this hasn't happened, as the performance impact
during rendering isn't well known yet. But with pressure to include data in the
map rendering for which the current schema doesn't have columns, I would think
it is likely to happen at some point in the not too distant future.

So I would recommend to activate it just to be flexible and prepared for future
changes without having to re-import everything again. From what I have seen,
there are little downsides and several benefits. But as a fresh import wouldn't
take all that long, it probably isn't directly critical either.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to