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

Reduce database size #1438

merged 7 commits into from May 1, 2019

Reduce database size #1438

merged 7 commits into from May 1, 2019


Copy link

@rouault rouault commented Apr 22, 2019

A number of fixes / improvements including 2 that makes the database shrink from 6.3 MB to 5.2 MB

@rouault rouault force-pushed the reduce_db_size branch from 7b01f38 to 3270331 Apr 22, 2019
rouault added 7 commits Apr 22, 2019
- Transform conversion as a view, and when inserting into it, actually
  insert into 3 tables: conversion_table, conversion_method and conversion_param,
  so that method and parameter names are not repeated each time.
- Similarly for helmert_tranformation, insert into helmert_transformation_tabl
  and coordinate_operation_method.

This reduces the db size from 6 344 704 bytes to 5 853 184 bytes, without
significant slowdown for queries.
…ured form

That is Transverse_Mercator/Gauss_Kruger, Lambert_Conformal_Conic and

Decreases proj.db from 5 853 184 bytes to 5 189 632 bytes.
@rouault rouault force-pushed the reduce_db_size branch from 3270331 to 8c02521 Apr 22, 2019
@kbevers kbevers added this to the 6.1.0 milestone May 1, 2019
@kbevers kbevers merged commit eeda5f7 into OSGeo:master May 1, 2019
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants