Skip to content

Commit 4331593

Browse files
author
Shlomi Noach
committed
elaborate hooks doc
1 parent a58e803 commit 4331593

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/hooks.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,16 @@ The following variables are available on all hooks:
5858
- `GH_OST_DATABASE_NAME`
5959
- `GH_OST_TABLE_NAME`
6060
- `GH_OST_GHOST_TABLE_NAME`
61-
- `GH_OST_OLD_TABLE_NAME`
61+
- `GH_OST_OLD_TABLE_NAME` - the name the original table will be renamed to at the end of operation
6262
- `GH_OST_DDL`
63-
- `GH_OST_ELAPSED_SECONDS`
63+
- `GH_OST_ELAPSED_SECONDS` - total runtime
64+
- `GH_OST_ELAPSED_COPY_SECONDS` - row-copy time (excluding startup, row-count and postpone time)
65+
- `GH_OST_ESTIMATED_ROWS` - estimated total rows in table
66+
- `GH_OST_COPIED_ROWS` - number of rows copied by `gh-ost`
6467
- `GH_OST_MIGRATED_HOST`
6568
- `GH_OST_INSPECTED_HOST`
6669
- `GH_OST_EXECUTING_HOST`
67-
- `GH_OST_HOOKS_HINT`
70+
- `GH_OST_HOOKS_HINT` - copy of `--hooks-hint` value
6871

6972
The following variable are available on particular hooks:
7073

0 commit comments

Comments
 (0)