1

In redis there is a way to "group" commands to reduce the number of exchanges between the client and the server. (redis pipelining)

When used with hundred or thousands of commands, it can dramatically reduce a server load.

Is there a equivalent in OrientDB?

SuperPython
  • 1,007
  • 2
  • 12
  • 24

1 Answers1

2

Yes, the SQL BATCH. Example:

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
Lvca
  • 8,938
  • 2
  • 24
  • 25