Changes between Version 2 and Version 3 of Performance
- Timestamp:
- May 29, 2013, 8:22:57 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Performance
v2 v3 10 10 11 11 === Regular tiling === 12 13 * Default postgres parameters: 14 12 15 || '''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 || 14 22 15 23 = PostgreSQL tips = … … 43 51 ORDER BY total_size DESC; 44 52 }}} 53 54 == Reset WAL == 55 1. `pg_controldata $PGDATA | egrep '(NextXID|NextOID)'` 56 {{{ 57 Latest checkpoint's NextXID: 0/946 58 Latest checkpoint's NextOID: 18464 59 }}} 60 1. `service stop postgresql` 61 1. `sudo -u postgres pg_resetxlog -o 18464 -x 946 $PGDATA`