Oracle NoSQL Database Administrator's Guide

Legal Notice

Copyright © 2011, 2012, 2013, Oracle and/or its affiliates. All rights reserved.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

4/23/2013


Table of Contents

Preface
Conventions Used in This Book
1. Introduction to Oracle NoSQL Database
The KVStore
Replication Nodes and Shards
Replication Factor
Partitions
Topologies
Access and Security
The Administration Command Line Interface
The Admin Console
Oracle External Tables Integration
Coherence Integration
2. Plans
Using Plans
Feedback While a Plan is Running
Plan States
Reviewing Plans
3. Installing Oracle NoSQL Database
Installation Prerequisites
Installation
Installation Configuration
4. Configuring the KVStore
Configuration Overview
Start the Administration CLI
The plan Commands
Configure and Start a Set of Storage Nodes
Name your KVStore
Create a Data Center
Create an Administration Process on a Specific Host
Create a Storage Node Pool
Create the Remainder of your Storage Nodes
Create and Deploy Replication Nodes
Using a Script
Smoke Testing the System
Troubleshooting
Where to Find Error Information
Service States
Useful Commands
5. Determining Your Store's Configuration
Steps for Changing the Store's Topology
Make the Topology Candidate
Transform the Topology Candidate
View the Topology Candidate
Validate the Topology Candidate
Preview the Topology Candidate
Deploy the Topology Candidate
Verify the Store's Current Topology
6. Administrative Procedures
Backing Up the Store
Taking a Snapshot
Snapshot Management
Recovering the Store
Using the Load Program
Restoring Directly from a Snapshot
Managing Avro Schema
Adding Schema
Changing Schema
Disabling and Enabling Schema
Showing Schema
Replacing a Failed Storage Node
Verifying the Store
Monitoring the Store
Events
Setting Store Parameters
Changing Parameters
Setting Store Wide Policy Parameters
Admin Parameters
Storage Node Parameters
Replication Node Parameters
Removing an Oracle NoSQL Database Deployment
Updating an Existing Oracle NoSQL Database Deployment
Background
Preparing to Upgrade
Upgrade Procedure
After the Upgrade
Fixing Incorrect Storage Node HA Port Ranges
7. Standardized Monitoring Interfaces
Simple Network Management Protocol (SNMP) and Java Management Extensions (JMX)
Enabling Monitoring
Displaying the NoSQL DB MBeans
A. KVStore Command Reference
CLI Commands and Subcommands
configure
connect
ddl
exit
help
hidden
history
load
logtail
ping
plan
change-policy
pool
show
snapshots
topology
verbose
verify
Utility commands
makebootconfig
start
stop
restart
runadmin
load
ping
version
generateconfig
help
B. Initial Capacity Planning
Shard Capacity
Application Characteristics
Hardware Characteristics
Shard Storage and Throughput Capacities
Memory and Network Configuration
Estimate total Shards and Machines
Number of Partitions
C. Third Party Licenses