Changes between Version 5 and Version 6 of Performance


Ignore:
Timestamp:
Jun 16, 2013, 9:37:58 PM (11 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Performance

    v5 v6  
    22
    33= Guidelines =
     4
    45
    56= Benchmarks =
     
    9293
    9394 * vacuumdb -d RASBASE -t "pg_largeobject" -f
     95
     96
     97= Tile cache =
     98
     99A tile cache can be enabled in rasdaman during bulk ingestion, in order to work around inefficiencies of BLOB handling in postgres and slow performance for certain tiling schemes.
     100
     101'''IMPORTANT:''' At the moment the tile cache should be used during bulk ingestion '''_ONLY_''', and disabled afterwards. Leaving the tile cache on will cause selection queries to fail randomly. Furthermore, it is best to have only one server defined in rasmgr.conf, and `-countdown` and `--timeout` parameters set to very large values.
     102
     103The cache can be enabled in rasmgr.conf by specifying a `--cachelimit` parameter after the `-xp` parameter:
     104{{{
     105  --cachelimit <limit>  (default: 0)
     106         specifies upper limit in bytes on using memory for caching
     107}}}
     108
     109An example `rasmgr.conf` configuration that allows the cache to use up to 1GB memory:
     110{{{
     111define dbh rasdaman_host -connect RASBASE
     112define db RASBASE -dbh rasdaman_host
     113
     114define srv N1 -host HOST -type n -port 9000 -dbh rasdaman_host
     115change srv N1 -countdown 20000000 -autorestart on -xp --timeout 30000000 --cachelimit 1073741824
     116}}}