专注网页设计制作教程: http://www.update8.com

OrientDB 0.9.14 发布,可伸缩的文档数据库

时间:2010-05-25 09:23点击: 次 【

 


 

  Orient DB 是一个可伸缩的文档数据库,支持 ACID 事务处理。使用 Java 5 实现。

  Example of usage:

// OPEN THE DATABASE 
ODatabaseDocumentTx db = new ODatabaseDocumentTx("remote:localhost/petshop").open("admin", "admin"); 
 
// CREATE A NEW DOCUMENT AND FILL IT 
ODocument doc = new ODocument("Person"); 
doc.field( "name", "Luke" ); 
doc.field( "surname", "Skywalker" ); 
doc.field( "city", new ODocument("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();

  Deeply scalable Document based DBMS. It's the basic engine of all the Orient products. It can work in schema-less mode, schema-full or a mix of both. Supports advanced features, such as ACID transactions, indexing, fluent and SQL-like queries. It handles natively JSON and XML documents.

  Main features:

  * Extremely light: less than 400Kb for the full server.

  * Run on any platform: All the engine is 100% pure Java and can run on Windows and Linux and any system that supports the Java5+ technology

  * Super fast: On common hardware* stores up to 150.000 (one-hundred-fifty-thousands) records per second, 13 billions per day.

  * Transactional: Compliant with ACID tests, supports Optimistic (MVCC) and Pessimistic transaction modes

  * Local mode: Direct access to the database bypassing the Server. Perfect for scenarios where the database is embedded.

  * Easy Java APIs: Learn how to use it in 15 minutes.

  Changes:

  1. adds a new Database structure,

  2. integrates logical clusters well at the storage level,

  3. improves OrientDB Studio with authentication, users, roles, clusters, db and... server properties, etc.,

  4. adds new User and Role management,

  5. adds more flexible management of types in ODocument instances,

  6. supports HTTP basic authentication,

  7. fixes some bugs in concurrency with a high number of clients

  OrientDB 0.9.14下载地址:http://code.google.com/p/orient/downloads/list

------分隔线----------------------------
相关文章