The hql speed is 3653.10 cells/s which is faster than the script query
(about 2050 cells/s).
select * into file is the fastest way (232173.43 cells/s) , but not
the way I want.
Luke, what's your suggestion? where is the bottleneck do you think?
network or the limitation of server's hardware?
thank you:)
Here is the output:
hypertable> select * from test where row = "py-k1" display_timestamps
into file "dump.tsv";
Elapsed time: 0.17 s
Avg value size: 5.00 bytes
Avg key size: 18.91 bytes
Throughput: 5550326.49 bytes/s
Total cells: 40000
Throughput: 232173.43 cells/s
hypertable> select * from test where row = "py-k1" display_timestamps;
Elapsed time: 10.95 s
Avg value size: 5.00 bytes
Avg key size: 18.91 bytes
Throughput: 87330.90 bytes/s
Total cells: 40000
Throughput: 3653.10 cells/s
my hypertable is binary packages hypertable-0.9.2.7-linux-i386, run in
local mode.
while run the query script the top of server is:
Tasks: 100 total, 1 running, 99 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.5%sy, 0.0%ni, 99.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 4063796k total, 4042852k used, 20944k free, 24184k buffers
Swap: 4192924k total, 16908k used, 4176016k free, 1155340k cached
PID USER PR NI RES VIRT SHR S %CPU %MEM TIME+ COMMAND
3822 zhanghon 20 0 2.6g 3020m 1944 S 0 65.9 274:33.18
Hypertable.Rang
3686 zhanghon 20 0 16m 226m 720 S 0 0.4 9:17.92
localBroker
3685 zhanghon 20 0 4148 195m 1264 S 0 0.1 4:15.08
Hyperspace.Mast
3769 zhanghon 20 0 7044 223m 1296 S 0 0.2 0:29.39
Hypertable.Mast
21344 zhanghon 20 0 19m 70124 1796 S 0 0.5 0:25.06
ThriftBroker
14084 zhanghon 20 0 1188 12624 896 R 0 0.0 0:00.37 top
8412 zhanghon 20 0 1412 49792 824 S 0 0.0 0:00.16 sshd
8413 zhanghon 20 0 2116 12960 1212 S 0 0.1 0:00.04 bash
2009/12/9 Luke <
vic...@gmail.com>: