GithubHelp home page GithubHelp logo

yamatattsu / pg_dbms_stats Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ossc-db/pg_dbms_stats

0.0 2.0 0.0 269 KB

Let PostgreSQL to make execution plans using frozen statistics.

License: Other

Makefile 0.26% C 7.46% PLpgSQL 92.24% C++ 0.04%

pg_dbms_stats's Introduction

Preparation for make installcheck

1. Install pg_dbms_stats into the target binary tree. Make sure to
   prepare the PATH environment variable properly to execute the right
   pg_config for the version of target PostgreSQL server.

  postgres$ which pg_config
  <somewhere bin of the target server resides>/pg_config
  postgres$ make install

2. Install additionally required contrib module file_fdw. This could
  be done for RPM installed server by installing postgresql##-contrib
  using yum after installing additional repository.

  # yum install postgresql96-contrib

3. Edit postgresql.conf so that pg_dbms stats will be automatically
   loaded.

  postgres$ echo "shared_preload_libraries = 'pg_dbms_stats'" >>  <PGDATA>/postgresql.conf

4. Start the target server

  postgres$ postgres or pg_ctl start

5. Install extension on the server.

  postgres$ psql postgres -c 'CREATE EXTENSION pg_dbms_stats; CREATE EXTENSION file_fdw;'

6. run make installcheck

  postgres$ make installcheck

pg_dbms_stats's People

Contributors

masaofujii avatar

Watchers

James Cloos avatar Tatsuro Yamada 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.