1. A method comprising: receiving, from a client device, at a graph database system, a graph analytic program that is written in a graph-specific programming language; in response to receiving the graph analytic program, compiling, at the graph database system, the graph analytic program to generate executable code; prior to or in response to receiving the graph analytic program, loading, from a graph database into volatile memory of the graph database system, graph data; executing the executable code to directly access the graph data, wherein the graph data in volatile memory is in a first format and the corresponding version of graph data in the graph database is in a second format; generating, at the graph database system, results of executing the executable code; sending the results from the graph database system to the client device; wherein the method is performed by one or more computing devices.
1. A method comprising: receiving, from a client device, at a graph database system, a graph analytic program that is written in a graph-specific programming language; in response to receiving the graph analytic program, compiling, at the graph database system, the graph analytic program to generate executable code; prior to or in response to receiving the graph analytic program, loading, from a graph database into volatile memory of the graph database system, graph data; executing the executable code to directly access the graph data, wherein the graph data in volatile memory is in a first format and the corresponding version of graph data in the graph database is in a second format; generating, at the graph database system, results of executing the executable code; sending the results from the graph database system to the client device; wherein the method is performed by one or more computing devices. 2. The method of claim 1 , wherein executing the executable code comprises: creating variables in local private memory, of the volatile memory, wherein the variables are not accessed during execution of other executables in the graph database; after the executable code is done executing, deleting the variables.