Orientdb is an open source, non relational database management system. It is used under general hardware and can be stored at the speed and capacity of 150,000 files per second. It is written in Java and belongs to a document database that supports acid Tx, http://www.aliyun.com/zixun/aggregation/16666.html ">indexes, asynch queries, SQL layer , clustering, and so on, to support ACID transaction processing. Implemented using Java hardware-based.
ORIENTDB is a scalable document-graphics database management system with the flexibility of the text-block database and the ability of graphic database management link. Supports optional modeless, full mode, or mixed mode. Supports many advanced features such as acid transactions, fast indexing, native and SQL query capabilities. You can import and export documents in JSON format. If you don't perform expensive join operations, a relational database can retrieve hundreds of linked document graphs in milliseconds.
Use Example:
OPEN the DATABASE ODATABASEDOCUMENTTX db = new Odatabasedocumenttx ("Remote:localhost/petshop"). Open ("admin", "admin");
CREATE A NEW DOCUMENT and FILL IT odocument doc = new odocument (db, person); Doc.field ("name", "Luke"); Doc.field ("surname", "Skywalker"); Doc.field ("City", New odocument (db, "City"). Field ("Name", "Rome"). Field ("Country", "Italy"));
SAVE the DOCUMENT Doc.save ();
QUERY the DOCUMENT List <ODocument> result = Database.query ( New Osqlsynchquery ("select * from person where city.name = ' Rome '")). Execute ();
PRINT The result SET for (odocument D:result) { System.out.println ("Person:" + D.field ("name") + D.field ("surname")); }
Db.close ();
Orientdb 1.0.1 This version adds support for the TinkerPop2.0 technology stack, adds a binary field for a new obinary type index, and fixes some bugs.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.