Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Database/JDBC/SQL/JDO/Hibernate » Other DB  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 中型J2EE系统该用什么数据库??
silver810212





发贴: 7
积分: 0
于 2004-07-26 19:36 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我们单位现在要做一个中型的J2ee系统,数据量比较大,mysql应该不行了,以前一直都用mysql,这次不打算用它,因为我们单位是科研单位,只考虑免费的数据库[最好还是开源的]。我初步决定使用postgreSQL,请各位给我出出主意,谢谢先。


作者 Re:中型J2EE系统该用什么数据库?? [Re:silver810212]
silver810212





发贴: 7
积分: 0
于 2004-07-26 19:38 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
CSDN上有这样一篇文章:

四种开放源码数据库的比较
(2002.03.20) 来自:计算机世界 周吉峰





声明:本文不是为挑起论战,但欢迎更多人参与讨论,用开放源码数据库代替D版数据库。

在开放源码数据库领域,有两个我们非常熟悉的的老手,MySQL和PostgreSQL,随着开放源码的发展,又有两个重量级的选手加入,它们是SAP公司的SAPDB和Borland公司的InterBase。本文就本人的使用经验加上媒体上的信息,对四大开放源码数据库进行初步的评比,以方便准备选用它们的用户有个初步的感觉,并结合自己的实际情况进行选择。

1. MySQL是完全网络化的跨平台关系型数据库系统,同时是具有客户机/服务器体系结构的分布式数据库管理系统。它具有功能强、使用简便、管理方便、运行速度快、安全可靠性强等优点,用户可利用许多语言编写访问MySQL数据库的程序。
主页:http://www.mysql.com/
平台:
● Linux
● FreeBSD
● NetBSD
● Solaris
● SCO
● Win32
● NT
● OS2
发行:在RedHat等Linux发行版中有预装。
优点:简单,方便,速度快
缺点:MySQL少了关系資料庫應該有的許多特質,如:
● Sub-select (子查詢)
● Transaction (事务处理)
● Trigger (触发器)
● Stored Procedure(存储过程)
● Foreign Key (外键)
● Views (视图)
● Online backup(在线备份)
应用:主要用在很多中、小型网站,并发用户数小于100,数据量小于10G。

2. PostgreSQL是世界上最优秀的开放源码的数据库之一,无论是它支持的特性,还是它的性能都可以和其它的商业数据库一比高低,它是许多Linux发行版本的首选。 PostgreSQL兼容性很强,如果你的老版本是SQL92兼容的,移植PostgreSQL非常简单和快捷。
主页:http://www.postgresql.org/
平台:
● BeOS
● AIX
● BSD/OS (x86, Sparc)
● Compaq Tru64 UNIX
● Digital UNIX
● FreeBSD (x86, Alpha)
● HP-UX
● Linux (x86, Alpha, ARM, MIPS, PowerPC, Sparc, S/390)
● Mac OS X
● NetBSD (x86, Alpha, ARM, m68k, PowerPC, Sparc, VAX)
● OpenBSD (x86, Sparc)
● SCO OpenServer
● SCO UnixWare
● SGI IRIX
● SunOS 4
● Sun Solaris (x86, Sparc)
● Windows 98/NT/2000/NT
发行:在RedHat、TurboLinux等Linux发行版中有预装。
优点:具有面向对象关系数据库特性,具有最丰富的数据类型和功能(可自定义)。
缺点:沒有完整的GUI操作介面,入门稍难。
应用:主要用在中小型企业,可达几百用户、几十G数据,随着稳定性的提高,开始向大型企业应用推广。

