GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • V4.x Documentation
  • Contact
  • Privacy Statement
  • Contributor License Agreement
  • Software License Agreement
  • Trademarks

This view

  • Original page
  • New address

GeezerVison is showing docs.voltdb.com — @Resume

  • VoltDB Home
  • Forums
  • V4.x Books
    • VoltDB Tutorial
    • Using VoltDB
    • VoltDB Performance Guide
    • VoltDB Planning Guide
    • VoltDB Administrator's Guide
  • Current docs ▶
@Resume

Documentation

VoltDB Home » Documentation » Using VoltDB
< previoustable of contentsnext >

@Resume

@Resume — Returns a paused database to normal operating mode.

Synopsis

@Resume

Description

The @Resume system procedure switches all nodes in a database cluster from admin mode to normal operating mode. In other words, @Resume is the opposite of @Pause.

After calling this procedure, the cluster returns to accepting new connections and stored procedure invocations from clients connected to the standard client port.

@Resume must be invoked from a connection to the admin port.

Return Values

Returns one VoltTable with one row.

NameDatatypeDescription
STATUSBIGINTAlways returns the value zero (0) indicating success.

Examples

You can call @Resume using the sqlcmd utility. However, you must explicitly connect to the admin port when starting sqlcmd to do this. It is often easier to use the voltadmin resume command, which connects to the admin port by default. For example, the following commands are equivalent:

$ sqlcmd --port=21211
1> exec @Resume;
$ voltadmin resume

The following program example uses @Resume to return the cluster to normal operation.

client.callProcedure("@Resume");
< previoustable of contentsnext >
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.