### Start OrientDB Distributed Server Source: https://github.com/orientechnologies/orientdb/blob/develop/core/src/test/resources/vpm_impact/README.MD Starts the OrientDB community distributed server for a multi-instance setup. Ensure you are in the correct directory. ```bash ./distribution/target/orientdb-community-3.2.0-SNAPSHOT.dir/orientdb-community-3.2.0-SNAPSHOT/bin/dserver.sh ``` -------------------------------- ### Start OrientDB Single Instance Server Source: https://github.com/orientechnologies/orientdb/blob/develop/core/src/test/resources/vpm_impact/README.MD Starts the OrientDB community server for a single-instance setup. Ensure you are in the correct directory. ```bash ./distribution/target/orientdb-community-3.2.0-SNAPSHOT.dir/orientdb-community-3.2.0-SNAPSHOT/bin/server.sh ``` -------------------------------- ### Install Local Dependencies with Yarn Source: https://github.com/orientechnologies/orientdb/blob/develop/studio/README.md Navigate to the cloned directory and install local dependencies using Yarn. Ensure you have Yarn installed globally. ```bash cd orientdb-studio yarn install ``` -------------------------------- ### Start Webpack Development Server Source: https://github.com/orientechnologies/orientdb/blob/develop/studio/README.md Start the webpack development server to run OrientDB Studio locally. Access the studio by opening your browser at http://localhost:8080. ```bash npm run watch ``` -------------------------------- ### Clean and Install OrientDB Distribution Source: https://github.com/orientechnologies/orientdb/blob/develop/core/src/test/resources/vpm_impact/README.MD This command cleans the project and installs the OrientDB distribution, skipping tests. It's a prerequisite for starting the server. ```bash mvn clean install -pl distribution -DskipTests ``` -------------------------------- ### Full Build and Install of OrientDB Source: https://github.com/orientechnologies/orientdb/blob/develop/CONTRIBUTING.md Performs a clean build and installs the project artifacts. This is also used to produce the community distribution. ```bash mvn clean install ``` -------------------------------- ### Binding Property Values Source: https://github.com/orientechnologies/orientdb/blob/develop/studio/src/views/hints/template-hint.html Use {{property}} syntax to bind a property value from a record. This example shows binding 'firstName' and 'lastName' properties. ```HTML {{firstName}} - {{lastName}} ``` -------------------------------- ### Release Build and Deployment Source: https://github.com/orientechnologies/orientdb/blob/develop/gremlin/README.md Steps to perform a release build and deploy the artifact using Maven. ```bash mvn pull mvn clean deploy -Prelease ``` -------------------------------- ### Create Output Directory for Benchmark Results Source: https://github.com/orientechnologies/orientdb/blob/develop/core/src/test/resources/vpm_impact/README.MD Creates a directory structure to store the benchmark output files for OrientDB. ```bash mkdir -p orientdb/outputs/orientdb ``` -------------------------------- ### Clone OrientDB Source Code Source: https://github.com/orientechnologies/orientdb/blob/develop/CONTRIBUTING.md Use this command to get the latest source code from the official GitHub repository. ```bash git clone https://github.com/orientechnologies/orientdb.git orientdb ``` -------------------------------- ### Execute Remote Script in OrientDB Source: https://github.com/orientechnologies/orientdb/wiki/OrientDB-3.0-Release-Notes Example of executing a remote script. Remote scripting is disabled by default in recent releases for security reasons. ```java db.execute("gremlin", ""); ``` -------------------------------- ### Run Standard TinkerPop Test Suite Source: https://github.com/orientechnologies/orientdb/blob/develop/gremlin/README.md Execute the standard TinkerPop test suite using Maven. ```bash mvn install -P release ``` -------------------------------- ### Run YCSB Workload D (Load and Run) - Distributed Source: https://github.com/orientechnologies/orientdb/blob/develop/core/src/test/resources/vpm_impact/README.MD Loads 1,000,000 records and runs 500,000 operations for Workload D, saving the output to a file. This is for a distributed OrientDB setup. ```bash ./bin/ycsb load orientdb -s -P workloads/workloadd -p recordcount=1000000 ./bin/ycsb run orientdb -s -P workloads/workloadd -p operationcount=500000 -p batchsize=1000 > orientdb/outputs/orientdb-dist/outputRun_workloadd.txt ``` -------------------------------- ### Tag Release Version Source: https://github.com/orientechnologies/orientdb/blob/develop/gremlin/README.md Create a Git tag for the release version. ```bash git tag VERSION ``` -------------------------------- ### Run a Single Integration Test on Kubernetes Source: https://github.com/orientechnologies/orientdb/blob/develop/distributed/src/test/README.md Use this command to execute a specific integration test on Kubernetes. Ensure you have a compatible kubectl version and provide the path to your kubeconfig file. Specify the OrientDB Docker image and version to be used. ```bash mvn failsafe:integration-test -Dit.test=BasicSyncIT -P it-k8s -DkubeConfig=/path/to/kubeconfig -DorientdbDockerImage=orientdb:3.1.3 ``` -------------------------------- ### Run YCSB Workload A (Load and Run) - Distributed Source: https://github.com/orientechnologies/orientdb/blob/develop/core/src/test/resources/vpm_impact/README.MD Loads 1,000,000 records and runs 500,000 operations for Workload A, saving the output to a file. This is for a distributed OrientDB setup. ```bash ./bin/ycsb load orientdb -s -P workloads/workloada -p recordcount=1000000 ./bin/ycsb run orientdb -s -P workloads/workloada -p operationcount=500000 -p batchsize=1000 > orientdb/outputs/orientdb-dist/outputRun_workloada.txt ``` -------------------------------- ### Run Scala Tests Source: https://github.com/orientechnologies/orientdb/blob/develop/gremlin/README.md Execute the separate suite of Scala tests using sbt. ```bash sbt test ```