EnglishFrenchSpanish

OnWorks favicon

pg_xlogdump - Online in the Cloud

Run pg_xlogdump in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command pg_xlogdump that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


pg_xlogdump - Display a human-readable rendering of the write-ahead log of a PostgreSQL
database cluster

SYNOPSIS


pg_xlogdump [option...] [startseg [endseg]]

DESCRIPTION


pg_xlogdump displays the write-ahead log (WAL) and is mainly useful for debugging or
educational purposes.

This utility can only be run by the user who installed the server, because it requires
read-only access to the data directory.

OPTIONS


The following command-line options control the location and format of the output:

startseg
Start reading at the specified log segment file. This implicitly determines the path
in which files will be searched for, and the timeline to use.

endseg
Stop after reading the specified log segment file.

-b
--bkp-details
Output detailed information about backup blocks.

-e end
--end=end
Stop reading at the specified log position, instead of reading to the end of the log
stream.

-f
--follow
After reaching the end of valid WAL, keep polling once per second for new WAL to
appear.

-n limit
--limit=limit
Display the specified number of records, then stop.

-p path
--path=path
Directory in which to find log segment files. The default is to search for them in the
pg_xlog subdirectory of the current directory.

-r rmgr
--rmgr=rmgr
Only display records generated by the specified resource manager. If list is passed as
name, print a list of valid resource manager names, and exit.

-s start
--start=start
Log position at which to start reading. The default is to start reading the first
valid log record found in the earliest file found.

-t timeline
--timelime=timeline
Timeline from which to read log records. The default is to use the value in startseg,
if that is specified; otherwise, the default is 1.

-V
--version
Print the pg_xlogdump version and exit.

-x xid
--xid=xid
Only display records marked with the given transaction ID.

-z
--stats[=record]
Display summary statistics (number and size of records and full-page images) instead
of individual records. Optionally generate statistics per-record instead of per-rmgr.

-?
--help
Show help about pg_xlogdump command line arguments, and exit.

NOTES


Can give wrong results when the server is running.

Only the specified timeline is displayed (or the default, if none is specified). Records
in other timelines are ignored.

pg_xlogdump cannot read WAL files with suffix .partial. If those files need to be read,
.partial suffix needs to be removed from the file name.

Use pg_xlogdump online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • 2
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 3
    VirtualGL
    VirtualGL
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 4
    libusb
    libusb
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Categories...
    Download libusb
  • 5
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • 6
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • More »

Linux commands

Ad