3. InterBase 是个高性能、跨平台、SQL标准兼容的关系型数据库,具有易用性、低维护成本及企业级的能力。它原来是Borland公司的数据库产品,具有很多优秀的特性。
主页:www.borland.com/interbase/
平台:Solaris, Windows 98/NT/2000/NT, Linux, FreeBSD
发行:在Mandrake等Linux发行版中有预装,在Borland公司的多个产品中都带有单机版。
优点:系统小(在http://www.3asoft.com/上有压缩到1.3M的版本),功能强,与Borland公司产品集成性好。
缺点:数据库结构修改不方便。
应用:中小型企业业务系统,可达几百用户、几十G数据。

4. SAPDB是个开放的、跨平台的基于SQL标准的关系型数据库,提供高可用性、可伸缩性。它对于大家可能比较陌生,但说起SAP公司,这家在ERP领域的老大,大家可能对SAPDB会更有信心吧,在SAP公司的ERP软件中,有一部分的后台数据库就是用的它。
主页:http://www.sapdb.org/
平台:Linux (Intel), Windows NT/ Windows 2000, IBM-AIX, SUN-Solaris, Tru64-Unix, and HP-UX.
发行:在Suse等Linux发行版中有预装,在SAP公司的产品中预装。
优点:系统稳定,功能强大,与SAP 系统集成
SQL语言可兼容:
● ANSI standard (ANSI X3.135-1992, entry SQL)
● INTERNAL(SAPDB缺省SQL)
● Definition DB2 Version 4
● Definition ORACLE7
缺点:在亚洲区用户非常少。
应用:适用于中、大型企业,可达几百用户、几十G数据。

以上对四种开放源码数据库做了一个比较初步的比较,由于各数据库每日都在不停地改进,每个人用的目的和使用水平也不同,很难讲哪个更适合你,最好的办法就是到各个主页上参考一个它们的各项指标,自己下载试用一下。我个人认为,在企业内应用,如果并发用户少于10人,用来替代DBASE/ACCESS等文件型数据库,Mysql是首选,如果几十个并发用户,或开发工具是Borland公司的产品,InterBase是首选,如果并发用户几十或几百人,并且需要很多功能,PostgreSQL或SAPDB是首选,它们基本达到企业级数据库的要求,可以与流行的几大商品化数据库软件相媲美。

抛砖引玉,希望能对你有所帮助。



作者 Re:中型J2EE系统该用什么数据库?? [Re:silver810212]
why

問題兒童

总版主


发贴: 4629
积分: 388
于 2004-07-27 00:19 user profilesend a private message to usersend email to whysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
InterBase is now FireBird http://firebird.sourceforge.net/
Version 1.5(.1) is released recently



作者 Re:中型J2EE系统该用什么数据库?? [Re:why]
nothing

天外飞仙.....

CJSDN高级会员


发贴: 1636
积分: 131
于 2004-07-27 03:30 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
maxDB ,不错.



躲得过的怪物,躲不过的刺激

作者 Re:中型J2EE系统该用什么数据库?? [Re:silver810212]
Julian13





发贴: 387
积分: 52
于 2004-07-27 09:28 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
MaxDB should be the new name of SAP DB.


The SAP DB versioning will be carried over to the new MaxDB release. This means that the following version after SAP DB 7.4 will carry the new name and thus be MaxDB 7.5.

MaxDB 7.5 will offer new functionalities for the user interested in interoperability with MySQL. A MySQL proxy will be available making it possible to connect using the MySQL protocol to the MaxDB server. This enables the user to utilize familiar MySQL clients and practical MySQL tools like mysqldump and mysqlimport with the MaxDB database. Another useful addition is an understanding of the MySQL replication protocol, which makes it possible to easily put up a replication where a MaxDB is acting as a slave to a MySQL master database. For SAP DB users a smooth and easy upgrade will be offered from SAP DB 7.4 to MaxDB 7.5.0.

Due to the SAP Netweaver 6.40 release schedule the first MaxDB 7.5.0 will be a pure rebranded SAP DB 7.4. MaxDB 7.5.1 will provide the described MySQL-related added functionality.

The aim of the interoperability between MaxDB and MySQL is to make it easier for present MySQL users to use MaxDB. We depend on the SAP DB community to help any such new MaxDB users, just as we depend on the MySQL community to help newcomers among the MySQL users.


for more information: http://www.sapdb.org/7.4/sapdb_mysql.htm



who am i?
作者 Re:中型J2EE系统该用什么数据库?? [Re:silver810212]
silver810212





发贴: 7
积分: 0
于 2004-07-28 09:10 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
有哪位用过 PostgreSQL的吗?


作者 Re:中型J2EE系统该用什么数据库?? [Re:silver810212]
freecode





发贴: 77
积分: 0
于 2004-08-09 17:14 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
用postgresql做了一个项目,发现用了一段时间后(大约一个月),处理数据就比较慢了,重新数据库导入以前数据后就下常。
使用环境:redhat7.2 + jdk1.4 + tomcat4.124 + postgresql 7.3,每天不关机。



作者 Re:中型J2EE系统该用什么数据库?? [Re:silver810212]
Scotty





发贴: 88
积分: 10
于 2004-10-22 23:09 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
可以考虑使用Derby数据库,纯Java的关系性数据库,原来是IBM的Cloudscape数据库,现在开源了,由Aphace组织来负责开发,我觉得和Java应用程序可以结合得非常好。


作者 Re:中型J2EE系统该用什么数据库?? [Re:silver810212]
ehero2008





发贴: 2
积分: 0
于 2004-10-26 21:46 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
用oracle吧,你不买就是没有售后服务,其他都一样。绝对安全稳定好用。


作者 Re:中型J2EE系统该用什么数据库?? [Re:silver810212]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-10-27 14:35 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
silver810212 wrote:
我们单位现在要做一个中型的J2ee系统,数据量比较大,mysql应该不行了,以前一直都用mysql,这次不打算用它,因为我们单位是科研单位,只考虑免费的数据库[最好还是开源的]。我初步决定使用postgreSQL,请各位给我出出主意,谢谢先。

多大数据量? 怎么就中型,什么标准,不解



"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"


flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923