【发布时间】:2017-06-19 13:04:14
【问题描述】:
在 redis 中,有一种方法可以将命令“分组”以减少客户端和服务器之间的交换次数。 (redis pipelining)
当与数百或数千个命令一起使用时,它可以显着降低服务器负载。
OrientDB 中是否有等价物?
【问题讨论】:
标签: orientdb pipelining
在 redis 中,有一种方法可以将命令“分组”以减少客户端和服务器之间的交换次数。 (redis pipelining)
当与数百或数千个命令一起使用时,它可以显着降低服务器负载。
OrientDB 中是否有等价物?
【问题讨论】:
标签: orientdb pipelining
是的,SQL BATCH。示例:
begin
let account = create vertex Account set name = 'Luke'
let city = select from City where name = 'London'
let e = create edge Lives from $account to $city
commit retry 100
return $e
【讨论】: