Giter Site home page Giter Site logo

jiaqizho / filedump Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudberrydb/filedump

0.0 0.0 0.0 221 KB

Cloudberry Database Filedump is a utility to format Greenplum heap/index/control files into a human-readable form. You can format/dump the files several ways, as listed in the Invocation section, as well as dumping straight binary.

License: Other

Shell 5.20% C 93.12% Makefile 1.68%

filedump's Introduction

Greenplum Database Filedump

Greenplum Database Filedump is a utility to format Greenplum heap/index/control files into a human-readable form. You can format/dump the files several ways, as listed in the Invocation section, as well as dumping straight binary.

This project is based on PostgreSQL Filedump, with modification for support of Greenplum Database. Refer to the PostgreSQL Filedump wiki for more information.

The original readme of PostgreSQL Filedump is included as README.pg_filedump.

Build

This package only supports building in pgxs mode, which means you will need to have a properly configured install tree (with include files) of the appropriate GPDB major version.

You can typically build like this:

# make sure we can find the gpdb package
source /path/to/greenplum_path.sh

# build the pg_filedump
make

The build result is a binary file named pg_filedump, you could copy it to your target machines and run it without the gpdb binaries.

Gpdb versions

This package only supports gpdb 7 and onward. For the use with past gpdb major versions, checkout branch historical and follow README.gpdb.md there.

Configuration

There are several configurable options:

  • ENABLE_ZLIB: To use pg_filedump on zlib compressed data files, we need to enable the zlib support. It is automatically enabled if the zlib headers and libraries are detected with pkg-config, but you could force it to be enabled by make -f Makefile.gpdb ENABLE_ZLIB=y, make sure the zlib headers and libraries are available, you may also need to set CFLAGS and LDFLAGS accordingly. It is also possible to force building without zlib by setting this variable to n.

  • ENABLE_ZSTD: A similar setting for the zstd compression method.

filedump's People

Contributors

df7cb avatar huansong avatar feodor avatar tglsfdc avatar zhangh43 avatar gleu avatar kmacoskey avatar gp-releng 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.