What's New in 8.1 ?
http://www.postgresql.org/docs/whatsnew
- Roles:支援資料庫角色
- In,Out參數:Function可以有in,out參數(表示可以有多個回傳值)
- 效能進步
- Index在記憶使用bitmap的方式,對於超大表格會有20倍以上的效能
- 可以分割 table
- 附加功能
- Generalised Search Tree (GiST),增強了以往的B-Tree indexing
- min()和max()這類的統計函示更快速
- 加入lastval(), greatest() and least() 這類相容於mysql,oracle的function
此外強烈建議使用8.1,這樣執行pgadmin 3才不會出現錯誤
http://www.pgadmin.org/
What's PostgreSQL
http://www.postgresql.org/docs/8.1/interactive/preface.html#INTRO-WHATIS
"PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. "
除了一般資料庫該有的功能之外
這些東西都可以自己override
- data types
- functions
- operators
- aggregate functions
- index methods
- procedural languages
以下稍微列出一些postgresql特殊的功能
繼承是相當特殊 http://www.postgresql.org/docs/8.1/interactive/ddl-inherit.html
他有相當多的型態可以使用,繪圖用,網路用,Array和Custom Type http://www.postgresql.org/docs/8.1/interactive/datatype.html
支援正規表示法比對
http://www.postgresql.org/docs/8.1/interactive/functions-matching.html
Row比對
http://www.postgresql.org/docs/8.1/interactive/functions-comparisons.html
Gist Indexing
http://www.postgresql.org/docs/8.1/static/gist.html
Rule System,利用描述式來rewrite query,達成建構複雜查詢的方法
http://www.postgresql.org/docs/8.1/static/rules.html
多語系支援
http://www.postgresql.org/docs/8.1/interactive/charset.html
他會照著$LANG來判斷你的語系,通常現在大多的linux系統都是預設zh_TW.utf8
此外資料庫裡會是存4byte utf-8 or utf-16,而不是mysql的非相容式3byte utf-8
Authentication
http://www.postgresql.org/docs/8.1/interactive/client-authentication.html
他支援相當多的client認證方式:
trust,reject,password(明碼),krb5(加密),md5(加密),ident(本機帳號),pam(unix外掛式認證模組)
Server Programming
http://www.postgresql.org/docs/8.1/interactive/server-programming.html
Function可以使用PL/pgSQL(與Oracle相容),PL/Perl, PL/Python, PL/Tcl撰寫
Limitations
http://www.postgresql.org/docs/faqs.FAQ.html#item4.4
不過目前任何32位元作業系統的FileSystem上限是4TB
而使用MSDOS的Partition上限是2TB
外部連結
http://www.postgresql.org/docs/8.1/interactive/index.html
Hi,
回覆刪除請問有在接案嗎? 不知是否有(人力/交友)此類網站開發經驗?