HSQLDB Cached Table Versus Memory Table Performance & Conversion , HSQLDBhsqldb緩存表銀兩記憶表的表現與轉換

August 13th, 2007 2007年8月13日

In short in HSQLDB cached table sucks in terms of performance.在短期中, HSQLDBhsqldb緩存表sucks為在性能方面。 To elaborate I was running a program which takes around 9 hours running on two medium sized cached tables (bigger one 163 MB).闡述我是運行一個程序需時約9小時運行的兩個中型緩存表(大1 163 MB )的。 I changed the tables to memory tables (default) and it now takes less than 10 minutes.我改變表格記憶表(默認)和現在需時不到10分鐘。 Let’s see how we can easily convert memory table to cached table and vice-versa.讓我們看看我們如何可以輕易地轉換成記憶表緩存表,反之亦然。

Read more (336 words) » 閱讀更多( 336字) »

How To Quickly Backup HSQLDB Database…如何快速備份, HSQLDBhsqldb數據庫…

July 31st, 2007 2007年7月31日

HSQLDB is a high performance RDBMS written in pure Java. , HSQLDBhsqldb是一種高性能的RDBMS的書面在純Java 。 It can be used as a in-memory database or regular file based database.它可被用來作為在內存數據庫或定期檔案為基礎的數據庫。 It can also create a read-only database out of any CSV files.它也可以創建一個唯讀數據庫出來的任何CSV文件。 HSQLDB is the database used with OpenOffice. , HSQLDBhsqldb是數據庫使用的OpenOffice 。 The steps to quickly and safely backup HSQLDB Database are:步驟,以迅速和更安全的備份, HSQLDBhsqldb數據庫是:
Read more (187 words) » 閱讀更多( 187字) »

HSQLDB Tip: Case Insensitive LIKE Query in HSQLDB RDBMS & Space Crunched String Comparison , HSQLDBhsqldb提示:區分大小寫想查詢的, HSQLDBhsqldb RDBMS的空間與太空看見外面的字符串比較

July 21st, 2007 2007年7月21日

, HSQLDBhsqldb I previously discussed how to我先前討論了如何 extend HSQLDB relational database延長, HSQLDBhsqldb關聯式資料庫 with simple Java functions.與簡單的Java功能。 The example there actually implements case insensitive like query functionality for HSQLDB.例子有實際執行不區分大小寫想查詢的功能, HSQLDBhsqldb 。 Read the閱讀 article文章 to get an understanding of how to write such custom functions and how to use them.獲得的認識,如何寫這樣的自定義功能,以及如何使用它們。 Then read below to find a solution for performing space crunched comparison of strings.然後閱讀下面找到一個辦法,解決表演空間看見外面的比較字符串。

Read more (237 words) » 閱讀更多( 237字) »

Tip: How To Extend HSQLDB RDBMS With Java Functions提示:如何延長, HSQLDBhsqldb關係型數據庫與Java功能

July 17th, 2007 2007年7月17日

, HSQLDBhsqldb HSQLDB is an unique high performing, high quality Java based relational database which can be very easily extended with simple Java static functions. , HSQLDBhsqldb是一個獨特的高性能,高品質的基於Java的關係數據庫,可以很容易擴展與簡單的Java靜態的職能。 Here we will see how you can easily extend the database capability with a real-life example.在這裡我們將看看如何您可以很容易地擴大數據庫的能力,與現實生活的例子。

Read more (243 words) » 閱讀更多( 243字) »

What is The Best Database for a Souped Up Hashtable?什麼是最好的數據庫為souped了哈希表?

July 6th, 2007 2007年7月6日

All I really want is to store a very large Hashtable with more reads than writes.所有我真的想是存儲一個非常大的哈希表與更多的內容比寫道。 It should be able to deal with more than 8GB of data.它應該能夠處理多於8 GB的數據。 The key will be a String of limited length.關鍵將是一個字串有限的長度。 I want it to be extremely fast on read-access, stable with sudden shutdown and other issues beyond our control and with very low CPU usage.我想它是非常快就只讀訪問,穩定與突然關閉和其他問題非我們所能控制的和非常低的CPU使用率。 The leading contenders in my mind are:領導競爭者在我心目中是:
Read more (158 words) » 閱讀更多( 158字) »

Java: How To Get Auto Increment Values After SQL Insert華:如何獲得自動增加值後, SQL插入

June 10th, 2007 2007年6月10日

While insert ing a SQL query we do not specify the auto increment values, if any.插入荷蘭SQL查詢,我們不指定自動增加值,如果有的話。 However they are often required for further processing.不過,他們往往需要作進一步處理。 Here is how you can obtain auto increment / auto generated values after a successful SQL INSERT statement.在這裡,是如何可以獲取自動遞增/自動產生的價值觀後,一個成功的SQL插入聲明。
Read more (127 words) » 閱讀更多( 127字) »

How To Escape Column Names in HSQLDB RDBMS如何逃生列名在RDBMS的, HSQLDBhsqldb

May 26th, 2007 2007年5月26日

, HSQLDBhsqldb Sometimes you need to have database column names with space or other non-standard characters.有時候,你需要有數據庫的列名稱與空間或其他非標準字符。 The standard procedure is to escape them with backtick (`) character.標準程序是逃避他們backtick ( ` )字符。 HSQLDB doesn’t accept either backtick or single quote as escape character. , HSQLDBhsqldb不接受任何backtick或單引號作為轉義字符。 Instead you have to use escaped double quotes as shown in the example below:而不是您必須使用轉義雙引號顯示,在下面的例子:
Read more (103 words) » 閱讀更多( 103字) »