开源社区的家伙们喜欢用动物作为软件标识,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
两天的尝试,终于让SmartKit支持PgSQL, 使用过程中,对这大象的印象还真不错,乖乖~