Skip to content
Permalink
Browse files
Merge branch 'feature/stop_fast' of https://github.com/janebeckman/in…
  • Loading branch information
dyozie committed Oct 31, 2016
2 parents c321fc5 + 9249d86 commit d98b06d3610878a8e45cdffeedac0b18fe7996c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
@@ -124,6 +124,12 @@ For best results in using `hawq start` and `hawq stop` to manage your HAWQ syste
$ hawq stop master -M fast
$ hawq stop master -M immediate
```
- If you want to reload server parameter settings on a HAWQ database where there are active connections, use the command:


```shell
$ hawq stop master -u -M fast
```

- When stopping a segment or all segments, you can use the default mode of smart mode. Using fast or immediate mode on segments will have no effect since segments are stateless.

@@ -23,6 +23,7 @@ The `hawq stop` utility is used to stop the database servers that comprise a HAW
By default, you are not allowed to shut down HAWQ if there are any client connections to the database. Use the `-M fast` option to roll back all in progress transactions and terminate any connections before shutting down. If there are any transactions in progress, the default behavior is to wait for them to commit before shutting down.

With the `-u` option, the utility uploads changes made to the master `pg_hba.conf` file or to *runtime* configuration parameters in the master `hawq-site.xml` file without interruption of service. Note that any active sessions will not pick up the changes until they reconnect to the database.
If the HAWQ cluster has active connections, use the command `hawq stop cluster -u -M fast` to ensure that changes to the parameters are reloaded.

## Objects

0 comments on commit d98b06d

Please sign in to comment.