Giter Club home page Giter Club logo

pgeyes's Introduction

pgeyes (Postgres天眼通)

pgeyes 是一個 PostgreSQL extension,收集一系列管理工具,透過 Postgres FDW 瞭解遠端資料庫的情況。

安裝 Installation

  • 以 UBUNTU & PostgreSQL 9.6 為例 (其他版本請自行替換)
$ sudo apt install git make postgresql postgresql-server-dev-9.6
$ git clone https://github.com/ycku/pgeyes.git
$ cd pgeyes
$ sudo make install
$ sudo su - postgres
$ psql
  • 開始在 psql 中操作
postgres=# CREATE SCHEMA pgeyes;
postgres=# REVOKE ALL ON SCHEMA pgeyes FROM PUBLIC;
postgres=# CREATE EXTENSION pgeyes WITH SCHEMA pgeyes;
postgres=# SELECT * FROM pgeyes.pgeyes();
  • 應該會出現這樣的結果,表示安裝成功。
           item            | result | valid | description
---------------------------+--------+-------+-------------
 PostgreSQL version number | 90607  | t     | >=90600
(1 row)

更新 Update

  • 目前不提供 Extension update 的方法,請 DROP 再 CREATE 即可。
postgres=# DROP EXTENSION pgeyes;
postgres=# CREATE EXTENSION pgeyes WITH SCHEMA pgeyes;

pgeyes's People

Contributors

ycku avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.