Book Image

Getting Started with OrientDB

By : Claudio Tesoriero
Book Image

Getting Started with OrientDB

By: Claudio Tesoriero

Overview of this book

<p>In modern software applications, often there is the necessity to manage very big amounts of unstructured data with varying schema. In this scenario, instead of relational databases, we can use OrientDB, an open source NoSQL DBMS written in Java. Inspite ofDespite being a document-based database, the relationships are managed with direct connections between records. It supports schema-less, schema-full, and schema-mixed modes.</p> <p>Getting Started with OrientDB will be your handy, quick reference guide, for all document-graph DBMS functionality. Administrative tasks, deployment, designing a database, different ways of querying and consuming data - all that you need to know about OrientDB is presented keeping with practical usage in mind. You will be able to install, setup, deploy, and configure databases with OrientDB for applications.</p> <p>Getting Started with OrientDB will allow you to use its OreintDB’s main functionality immediately. The book will guide you through the discovery of one of the most powerful NoSQL databases available today. It will then take you through downloading and installing OrientDB, cluster deployment, programming, discovering OrientDB’s potential, and its features.</p> <p>The book covers useful administrative topics such as import/export, automatic backups, and configuration tips. Furthermore, design concepts like user management, document databases, graph databases, and dictionaries are covered. Finally, concepts and programming examples are shown in Java.</p>
Table of Contents (12 chapters)

The OrientDB console


The first approach to OrientDB after starting it, is of course through its console. To start the console, if you followed the installation steps in Chapter 1, Installing OrientDB, all you have to do is just type as follows:

console

This is because you have to set both the ORIENTDB_HOME and the PATH shell variables, if you are using a *nix system, to set the execution flag of the *.sh files in the ORIENTDB_HOME/bin path.

Now you can connect to an instance of a running OrientDB server.

If you started the server, you should connect to it by typing (inside the console tool):

connect remote:localhost/demo admin admin

The connect command follows the given pattern:

connect remote:<host>[:<port>] root <root-password>

Tip

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register...