天道酬勤

Oracle and My Life

Archive for December, 2009

EnterpriseDB overview

one comment

Postgres Plus Advanced Server 又名EnterpriseDB,由前身PostgreSQL发展而来,一款真正意义上的开源数据库,加之有IBM和RedHat的鼎力相助,发展势头迅猛。由于ORACLE高昂的License费用,在如今的金融危机下,很多厂品都有价格的优势,而ORACLE不但没有且还提高了大约40%价格,无疑对很多的企业来说是雪上加霜,已无力承受,大家纷纷开始计划着将其迁移到其它产品上。EnterpriseDB吸引了众多企业的眼球是因为它与ORACLE有强大的兼容性,现有ORACLE系统上80%的应用不需做任何修改直接可以拿到EnterpriseDB上应用。有人一定会先想到MySQL,其性能勿庸置疑,加上高可用都有,目前国内的众多WEB2.0公司都在用,taobao、google等等。MySQL在处理WEB方面的应用确实不错,但在其它方面不一定是最好的,加上被收购了二次之后,现在在ORACLE手可前途未卜,个人认为MySQL不能算真正的开源数据库,而EnterpriseDB是。我相信在未来几年,会有越来越多的中小企业因为看重EnterpriseDB的众多优越特性而选择它。

EnterpriseDB的安装是我见过的RDBMS产品中安装最简单的,简单介绍for linux x86 platform的安装步骤。

  1. 获得安装文件
  2. # tar -zxvf pgplus-advsvr-linux-x86_830112.tar.gz
  3. # setenforce Permissive
  4. Graphical Installer:

# ./pgplus-advsvr-linux-x86_830112.bin

Command Line Installer:

# ./pgplus-advsvr-linux-x86_830112.bin -console

输入上面的命令之后剩下的工作就在对话中完成。

默认安装路径如下:

/opt/PostgresPlus/8.3R2AS

/opt/PostgresPlus/8.3R2AS/data

/opt/PostgresPlus/8.3R2AS/data/pg_xlog

5.# setenforce Enforcing

6.配置环境变量:安装完成之后,在每个用户的家目录下会有一个edb_83.env的文本文件,与$EDBHOME/dbserver/scripts/edb_83.env文件一样。

To load the environment for a single user:

#chown <username> /home/<username>/edb_83.env

#vi /home/<username>/.bash_profile

增加如下一行:

. /home/<username>/edb_83.env 注意. /之间有空格

To load the environment for all users:

#vi /etc/profile

增加如下一行:

. /etc/edb_83.env   注意. /之间有空格

我的实验环境:

[enterprisedb@postgres ~]$ edbplus

User: enterprisedb

Enter Password:

Connected to EnterpriseDB 8.3.0.112 (localhost:5444/edb) AS enterprisedb

EDB*Plus: Release 8.3 (Build 19)

Copyright (c) 2008-2009, EnterpriseDB Corporation.  All rights reserved.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SQL>select * FROM v$version;
 
BANNER
 
--------------------------------------------------
 
Oracle DATABASE 10g Edition Release 10.2.0.1.0 - P
 
roduct IS SIMILAR
 
PL/SQL Release 10.2.0.1.0 - Production IS SIMILAR
 
CORE 10.2.0.1.0 Production IS SIMILAR
 
SQL>

更详细内容请参考官方文档

-The End-

Written by ochef

December 16th, 2009 at 1:07 pm

Posted in Database

Tagged with ,

Oracle SQL Developer 2.1 Released

one comment

oracle sql developer2.1

BTW:

需要PLSQL Developer 8.0.0.1483的朋友请稳步这里下载

-The End-

Written by ochef

December 2nd, 2009 at 10:11 am

Posted in Database

Tagged with ,

无觅相关文章插件,快速提升流量