GitHub user hbdeshmukh opened a pull request:
https://github.com/apache/incubator-quickstep/pull/219
QUICKSTEP-83 Measure memory consumption of a running query
- Methods to get memory footprints of join hash tables (for all of its
implementations)
- Method to get the memory consumed by the active temporary relations
during the query execution.
- Added methods for measuring memory consumed by hash tables used for
aggregation.
- AggregationOperationState can provide total memory used for a single
aggregation node.
- QueryContext can aggregate the memory consumed by all temporary data
structures (e.g. join hash tables, aggregation hash tables).
- QueryManagerBase provides an API to get the total memory footprint of
a query (only implemented for single node version).
- Mutex protection for hash join tables' list and insert destinations' list
in
the QueryContext class.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hbdeshmukh/incubator-quickstep
query-memory-measurement
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-quickstep/pull/219.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #219
----
commit 1eac14ec46b76a227c096b88d482c6eda21d6846
Author: Harshad Deshmukh <[email protected]>
Date: 2017-03-21T19:53:38Z
Measure memory consumption of a running query
- Methods to get memory footprints of join hash tables (for all of its
implementations)
- Method to get the memory consumed by the active temporary relations
during the query execution.
- Added methods for measuring memory consumed by hash tables used for
aggregation.
- AggregationOperationState can provide total memory used for a single
aggregation node.
- QueryContext can aggregate the memory consumed by all temporary data
structures (e.g. join hash tables, aggregation hash tables).
- QueryManagerBase provides an API to get the total memory footprint of
a query (only implemented for single node version).
- Mutex protection for hash join tables' list and insert destinations' list
in
the QueryContext class.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---