Commit Graph

368 Commits (204332bef40b3bec7a5a04e4be761174caa22248)

Author SHA1 Message Date
Oliver Tonnhofer 6c5b7e0201 refactored cache API 2013-07-05 09:21:51 +02:00
Oliver Tonnhofer 2ff97757d8 update tests for diff cache 2013-07-05 08:56:01 +02:00
Oliver Tonnhofer d092ba7807 refactored diff cache 2013-07-05 08:03:13 +02:00
Oliver Tonnhofer 0f09649775 Merge branch 'master' into diffbunch
Conflicts:
	cache/diff.go
	cache/diff_test.go
2013-07-04 17:33:35 +02:00
Oliver Tonnhofer d62f11ff97 refactored cache API 2013-07-04 17:27:22 +02:00
Oliver Tonnhofer e38875a850 remove unused code; make private functions lowercase 2013-07-04 16:03:26 +02:00
Oliver Tonnhofer 0bbe0065d5 refactored PostGIS generalize/optimize 2013-07-04 15:52:14 +02:00
Oliver Tonnhofer 8d32510953 refactored PostGIS.Finish 2013-07-04 15:39:13 +02:00
Oliver Tonnhofer c18802a64e add optimize option 2013-07-04 11:26:53 +02:00
Oliver Tonnhofer 80aaa01dc8 Merge branch 'master' into diffbunch 2013-07-02 14:15:28 +02:00
Oliver Tonnhofer 1e6830968d add generalized tables to geometry_columns 2013-07-02 14:14:32 +02:00
Oliver Tonnhofer 811a5ad9e8 add TODOs and comments 2013-07-02 08:49:44 +02:00
Oliver Tonnhofer 99d59e8b31 fixed import 2013-06-28 13:10:46 +02:00
Oliver Tonnhofer 32e4214351 refactored coords cache 2013-06-28 13:10:18 +02:00
Oliver Tonnhofer 8bf8e5d60a fixed string_suffixreplace 2013-06-28 13:10:04 +02:00
Oliver Tonnhofer 94b5999756 refactored bunchCache; add more tests 2013-06-26 21:57:07 +02:00
Oliver Tonnhofer 64b2689ab8 optimize diff bunches 2013-06-26 19:43:30 +02:00
Oliver Tonnhofer 0a0a079d93 remove conversion to map 2013-06-25 05:12:59 +02:00
Oliver Tonnhofer 2e67df6f0f first bunched diff cache 2013-06-24 15:52:45 +02:00
Oliver Tonnhofer f8e34f37e2 return err immediately 2013-06-24 13:00:20 +02:00
Oliver Tonnhofer a06d2bda7c udpate diff importer 2013-06-21 15:09:57 +02:00
Oliver Tonnhofer 048c8261d7 fixed parallel index creation 2013-06-21 15:09:38 +02:00
Oliver Tonnhofer 509ee23db9 wip: update diff importer for single transaction imports 2013-06-21 11:06:05 +02:00
Oliver Tonnhofer c8492b06f7 support non-bulk imports for diff mode 2013-06-21 11:06:05 +02:00
Oliver Tonnhofer cf984157dd first diff import 2013-06-21 11:06:05 +02:00
Oliver Tonnhofer 003e5f8f0b Revert "unmarshal items in writer"
This reverts commit c314f01886.
2013-06-21 11:05:29 +02:00
Oliver Tonnhofer bb083e9442 do not overwrite GOMAXPROCS env 2013-06-20 17:10:57 +02:00
Oliver Tonnhofer c11dc8a55e fixed calculation of worker number 2013-06-20 14:23:06 +02:00
Oliver Tonnhofer c314f01886 unmarshal items in writer 2013-06-20 14:21:20 +02:00
Oliver Tonnhofer 0b4bda5ef2 make bunch cache capacity configurable; incr default 2013-06-20 13:48:08 +02:00
Oliver Tonnhofer 1ad73517bb run generalization and index creation in parallel 2013-06-20 13:44:58 +02:00
Oliver Tonnhofer a13ca37fde create osm id index on generalized tables 2013-06-20 10:34:48 +02:00
Oliver Tonnhofer 03d96b5aae fixed closing of caches 2013-06-20 10:34:22 +02:00
Oliver Tonnhofer ecd5541c1e close caches earlier to release memory; optimize read only access for coords 2013-06-20 09:21:30 +02:00
Oliver Tonnhofer 1962abec78 fixed tests 2013-06-20 08:11:54 +02:00
Oliver Tonnhofer c071bdd15e tweaked refindex cache size 2013-06-19 16:23:04 +02:00
Oliver Tonnhofer 4d85c03f92 load refs in parallel 2013-06-19 16:05:36 +02:00
Oliver Tonnhofer 3d7a38c817 reuse refindex caches 2013-06-19 13:05:02 +02:00
Oliver Tonnhofer 99fc4dfef1 increase refindex cache size 2013-06-19 11:50:57 +02:00
Oliver Tonnhofer 6579da5526 set SRID in AddGeometryColumn; write geoms as EWKB 2013-06-19 09:19:21 +02:00
Oliver Tonnhofer 6abee98a10 Merge branch 'master' into singletransaction 2013-06-18 16:04:29 +02:00
Oliver Tonnhofer 4bf4cf712d add missing config.go file 2013-06-18 16:04:20 +02:00
Oliver Tonnhofer 4e921b723d Merge branch 'master' into singletransaction 2013-06-18 15:53:14 +02:00
Oliver Tonnhofer e6f880883b make cache options configurable 2013-06-18 15:53:04 +02:00
Oliver Tonnhofer d39703aed9 tweaked buffer sizes 2013-06-18 11:48:47 +02:00
Oliver Tonnhofer 9601dbbfde use optimized asHex function instead of Sprintf 2013-06-17 17:34:40 +02:00
Oliver Tonnhofer e520b515ab update import to public name 2013-06-17 15:56:02 +02:00
Oliver Tonnhofer 51b0c2ef4e use COPY FROM STDIN 2013-06-17 15:17:39 +02:00
Oliver Tonnhofer c1353c281a tweaking 2013-06-11 15:09:10 +02:00
Oliver Tonnhofer ef77711c60 truncate table at begin 2013-06-11 14:43:14 +02:00