1. 程式人生 > >HSQLDB 和 H2 資料庫比較

HSQLDB 和 H2 資料庫比較

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow

也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!

               

前面在介紹Vaadin SQL Container時使用了HSQLDB ,也說過SQL Container在使用上並不十分方便,不如直接使用hibernate 來的實用,最近準備開始介紹hibernate 的開發指南,資料庫系統也會使用H2 資料系統,和HSQLDB 一樣,H2也是純Java實現,也支援In-memory 模式,對於使用hibernate 的應用來說,可以完全不考慮底層具體使用的是那種資料庫,hibernate 框架提供了對物理資料庫的抽象。下面表格給出了HSQLDB和H2資料直接的比較。

NOW COMPARING

HSQLDB

H2

RELATED DATABASE MANAGEMENT SYSTEMS:

Compare all Database Management Systems
HSQLDBSEE DETAILS 
H2SEE DETAILS 
 
SPECIFICATIONS    
Product HSQLDB H2
Company HSQL Development H2 Software
Architecture Relational ​Model Relational ​Model
Software License
       BSD
       EPL
       MPL
       BSD
       EPL
       MPL
Operating System
       BSD
       Linux
       Mac OS X
       UNIX
       Windows
       z/OS
       BSD
       Linux
       Mac OS X
       UNIX
       Windows
       z/OS
Demo?
Interface
       SQL
       SQL
Website HSQLDB   (hsqldb.org) H2   (h2database.com)
First Public Release Year 2001 2005
Lastest Stable Version 2.​2.​6 1.​3.​163
Latest Release Year 2011 2011
 
PRICE    
Price $​0 $​0
 
GENERAL FEATURES    
Features
       ACID
       Encryption of Data
       Referential Integrity
       Transactions
       Unicode
       XML Format Support
       ACID
       Encryption of Data
       Referential Integrity
       Transactions
       Unicode
       XML Format Support
Indexes
       Full-text
       Hash
       None
       Full-text
       Hash
       None
Database Capabilities
       Blobs and Clobs
       Common Table Expressions
       Except
       Inner Joins
       Inner Selects
       Intersect
       Outer Joins
       Parallel Query
       Union
       Windowing Functions
       Blobs and Clobs
       Common Table Expressions
       Except
       Inner Joins
       Inner Selects
       Intersect
       Outer Joins
       Parallel Query
       Union
       Windowing Functions
Partitioning
       None
       None
Access Control
       Brute-force Protection
       Native Network Encryption
       Patch Access
       Resource Limit
       Run Unprivileged
       Separation of Duties
       Brute-force Protection
       Native Network Encryption
       Patch Access
       Resource Limit
       Run Unprivileged
       Separation of Duties
Tables and Views
       Temporary Table
       Temporary Table
Other Objects
       Data Domain
       External Routine
       Function
       Procedure
       Trigger
       Data Domain
       External Routine
       Function
       Procedure
       Trigger
Support Features
       FAQ
       Forums
       Mailing List
       FAQ
       Forums
       Mailing List
 
PRODUCT DESCRIPTION    
Product Description HSQLDB (HyperSQL DataBase) is the leading SQL relational database engine written in Java. It support... More H2 is a Java SQL database. The main features of H2 are:

Very fast, open source, JDBC API
Embedded and server modes; in-memory databases
... More
 
CONTACT INFORMATION    
Contact Link Contact Link   (hsqldb.org)
Email [email protected]
 
LIMITS    
Max Blob/Clob Size 64 ​TB 64 ​TB
Max CHAR Size Unlimited Unlimited
Max Column Name Size 128 Unlimited
Max Columns per Row Unlimited Unlimited
Max DATE Value 12/​31/​9999 99999999
Max DB Size 64 ​TB 64 ​TB
Max NUMBER Size Unlimited 64 ​bits
Max Row Size Unlimited Unlimited
Max Table Size Unlimited Unlimited
Min DATE Value 0001-​01-​01 -​99999999
 
DATA TYPES    
Type System
       Static
Integer
       BIGINT (64-bit)
       INTEGER (32-bit)
       SMALLINT (16-bit)
       TINYINT (8-bit)
Floating Point
       DOUBLE (64-bit)
Decimal
       DECIMAL
       NUMERIC
String
       CHAR
       CLOB
       LONGVARCHAR
       VARCHAR
       CHAR
       CLOB
       LONGVARCHAR
       VARCHAR
Binary
       BINARY
       LONGVARBINARY
       VARBINARY
Date/Time
       DATE
       INTERVAL
       TIME
       TIMESTAMP
Boolean
       BOOLEAN
Other
       ARRAYS
       BIT
       BIT VARYING
  More Details More Details
     


           

給我老師的人工智慧教程打call!http://blog.csdn.net/jiangjunshow

這裡寫圖片描述