[postgis-tickets] [PostGIS] #4737: Reduce memory usage during MVT encoding

PostGIS trac at osgeo.org
Mon Aug 17 09:15:00 PDT 2020


#4737: Reduce memory usage during MVT encoding
--------------------------+---------------------------
  Reporter:  Algunenano   |      Owner:  Algunenano
      Type:  enhancement  |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS 3.1.0
 Component:  postgis      |    Version:  master
Resolution:  fixed        |   Keywords:
--------------------------+---------------------------
Changes (by Raúl Marín <git@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"99c50d4602a6e1d94f65932cbcbee933af998ea1/git"
 99c50d46/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="99c50d4602a6e1d94f65932cbcbee933af998ea1"
 MVT: Improve performance and memory usage

 - Reduce memory usage (raises protobuf-c requirement to 1.1).
 - Improves performance when merging tiles (from parallel queries).
 - Uses protobuf values to reduce the number of transformations and
   memory usage.
 - Uses a temporal context when transforming data (reading rows) to
   have a fast way of cleaning up memory before the parallel process
   starts.
 - Processes texts and cstrings with each known reading functions
   instead of the `OidOutputFunctionCall` fallback.
 - Avoids multiple hash function calls when a value is not found in
   the hash table (once for the lookup and once for the insertion).

 Closes https://github.com/postgis/postgis/pull/576
 Closes #4737
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4737#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list