GPDB43 Administrator Guide--第三章 訪問GREENPLUM資料庫
第三章 訪問GREENPLUM資料庫
這章主要講各種客戶端工具以及如何建立session;
- 建立連線的引數:$PGAPPNAME、$PGDATABASE、$PGPORT、$PGHOST、$PGUSER
- 支援的客戶端程式:psql、pgadmin III、標準介面(如jdbc、odbc),以及使用標準介面的第三方程式,如BO,BI
- 資料庫端應用程式,常用的如下:
- Name Usage
- createdb create a new database
- createlang define a new procedural language
- createuser define a new database role
- dropdb remove a database
- droplang remove a procedural language
- dropuser remove a role
- psql PostgreSQL interactive terminal
- reindexdb reindex a database
- vacuumdb garbage-collect and analyze a database
- psql連線方法
$ psql -d gpdatabase -h master_host -p 5432 -U gpadmin
$ psql gpdatabase
$ psql
- pgadmin III
pgadmin III是postgresql一個圖形化介面工具,支援資料庫視覺化與管理工具,同樣也支援Greenplum資料庫,特別介紹2個功能:修改伺服器配置與視覺化執行計劃;
- 修改伺服器引數
a.連線到資料庫
b.介面上操作:Select Tools > Server Configuration > postgresql.conf
c.輸入或選擇引數,然後Enabled & OK
d.使配置生效File > Reload,但是有些引數生效需要重啟資料庫系統
- 視覺化執行計劃
- 介面位置Tools > Query
- 輸入SQL
- 選擇Query > Explain,設定選項
- 執行生成執行計劃Query > Explain
- 資料庫介面與驅動
ODBC—pgodbc--
JDBC—pgjdbc--
Perl DBI—pgperl--
Python DBI—gresql--
- 第三方工具
? Business Objects
? Microstrategy
? Informatica Power Center
? Microsoft SQL Server Integration Services (SSIS) and Reporting Services (SSRS)
? Ascential Datastage
? SAS
? IBM Cognos
- 連線失敗常見錯誤
- pg_hba.conf配置問題
- 網路超時
- 連線數超過限制
- 資料庫沒有執行
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16976507/viewspace-1795848/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- GreenPlum資料庫安裝資料庫
- JDBC資料庫訪問JDBC資料庫
- Greenplum資料庫系統架構資料庫架構
- 外網訪問MySQL資料庫MySql資料庫
- Oracle資料庫限制訪問IPOracle資料庫
- 【greenplum】greenplum叢集資料庫初始化輸出內容樣例資料庫
- 使用 @NoRepositoryBean 簡化資料庫訪問Bean資料庫
- 如何限制ip訪問Oracle資料庫Oracle資料庫
- jmeter 使用 ssh 方式訪問資料庫JMeter資料庫
- 【磐維資料庫】透過python訪問磐維資料庫資料庫Python
- Xamarin SQLite教程資料庫訪問與生成SQLite資料庫
- Python學習之旅:訪問MySQL資料庫PythonMySql資料庫
- 資料庫訪問幾種方式對比資料庫
- [開源] .Net ORM 訪問 Firebird 資料庫ORM資料庫
- Pandas庫基礎分析——資料生成和訪問
- Holer實現外網訪問SQLServer資料庫SQLServer資料庫
- Holer實現MongoDB資料庫外網訪問MongoDB資料庫
- Holer實現外網訪問MariaDB資料庫資料庫
- Holer實現外網訪問PostgreSQL資料庫SQL資料庫
- Oracle透明閘道器訪問SQLServer資料庫OracleSQLServer資料庫
- Oracle透明閘道器訪問MySQL資料庫OracleMySql資料庫
- Java訪問資料庫的具體步驟:Java資料庫
- 3.2.4 開啟資料庫到限制訪問模式資料庫模式
- jdbc訪問KingbaseES資料庫SocketTimeoutException Read timed outJDBC資料庫Exception
- 【磐維資料庫】Oracle(透明閘道器)訪問磐維資料庫(PanWeiDB)資料庫Oracle
- 解決資料庫高併發訪問瓶頸問題資料庫
- Spring資料訪問Spring
- Greenplum初始化資料庫gpinitsystem報錯以及解決資料庫
- 如何從公網訪問內網MongoDB資料庫內網MongoDB資料庫
- 怎樣從外網網訪問本地資料庫?資料庫
- derby 資料庫 伺服器模式 無法訪問資料庫伺服器模式
- 資料庫mysql如何訪問控制?有哪些階段?資料庫MySql
- 資料訪問 - EntityFramework整合Framework
- 怎樣從公網訪問內網Redis資料庫內網Redis資料庫
- Serverless 解惑——函式計算如何訪問 Redis 資料庫Server函式Redis資料庫
- Serverless 解惑——函式計算如何訪問 Mongo 資料庫Server函式Go資料庫
- Serverless 解惑——函式計算如何訪問 MySQL 資料庫Server函式MySql資料庫
- 分散式文件儲存資料庫之MongoDB訪問控制分散式資料庫MongoDB
- [開源] .Net 使用 ORM 訪問 華為GaussDB資料庫ORM資料庫