334 Commits

Author SHA1 Message Date
Vincent Picavet
a94e4c045d Fix PG 9.5 compatibility. 2015-07-30 17:26:54 +02:00
Sandro Santilli
3612254615 Add PC_Upgrade item 2015-05-15 16:06:50 +02:00
Sandro Santilli
82429d4461 Add a pc_upgrade([<version>]) function 2015-05-15 16:00:58 +02:00
Sandro Santilli
bb0d7b4b6f Force override when linking "next" script 2015-05-15 15:32:06 +02:00
Sandro Santilli
48868f55b9 Create in-development upgrade scripts ("next" prefix) 2015-05-15 15:27:48 +02:00
Sandro Santilli
38944e72df Implement PC_Patch{Min,Max,Avg}(PcPatch) returns PcPoint
Closes #77

NOTE: changes the C function signature so you need to properly
      upgrade scripts for things to work again.
2015-05-15 15:19:47 +02:00
Sandro Santilli
bb02dd0454 Allow passing 0 to --iterate for skipping queries 2015-05-14 17:12:59 +02:00
Sandro Santilli
335aad2a67 Include total number of points in the table 2015-05-14 15:29:27 +02:00
Sandro Santilli
c9c8c4ca31 Show up to 2 decimal digits for average bytes per point 2015-05-14 11:37:43 +02:00
Sandro Santilli
f335d5ef3f Print average bytes per point 2015-05-13 18:26:11 +02:00
Sandro Santilli
79f6b701b1 PDAL writer plugin for pgpointcloud does not take a "capacity" param
See #48
2015-05-08 10:08:20 +02:00
Sandro Santilli
07877f8e23 Remove superfluos newline from output of multiple iterations run 2015-05-07 17:46:47 +02:00
Sandro Santilli
3105488cbb Include block size in output 2015-05-07 17:46:02 +02:00
Sandro Santilli
5a5c10a9b7 Remove PC_AsText from the default list of queries
.. it is too slow to be useful as a default ..
2015-05-05 16:14:16 +02:00
Sandro Santilli
3477d85d1c Speed up base info query 2015-05-05 13:40:38 +02:00
Sandro Santilli
347ccfebbb Print percent of IO/CPU in addition to bare numbers 2015-05-05 13:09:46 +02:00
Sandro Santilli
bdf8e30ac2 Show IO times separately, WARN if track_io_timing is not on
Closes #80
2015-05-05 12:27:50 +02:00
Sandro Santilli
c052d38e0b Add relation sizes (main, toasts, indexes) 2015-05-04 18:14:51 +02:00
Sandro Santilli
022708bcba Fix stat computed by PC_Filter for scaled/offsetted dimensions.
Closes #78.
Includes testcase.
2015-04-30 13:31:13 +02:00
Sandro Santilli
a632241185 Fix max stat computed by PC_Filter for unscaled dimensions.
Closes #79.
Includes testcase.
2015-04-30 11:58:40 +02:00
Sandro Santilli
ce505591f4 Add support for an --iterate switch, default to 1 (rather than 3) 2015-04-28 17:32:47 +02:00
Sandro Santilli
72b920133c Change default column name to "pa", matching PDAL import 2015-04-27 13:34:54 +02:00
Sandro Santilli
65600f70bb Allow passing custom function to be run by the benchmarker 2015-04-24 18:24:05 +02:00
Sandro Santilli
3c37e6d6fa Add "type" field in the example PC_Summary output 2015-04-24 16:44:23 +02:00
Sandro Santilli
7061bbb549 Add "type" field in pc_summary dimension output 2015-04-24 16:41:21 +02:00
Sandro Santilli
718c931c81 Fix PC_Compress call with single 'dimensional' argument 2015-04-21 16:44:18 +02:00
Sandro Santilli
f28676b482 Fix test for PC_Compress 2015-04-21 16:43:21 +02:00
Sandro Santilli
d345f927c0 Fix leaks in patch unit test 2015-04-21 16:19:57 +02:00
Sandro Santilli
ca62fdf00f Fix leak in pc_patch_from_patchlist 2015-04-21 16:19:52 +02:00
Sandro Santilli
4ba74589d6 Fix mem leak in pc_patch_dimensional_from_pointlist 2015-04-21 16:17:11 +02:00
Sandro Santilli
ab76f32045 Fix leak in pc_patch_compute_stats 2015-04-21 16:15:47 +02:00
Sandro Santilli
dda27dc9d8 Fix leak in pc_patch_dimensional_from_uncompressed 2015-04-21 16:04:58 +02:00
Sandro Santilli
5c7e760632 Add news entry about truncation warning 2015-04-21 14:09:24 +02:00
Sandro Santilli
823744ee08 Do not test WARNINGs (travis doesn't show them..) 2015-04-21 14:05:11 +02:00
Sandro Santilli
c0e75fbd43 Warn when truncating values due to size constraints
Also makes the truncation controled rather than unspecified.
Values are clamped (max if over max, min if below min).

Closes #68

Updates expected output from existing test that uses truncating value
2015-04-21 13:56:09 +02:00
Sandro Santilli
3f3bdab31f Clone stats on dimensional compression
Closes #75
2015-04-21 12:13:17 +02:00
Sandro Santilli
291ccfe57a Fix crash in testcase (due to #75) 2015-04-21 12:01:18 +02:00
Sandro Santilli
44037b743e Leak some leaks from pc_patch unit test 2015-04-21 11:40:21 +02:00
Sandro Santilli
e105cdbc40 Fix memory leak in pc_patch_dimensional_to_string 2015-04-21 11:33:12 +02:00
Sandro Santilli
cd7a644818 Drop a memory copy in pc_patch_to_string (#74) 2015-04-21 11:12:07 +02:00
Sandro Santilli
ad1c71705a Fix typo in error message 2015-04-21 07:41:23 +02:00
Sandro Santilli
fed95d2f73 Remove unused include 2015-04-20 19:17:29 +02:00
Sandro Santilli
84063ca862 Print column storage and total column size (rather than full table size) 2015-04-20 17:45:32 +02:00
Sandro Santilli
d8a40968e8 Attach major version to shared library
Implemented in both autoconf and cmake.
Closes #59.
2015-04-20 12:47:18 +02:00
Sandro Santilli
e7aae3f5e6 Avoid compression cost in decompression scan
Split full scan in PC_Uncompress, PC_Explode, PC_AsText.
Closes #73
2015-04-16 19:21:56 +02:00
Sandro Santilli
dd4165bb7e Scan all dimensions, not just one, and do not assume its presence 2015-04-16 12:02:39 +02:00
Sandro Santilli
73d7498308 Refactor benchmark to directly run psql
Also adds more info in output
2015-04-14 16:22:21 +02:00
Sandro Santilli
1cb2aab70f Do not show WARNINGs from regression
Should fix travis check:
https://travis-ci.org/pgpointcloud/pointcloud/builds/58411794#L520
2015-04-14 11:33:38 +02:00
Sandro Santilli
e5605e9292 Fix crash in schema parser
Closes #71.
Includes testcase.
2015-04-14 11:26:28 +02:00
Sandro Santilli
fc409ca842 Allow specifying per-table column name 2015-04-14 10:15:01 +02:00