Pure JAVA Database 추천좀..

kwon37xi의 이미지

어쩌다가 친척분이 자기 로칼에서 돌릴 웹 프로그램좀 만들어달래서 그러마 했는데요..
문제는 프로그램이 돌아갈 컴퓨터가 펜티엄 266 윈도우98이더군요..

도저히 톰캣과 DB를 함께 돌릴 수 없는 그런 상황인데요, 그래서 톰캣만 돌리고 DB는 자바를 위한 데이터베이스 라이브러리같은걸 썼으면 합니다.

그러니까, 서버로서 돌아가는 데이터베이스 말고, API로 호출해서 자료를 제어하는 그런 것 말이죠..

뭐 기능도 많이 필요 없습니다. 한글 잘되고, 텍스트 검색과 비교등만 잘 되는 것이면 좋겠는데, 추천좀 해주세요.

monpetit의 이미지

꼭 SQL이 아니어도 관계 없다면 Berkeley DB도 java 인터페이스를 지원하는 걸로 알고 있습니다.

cedar의 이미지

순수 자바로만 만들어진 RDBMS라...
JBuilder 사용자에게는 JDataStore를 추천합니다.
http://www.borland.co.kr/jdatastore/

시스템 요구사양은 상당히 낮은 편이네요.

Quote:

Borland
whitekid의 이미지

What do you want to eat?

aero의 이미지

http://hsqldb.sourceforge.net/

독립적인 서버로도 돌릴 수 있고
in-process로도 사용이 가능합니다.
실제 테스트개발용으로 많이 사용한다더군요.

홈페이지에서 가져온 설명

hsqldb is a relational database engine written in Java, with a JDBC driver, supporting a rich subset of ANSI-92 SQL (BNF tree format). It offers a small (less than 160k), fast database engine which offers both in memory and disk based tables. Embedded and server modes are available. Additionally, it includes tools such as a minimal web server, in-memory query and management tools (can be run as applets) and a number of demonstration examples.

mach의 이미지

저도 여러가지를 찾아본 적이 있었습니다. 한 5-6개정도 검토한적이 있습니다.
그중 hsqldb를 추천하는 바입니다. 오픈소스형태이며, 비교적 좋습니다.
일단, 대부분이 그러하듯이 SQL92수준의 표준인터페이스를 지원합니다.
관리도구 클라이언트가 제공됩니다.(조금 약소해보이긴 합니다만.)
메모리데이터베이스 유형과 persistent database 유형등을 지원하고,
메모리데이터베이스로 사용하는 경우에는 심지어 애플릿과 함께 다운로딩되어
애플릿 프로그램에서 사용될 수 있습니다.
고려하실점은 기본적인 캐싱메카니즘이 레코드 갯수를 제약하는 점등이 있습니다.
이때, 캐시된 레코드의 총메모리 점유가 자바 기동시의 최대 메모리를 초과하면,
문제가 발생할수있습니다. 당연히 자바머신위에서 수행하니, 자바세팅을
섬세하게(최대 메모리 늘리기등) 해주시고 사용하셔야 합니다.
BLOB에서 거대 사이즈를 올리거나 할때는 특히 그러합니다.
Stored Procedure나 trigger를 작성할 수 있는 메카니즘도 있는데,
이 부분은 다소 약해보입니다. 많은 부분을 코딩해야하고, 개발자 수준에서
여러 예외상황에 대한 고려를 수행해야 하는 아직은 미완(?)인듯한 구조입니다.
그러나, 많은 상위 응용에서 HSQLDB를 사용하고 있는것을 발견할 수 있을
것입니다.
* 다량의 IO테스트( 백만레코드정도?)는 직접해보셔야 할듯합니다.

------------------ P.S. --------------
지식은 오픈해서 검증받아야 산지식이된다고 동네 아저씨가 그러더라.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.