Changes between Version 2 and Version 3 of Performance


Ignore:
Timestamp:
May 29, 2013, 8:22:57 AM (11 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Performance

    v2 v3  
    1010
    1111=== Regular tiling ===
     12
     13 * Default postgres parameters:
     14
    1215|| '''Tiling scheme''' || '''Tile size''' || '''Import time''' || '''DB size before''' || '''DB size after''' || '''BLOBs size''' || '''BLOBs size2''' ||
    13 || 0:31,0:31,0:149 || 460800 || 84 minutes || 184M || '''18404M''' || 267 MB || 18 GB ||
     16|| 0:31,0:31,0:149 || 460800 || 84 minutes || 184M || '''19416M''' || 267 MB || 18 GB ||
     17
     18 * Changed parameters in postgresql.conf: shared buffers = 1024 MB, temp_buffers = 8MB, fsync = off, synchronous_commit = off, wal_sync_method = fsync, full_page_writes = off, wal_buffers = 1MB, wal_writer_delay = 2000ms, checkpoint_segments = 32
     19   
     20|| '''Tiling scheme''' || '''Tile size''' || '''Import time''' || '''DB size before''' || '''DB size after''' || '''BLOBs size''' || '''BLOBs size2''' ||
     21|| 0:31,0:31,0:149 || 460800 || 35 minutes || 184M || '''19416M''' || 267 MB || 18 GB ||
    1422
    1523= PostgreSQL tips =
     
    4351ORDER BY total_size DESC;
    4452}}}
     53
     54== Reset WAL ==
     551. `pg_controldata $PGDATA | egrep '(NextXID|NextOID)'`
     56{{{
     57Latest checkpoint's NextXID:          0/946
     58Latest checkpoint's NextOID:          18464
     59}}}
     601. `service stop postgresql`
     611. `sudo -u postgres pg_resetxlog -o 18464 -x 946 $PGDATA`