Oracle® NoSQL Database
Quick Start to KVLite
Release 12.2.4.5
E87605-02
February 2018
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support
Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.
Introduction
The Oracle NoSQL Database is a scalable, distributed NoSQL database, designed to provide highly reliable, flexible and available data management across a configurable set of storage nodes. It consists of two parts - a NoSQL DB Driver and a collection of storage nodes called the KVStore. The NoSQL DB Driver is an intelligent driver that transparently handles all the core operations of Oracle NoSQL Database, and the KVStore consists of storage nodes.
KVLite is a simplified version of the Oracle NoSQL Database. It provides a single storage node, single shard store, that is not replicated. It runs in a single process without requiring any administrative interface. You configure, start, and stop KVLite using a command line interface.
Note: KVLite is intended for use by application developers who need to develop and unit test their Oracle NoSQL Database applications. It can be used as a development platform for developers to get familiar with Oracle NoSQL APIs, and test different ways of interacting with these APIs. KVLite runs on a single machine. It is not intended for production deployment, or for performance measurements.
Also, KVLite is secure by default. If you are performing an unsecured installation, for example, if you are installing KVLite on a Windows platform, refrain from setting the security parameters when executing the commands.
This Quick Start Guide demonstrates how to perform the following tasks:
Install KVLite
KVLite is bundled with the Oracle NoSQL Database software. To install KVLite, follow the steps below:
kv-ce-4.4.6.tar.gz
is unpacked to a directory called kv-4.4.6
and the contents of kv-examples-4.4.6.tar.gz
is unpacked to a directory called kv-4.4.6/examples
.
Start KVLite
Perform the following steps to start a KVLite instance:
Verify your Installation
There are several ways to verify your installation and ensure that KVLite is running. Perform one of these steps to verify your installation:
Stop and Restart KVLite
To stop and restart KVLite, perform the following steps:
To stop KVLite, use Ctrl C (^C)
from within the shell where KVLite is running.
To restart the process, simply run the KVLite utility without any command line options. Do this even if you provided non-standard options when you first started KVLite. This is because KVLite remembers information such as the port value and the store name in between run times. You cannot change these values by using the command line options.
$ java -jar KVHOME/lib/kvstore.jar kvlite
If you want to start over with different options than you initially specified, delete the KVROOT
directory (./kvroot
, by default), and then re-run the kvlite utility with whatever options you desire. Refer to Start KVLite.
Alternatively, specify the -root
command line option, making sure to specify a location other than your original KVROOT
directory, as well as any other command line options that you want to change.
Note: If you choose to start over, all your previous data will be lost.
Oracle NoSQL Database Quick Start to KVLite, Release 12.2.4.5
E87605-02
Copyright © 2017, 2018, Oracle and/or its affiliates. All rights reserved.
Primary Author: Supriya Ananth
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, then 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 about 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 unless otherwise set forth in an applicable agreement between you and Oracle. 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, except as set forth in an applicable agreement between you and Oracle.