OrientDB 中是否有 Redis 的 "pipeline" 等价物?
Is there an equivalent of Redis's "pipeline" in OrientDB?
在redis中有一种方法"group"命令来减少客户端和服务器之间的交换次数。 (redis pipelining)
当与成百上千条命令一起使用时,它可以显着降低服务器负载。
OrientDB 中是否有等效项?
是的,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
在redis中有一种方法"group"命令来减少客户端和服务器之间的交换次数。 (redis pipelining)
当与成百上千条命令一起使用时,它可以显着降低服务器负载。
OrientDB 中是否有等效项?
是的,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