Time of Update: 2015-01-01
標籤:postgresql jdbc PostgreSQL是一款開源的資料庫,從mysql被收購之後逐漸得到了廣泛應用,可以說市面上的公司選擇使用它,的確是一個大膽、創新的想法,postgresql擁有眾多資料庫的特性如orcale的sequence,還擁有很多商務資料庫不具備的資料類型如幾何類型,IP類型,並且也支援視圖、觸發器、資料庫約束。如果覺得mysql太單調可以試試PostgreSQL,一定大有收穫。一
Time of Update: 2015-01-03
標籤: 一、建表 lihao=#create table tb (id int,pid int,name varchar); lihao=#INSERT INTO tb VALUES (1, 0, ‘廣東省‘); lihao=#INSERT INTO tb VALUES (2, 0, ‘浙江省‘); lihao=#INSERT INTO tb VALUES (3, 2, ‘衢州市‘); lihao=#INSERT INTO tb VALUES (4, 2, ‘杭州市‘);
Time of Update: 2014-12-14
標籤:des style blog http ar color os 使用 sp 突然發現公司Tableau伺服器的資料庫大小急劇增加,因此決定直接連上資料庫排查.過程記錄如下:最後發現有個ht
Time of Update: 2014-12-05
標籤:datagridview style blog http io ar os sp for modal DAL,BLL都是類庫的形式 最終結果如下: 資料庫代碼: --
Time of Update: 2014-11-28
標籤:style blog color os 使用 sp div log linux 最近要在linux下使用PostgreSQL,在網上搜了下資料,整理下PostgreSQL-9.3安裝與配置
Time of Update: 2014-11-26
標籤:style color os 使用 sp on 資料 2014 bs 我使用的Postgres的源碼版本為 postgresql-9.3.5。系統為 CentOS6.5
Time of Update: 2014-11-08
標籤:blog http io ar os 使用 sp 檔案 資料 轉自http://blog.csdn.net/beiigang/article/details/39099575 p
Time of Update: 2014-10-29
標籤:style blog io color os ar for sp div gearman is a good thing gearman client -------------
Time of Update: 2014-09-18
標籤:des style blog color io os 使用 ar for 經過幾年的更新及業界對Entity Framework 的認同。 現在 EF
Time of Update: 2014-09-03
標籤:des style color os 使用 ar for 資料 sp 最近一直在學習Postgresql,下面是自己整理的Postgresql的常用命令 串連資料庫,
Time of Update: 2014-09-04
標籤:des style blog http color os io 使用 ar 2014-03-03 10:10 佚名
Time of Update: 2014-08-26
標籤:blog http os 使用 io 檔案 ar 資料 art 轉自:http://blog.csdn.net/qpengyanting123/article/details/749755
Time of Update: 2014-07-23
標籤:postgresql 程式碼分析 最佳化 查詢最佳化 條件 PostgreSQL程式碼分析,查詢最佳化部分。張大明白的blog:http://blog.csdn.net/shujiezhang相關博文:PostgreSQL程式碼分析,查詢最佳化部分,process_duplicate_ors/* * canonicalize_qual *
Time of Update: 2018-12-06
四、PostgreSQL/PostGIS安裝有一些圖沒有截下來,本人已在FreeBSD下裝過,其實讀一下軟體的安裝說明就可以了,很簡單。 登入http://www.postgresql.org,下載最新版的PostgreSQL資料庫,此安裝檔案已包含PostGIS(必須下載8.2以上版本,不可下載8.1版,經測試8.1版對資料的備份和恢複存在問題,恢複備份資料時不能正確恢複資料表的主鍵)。開始安裝 首先是選擇安裝過程中使用的語言,沒有找到中文,只好選擇還能看得懂的英文。另外,你可以選擇最下面
Time of Update: 2018-12-07
Postgresql是完全自我獨立的,不向系統寫入垃圾資訊,不依賴於註冊表!initdb.exe 初始化系統資料庫postgres、模板資料庫template0、template1、資料庫簇——理解為一個儲存目錄!pg_ctl.exe是一個基本的伺服器管理工具postgres.exe伺服器程式 Postgresql的伺服器配置:postgresql.conf該設定檔在-D目錄下可以通過include [=]
Time of Update: 2018-12-07
在SQL的標準中事物隔離等級分為以下四種: 1. 讀未提交(Read uncommitted) 2. 讀已提交(Read committed) 3. 可重複讀(Repeatable read) 4. 可序列化(Serializable) 然而PostgreSQL在9.1之前的版本中只是實現了其中兩種,即讀已提交和可序列化,如果在實際應用中選擇了另外兩種,那麼PostgreSQL 將會自動向更嚴格的隔離等級調整。在PostgreSQL
Time of Update: 2018-12-07
PostgreSQL表的行數統計 在很多情況下我們需要知道一個表的記錄數有多少。如果你發現你有這樣的需求,你還應該問問這樣的統計的精確度到底又多高。如果你在做會計報表,你需要非常的精確。如果你做一個網頁的記數器,可能有一些誤差也是允許的。 使用count(*) 傳統的計算一個表的行數的方法是使用count(*),但是count(*)非常的慢,尤其是對於一個大表而言。webstat=# select count(*) from rawlog; count ---------
Time of Update: 2018-12-07
問題:org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.解決辦法:Edit /var/lib/pgsql/data/postgresql.conf fileChange#listen_addresses = 'localhost'to
Time of Update: 2018-12-07
本地化:指有關字元、排序、數字格式、貨幣符號等等的文化偏好postgresql通過兩個途徑提供本地化支援:1。通過所使用的os擷取本地化偏好initdb.exe
Time of Update: 2014-03-22
本文以安裝postgreSQL為例說明了Gentoo Linux 安裝 軟體的一般方法,同時總結了USE flag.運行 emerge -pv postgresql-server 看下USE [plain] view