ttDistributionProgress
This built-in procedure provides a progress report of an ongoing redistribution process.
Required Privilege
This procedure requires the ADMIN
privilege.
Usage in TimesTen Scaleout and TimesTen Classic
This procedure is not supported in TimesTen Classic.
TimesTen Scaleout applications can call this built-in procedure.
This procedure returns a row for the element from which it was called.
Related Views
This procedure has no related views.
Syntax
ttDistributionProgress()
Parameters
ttDistributionProgress
has no parameters.
Result Set
ttDistributionProgress
returns the result:
Column | Type | Description |
---|---|---|
|
|
Time at which the status information was collected. |
|
|
Element ID of the local element. |
|
|
Version number of the partition table. |
|
|
Thread ID. |
|
|
Current phase of the redistribution process. The redistribution process has the following phases:
|
|
|
Name of the table currently being processed, if available. |
|
|
Number of rows already processed of the current table, if available. |
|
|
Number of rows already inserted to the current table in the local element, if available. |
|
|
Number of rows already deleted from the current table in the local element, if available. |
|
|
Total number of rows in the table, if available. |
|
|
Number of rows already processed for the element. |
|
|
Number of rows already inserted to the element. |
|
|
Number of rows already deleted from the element. |
|
|
Total number of rows in the element for all tables. |
|
|
Number of tables already processed. |
|
|
Total number of tables in the database. |
Examples
The following example shows an example result set for a call to the ttDistributionProgress
built-in procedure.
CALL ttDistributionProgress(); < 2021-09-13 14:49:41.065122, 1, 2, 1, Data Distribution, <NULL>, <NULL>, <NULL>, <NULL>, <NULL>, 1910, 0, 176, 1910, 8, 8 > 1 row found.