Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is HSQLDB limitations?

Tags:

hsqldb

Is there some limits for number of tables inside DB? Is there some limits for number of tables inside the schema?

like image 542
Archer Avatar asked Nov 11 '10 09:11

Archer


People also ask

What is HSQLDB used for?

HSQLDB is available under a BSD license. It is used as a database and persistence engine in many open source software projects, such as descendants of OpenOffice.org Base (i.e., Apache OpenOffice Base, LibreOffice Base, etc.), and the Jitsi VoIP and video-conference client since version 2.6.

What is HSQLDB in-memory database?

HSQLDB (HyperSQL Database) HSQLDB is an open source project, also written in Java, representing a relational database. It follows the SQL and JDBC standards and supports SQL features such as stored procedures and triggers. It can be used in the in-memory mode, or it can be configured to use disk storage.

Is HSQLDB open source?

HSQLDB is used for the development, testing, and deployment of database applications. In this tutorial, we will look closely at HSQLDB, which is one of the best open-source, multi-model, next generation NoSQL product.

What does H in HSQLDB stand for?

HyperSQL Database (HSQLDB) is a modern relational database system. Version 2.7.


2 Answers

Hope this helps

What are the limitations of the database (size of columns, number of tables, rows...)?

There is no imposed limitation. Number of columns, tables, indexes, size of columns and so on is limited only by the memory. For example, a user reported using a SELECT statement with 41 LEFT OUTER JOIN clauses on a huge database for a data mining application.

The current (2.0) size limit of an HSQLDB database is 16GB (by default) for all CACHED tables and 2GB for each TEXT table. If you use large MEMORY tables, memory is only limited by the allocated JVM memory, which can be several GB on modern machines and 64bit operating systems. Extensive tests have been made with the latest versions using the TestCacheSize and other test programs inserting millions of rows and resulting in data files of up to 16 GB and larger LOB sizes.

(source)


An updated FAQ is available here. Specially look for section Reliability, Performance and Deployment.

The current size limit of an HSQLDB database is 8 TB for all CACHED tables and 256GB for each TEXT table...

like image 164
Daniel Fath Avatar answered Oct 19 '22 22:10

Daniel Fath


There is no fixed limit on the number of tables or schemas. The definition of tables and schemas is held in memory. With the default Java memory allocation, thousands of schemas / tables can be defined.

The data in the tables can be held partly or entirely in memory, depending on the specified table type (MEMORY, CACHED or TEXT).

like image 23
fredt Avatar answered Oct 19 '22 23:10

fredt