Getting Started with OrientDB

Book Description

Become an expert in OrientDB through our easy to follow tutorial written by a Certified Developer. Taking you step by step through the full process of utilizing OrientDB, it can also be used as an excellent reference book.

  • Learn how to install, configure, use, and deploy OrientDB
  • Handy manual forEasy to follow step-by-step instructions to understanding OrientDB
  • Useful as a Qquick reference for your projects

In Detail

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.

Getting Started with OrientDB 1.3.0 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.

Getting Started with OrientDB 1.3.0 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.

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.

Table of Contents

  1. Getting Started with OrientDB
    1. Table of Contents
    2. Getting Started with OrientDB
    3. Credits
    4. About the Author
    5. About the Reviewers
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Installing OrientDB
      1. Standard Edition
      2. Graphed Edition
      3. Key/Value Edition
      4. Enterprise Edition
      5. Installing from the latest stable release
        1. Installing the Standard Edition
        2. Installing the Graphed Edition
      6. Compiling from the latest source snapshot
        1. Running the test suite
      7. Installing as a daemon/service
        1. Linux systems
        2. Windows systems
      8. Summary
    9. 2. Administering OrientDB
      1. Configuration
        1. orientdb-server-config.xml
        2. orientdb-dserver-config.xml
      2. The OrientDB console
      3. OrientDB data files
      4. Classes
        1. Abstract classes
      5. Security
        1. Rules
        2. Roles
        3. Users
        4. Server users
        5. Record-level security
      6. The OrientDB Studio
        1. The Database section
        2. The Query section
        3. The Document section
        4. The Functions section
        5. The Graph section
        6. The Raw access section
        7. The root user
      7. Back up / restore
        1. Using the console
        2. Using the OrientDB Studio
        3. Automatic backup
      8. Summary
    10. 3. Programming OrientDB
      1. Data types
      2. Extended SQL
        1. Creating a database
        2. Creating classes
        3. Inserting records
        4. Deleting records
        5. Reading and updating records
          1. Fields
            1. Embedded documents
            2. Containers
        6. Schema-full classes and the mixed-mode schema
        7. Relationships
          1. One-to-one and one-to-many relationships
            1. Embedded relationships
          2. Many-to-many relationships
            1. Referenced relationships
          3. Traversing the relationships
          4. SQL functions
        8. The graph database
      3. Using the JDBC driver
      4. Other language drivers (PHP)
      5. The native Java API
        1. Opening a connection
          1. Connection pools
        2. Executing SQL queries
        3. Executing SQL commands
        4. Create, load, update, and delete a document
        5. Object database support
      6. RESTful APIs
      7. Transactions
        1. Transactions within REST calls
      8. Summary
    11. 4. Performance Tuning
      1. Caching
      2. General Optimizations
        1. The JVM optimization
        2. Memory and cache
        3. Mapping files
        4. Connections
        5. Transactions
      3. Massive insertions
      4. Datafile fragmentation
      5. The profiler
      6. Query tips
        1. The explain command
        2. Indexes
        3. Looking for @rid values
      7. Summary
    12. 5. Advanced Features
      1. The embedded mode
      2. Server-side code
        1. Server-side function features
        2. Creating a function
        3. Usage
          1. Java API
          2. RESTful calls
        4. Special variables
      3. Hooks
      4. Triggers
      5. Gremlin support
        1. Gephi
      6. Clustering
        1. How it works
          1. Replication
        2. Configuration and setup
      7. Sending e-mails through OrientDB
        1. Usage
      8. Summary
    13. Index

Product Information

  • Title: Getting Started with OrientDB
  • Author(s): Claudio Tesoriero
  • Release date: August 2013
  • Publisher(s): Packt Publishing
  • ISBN: 9781782169956