Time of Update: 2015-04-30
標籤:1. 環境安裝sudo apt-get install apache2sudo apt-get install postgresql-9.1sudo apt-get install php5sudo apt-get install php5-pgsql2. 下載wordpress, wget -O wordpress.tar.gz http://wordpress.org/latest.tar.gzwget
Time of Update: 2015-01-30
標籤:一、功能 Keepalived通過對伺服器集區中的對象進行健全狀態檢查,同時實現了對失效機器和服務的故障隔離,並把其從服務池中刪除;如果失效的機器或者服務恢複正常,Keepalived會自動將其加入服務池中。PostgreSQL資料庫有時會發生宕機的情況,因此使用Keepalived對兩台伺服器進行配置,主伺服器負責使用者互動,從伺服器負責即時備份,當發生故障時可以實現高可用。二、工作原理當 Master 與 Slave 均運作正常時,
Time of Update: 2014-12-27
標籤:PostgreSQL資料的匯出匯入匯出PostgreSQL資料庫中的資料:$ pg_dump -U postgres -f mydatabase.sql mydatabase匯入資料時首先建立資料庫再用psql匯入:$ createdb newdatabase$ psql -d newdatabase -U postgres -f
Time of Update: 2014-12-18
標籤:ar os 使用 sp 資料 bs as nbsp sql 在postgresql中大家都用過round吧,當遇到小數的時候該如何顯示呢?看例子
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-10-14
標籤:blog http os for sp div 2014 on 問題 :http://www.enterprisedb.com/products-services-training/pgd
Time of Update: 2014-09-06
標籤:http os io 使用 ar for 資料 art on 1,deployByRuiyInsrpm -ivh http://yum.postgresql.org/9.4/redhat/
Time of Update: 2014-08-29
標籤:style color os io ar for art sp on LIMIT and OFFSET allow you to retrieve
Time of Update: 2014-08-13
標籤:des os io strong for ar art div [sql] view plaincopy1、相當與mysql的show databases; [sql] view
Time of Update: 2014-08-12
標籤:postgresql alter postgresql版本:psql (9.3.4)1、增加一列ALTER TABLE table_name ADD column_name datatype; 2、刪除一列ALTER TABLE table_name DROP column_name; 3、更改列的資料類型ALTER
Time of Update: 2014-08-08
標籤:des blog http os io 檔案 for 2014 PostgreSQL 始終不能同時接受超過大約 125 個串連,我的硬體是很強悍的! 發生這種情況的原因在於某些 PostgreSQL 說依賴的庫依賴於
Time of Update: 2014-08-02
標籤:style color 使用 os strong io 資料 for 一、PostgreSQL中可以直接對時間進行加減運算: 查詢系統目前時間:
Time of Update: 2018-12-06
1、 測試目的通過運行標準測試程式TPC-B和TPC-C,確定在不同參數和不同版本下(8.2.14 VS 8.4.2)的效能的不同,為eCop CM上PostgreSQL資料庫的參數配置和版本選擇提供參考。測試平台為:硬體設定:CPU E4600 雙核2.4G 2G RAM 160G SATA * 2作業系統:Ubuntu 9.10 Server檔案系統:Ext3資料庫:PostgreSQL 8.2.14和8.4.2採用源碼編譯方式安裝,GCC版本4.4.12、 測試和資料2.1
Time of Update: 2018-12-06
到www.postgresql.com下載 window no install 版本,解壓到硬碟上,以下這些命令都在bin目錄下step1.初始化資料庫initdb -D directory -E encoding [-U username] --locale=Cdirectory 指定存放資料檔案的目錄,將會在這個目錄下建立資料庫檔案encoding 字元集username
Time of Update: 2018-12-07
NameDROP TABLE -- 刪除一個表SynopsisDROP TABLE name [, ...] [ CASCADE | RESTRICT ]描述DROP TABLE 從資料庫中刪除表或視圖。 只有其所有者才能刪除一個表或視圖。要清空一個表,而不刪除表, 使用 DELETE。DROP TABLE 總是刪除目標表上現有的任何索引, 規則,觸發器以及約束。但是,要刪除一個有視圖或者其它表用外鍵約束引用的表, 我們必須聲明 CASCADE。(CASCADE
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
一、伺服器處理序的啟動和關閉: 下面是pg_ctl命令的使用方法和常用選項,需要指出的是,該命令是postgres命令的封裝體,因此在使用上比直接使用postgres更加方便。 pg_ctl init[db] [-D DATADIR] [-s] [-o "OPTIONS"] pg_ctl start [-w] [-t SECS] [-D DATADIR] [-s] [-l FILENAME] [-o "OPTIONS"] pg_ctl stop [-W]
Time of Update: 2018-12-07
使用pocketxpdf在多普達565上看PDF電子書為多普達565試用了多款PDF閱讀工具軟體後,最終選用了這款:http://pocketxpdf.sourceforge.net/支援windows mobile 2003這是從著名的開源軟體站上下載的。暫不支援非西文字型。直接複製到手機上,在手機上執行這個可執行檔就行了,用file->open
Time of Update: 2018-12-07
邏輯備份與還原 pg_dump.exe邏輯備份是用戶端工具產生的是標準的sql檔案。可以選擇 打包、壓縮、自訂格式的不同的輸出形式資料一致的,因為postgresql資料庫是mvc特性的 與pg_dump.exe輸出備份之對應的還原何種輸出就需要何種逆向操作,最終就是要獲得標準的sql輸入 pg_dump.exe的選項 pg_dump [選項]... [資料庫名字]pg_dump.exe --no-owner --no-privileges --createpg_dump.exe -
Time of Update: 2018-12-07
文章目錄 關於PostgreSQL叢集複製方案關於pgq和londiste工具安裝 配置 啟動replication daemon 添加一個複製集 測試結論 應用場合的探索 關於PostgreSQL叢集複製方案可以參考25 高可用性,負載平衡和複製這篇文章瞭解一些常規的複製方案。