Content Entry

PostgreSQL 大象

Published: 2007-11-22 Categories: Software Tags: PostgreSQL psql pgAdmin phpPgAdmin Database

开源社区的家伙们喜欢用动物作为软件标识,MySQL是海豚,PostgreSQL是大象。

大象比海豚“重”一些,MySQL快速,简单稳定,流行于web应用; PostgreSQL对待数据更严肃,在事务,存储,视图,触发,约束方面有更好的表现。

获取软件 http://www.postgresql.org

Debian/Ubuntu 下安装:
sudo apt-get install postgresql
设置密码:
sudo su postgres -c psql template1
ALTER USER postgres WITH PASSWORD 'your-password '

管理PgSQL很方便,psql,pgAdmin,phppgadmin


psql,命令行总是简单而强大,使用ssh远程管理便利;不喜欢mstsc,忍受不了龟速,耗时耗力。


pgAdmin,官方提供,功能强大; MySQL官方也提供类似管理软件,但好像要付费。


phAdmin, SQL查询分析器


phppgadmin基于web,等同于phpmyadmin, 功能比pgadmin简化了

两天的尝试,终于让SmartKit支持PgSQL, 使用过程中,对这大象的印象还真不错,乖乖~

comments loading