When the server moves over to use SSDs, I hope we will be able to turn
on some new XAPI features I've implemented. The indices do take more
space though at around at extra ~119Gb.
It only took me ... err several years to figure out how to do this in
postgis :)
Ross, probably the best option is to reinitialize the database on the
SSD drive from a planet dump, then pause the edit API and import the
recent changes into the new database. We might also want to do a dry run
of the procedure before moving over.
Tim
schemaname | tablename | num_rows | table_size
| index_name | index_size | unique
------------+--------------------------------+------------+------------+-------------------------------------------------+------------+--------
public | pycrocosm_mod_meta | 0 | 8192 bytes
| | | N
public | planet_static_meta | 0 | 8192 bytes
| | | N
public | pycrocosm_test_meta | 0 | 8192 bytes
| | | N
public | planet_static_livenodes | 1376552576 | 163 GB
| planet_static_livenodes_gix_tags | 102 GB | N
public | planet_static_livenodes | 1376552576 | 163 GB
| planet_static_livenodes_gix | 73 GB | N
public | planet_static_way_mems | 1614124288 | 78 GB
| planet_static_way_mems_mids | 34 GB | N
public | planet_static_livenodes | 1376552576 | 163 GB
| planet_static_livenodes_cs | 29 GB | N
public | planet_static_livenodes | 1376552576 | 163 GB
| planet_static_livenodes_ts | 29 GB | N
public | planet_static_nodeids | 1376552576 | 46 GB
| planet_static_nodeids_pkey | 29 GB | Y
public | planet_static_livenodes | 1376552576 | 163 GB
| planet_static_livenodes_pkey | 29 GB | Y
public | planet_static_liveways | 123813272 | 106 GB
| planet_static_liveways_gix_tags | 17 GB | N
public | planet_static_liveways | 123813272 | 106 GB
| planet_static_liveways_cs | 10196 MB | N
public | planet_static_liveways | 123813272 | 106 GB
| planet_static_liveways_pkey | 6816 MB | Y
public | planet_static_liveways | 123813272 | 106 GB
| planet_static_liveways_ts | 5656 MB | N
public | planet_static_wayids | 123813272 | 4280 MB
| planet_static_wayids_pkey | 2652 MB | Y
public | planet_static_relation_mems_w | 12242664 | 609 MB
| planet_static_relation_mems_w_mids | 262 MB | N
public | planet_static_liverelations | 1390036 | 1458 MB
| planet_static_liverelations_gix_tags | 177 MB | N
public | planet_static_liverelations | 1390036 | 1458 MB
| planet_static_liverelations_pkey | 89 MB | Y
public | planet_static_liverelations | 1390036 | 1458 MB
| planet_static_liverelations_cs | 77 MB | N
public | planet_static_liverelations | 1390036 | 1458 MB
| planet_static_liverelations_ts | 62 MB | N
public | planet_static_relation_mems_n | 1786045 | 89 MB
| planet_static_relation_mems_n_mids | 38 MB | N
public | planet_static_relationids | 1390036 | 48 MB
| planet_static_relationids_pkey | 30 MB | Y
public | planet_static_livenodes | 1376552576 | 163 GB
| planet_static_livenodes_uid | 4264 kB | N
public | planet_static_liveways | 123813272 | 106 GB
| planet_static_liveways_uid | 2896 kB | N
public | planet_static_relation_mems_r | 112024 | 5712 kB
| planet_static_relation_mems_r_mids | 2488 kB | N
public | spatial_ref_sys | 8500 | 6936 kB
| spatial_ref_sys_pkey | 304 kB | Y
public | planet_static_liverelations | 1390036 | 1458 MB
| planet_static_liverelations_uid | 56 kB | N