23 namespace foreign_storage {
35 std::map<std::string, import_export::TypedImportBuffer*>& import_buffers) {
36 if (
auto itr = import_buffers.find(
"total_cpu_slots"); itr != import_buffers.end()) {
39 if (
auto itr = import_buffers.find(
"total_gpu_slots"); itr != import_buffers.end()) {
42 if (
auto itr = import_buffers.find(
"total_cpu_result_mem");
43 itr != import_buffers.end()) {
46 if (
auto itr = import_buffers.find(
"total_cpu_buffer_pool_mem");
47 itr != import_buffers.end()) {
50 if (
auto itr = import_buffers.find(
"total_gpu_buffer_pool_mem");
51 itr != import_buffers.end()) {
55 if (
auto itr = import_buffers.find(
"allocated_cpu_slots");
56 itr != import_buffers.end()) {
59 if (
auto itr = import_buffers.find(
"allocated_gpu_slots");
60 itr != import_buffers.end()) {
63 if (
auto itr = import_buffers.find(
"allocated_cpu_result_mem");
64 itr != import_buffers.end()) {
67 if (
auto itr = import_buffers.find(
"allocated_cpu_buffer_pool_mem");
68 itr != import_buffers.end()) {
71 if (
auto itr = import_buffers.find(
"allocated_gpu_buffer_pool_mem");
72 itr != import_buffers.end()) {
75 if (
auto itr = import_buffers.find(
"allocated_cpu_buffers");
76 itr != import_buffers.end()) {
79 if (
auto itr = import_buffers.find(
"allocated_gpu_buffers");
80 itr != import_buffers.end()) {
83 if (
auto itr = import_buffers.find(
"allocated_temp_cpu_buffer_pool_mem");
84 itr != import_buffers.end()) {
87 if (
auto itr = import_buffers.find(
"allocated_temp_gpu_buffer_pool_mem");
88 itr != import_buffers.end()) {
92 if (
auto itr = import_buffers.find(
"total_requests"); itr != import_buffers.end()) {
95 if (
auto itr = import_buffers.find(
"outstanding_requests");
96 itr != import_buffers.end()) {
99 if (
auto itr = import_buffers.find(
"outstanding_cpu_slots_requests");
100 itr != import_buffers.end()) {
103 if (
auto itr = import_buffers.find(
"outstanding_gpu_slots_requests");
104 itr != import_buffers.end()) {
107 if (
auto itr = import_buffers.find(
"outstanding_cpu_result_mem_requests");
108 itr != import_buffers.end()) {
111 if (
auto itr = import_buffers.find(
"outstanding_cpu_buffer_pool_mem_requests");
112 itr != import_buffers.end()) {
115 if (
auto itr = import_buffers.find(
"outstanding_gpu_buffer_pool_mem_requests");
116 itr != import_buffers.end()) {
124 const std::string& table_name) {
134 const std::string& table_name,
135 std::map<std::string, import_export::TypedImportBuffer*>& import_buffers) {
A container for various stats about the current state of the ExecutorResourcePool. Note that ExecutorResourcePool does not persist a struct of this type, but rather builds one on the fly when ExecutorResourcePool::get_resource_info() is called.
size_t outstanding_cpu_result_mem_requests
static constexpr const char * EXECUTOR_RESOURCE_POOL_SUMMARY_SYS_TABLE_NAME
size_t allocated_cpu_buffers
size_t allocated_temp_gpu_buffer_pool_mem
static ExecutorResourceMgr_Namespace::ResourcePoolInfo get_executor_resource_pool_info()
size_t outstanding_gpu_slots_requests
size_t allocated_cpu_slots
size_t allocated_gpu_buffers
InternalExecutorStatsDataWrapper()
size_t allocated_cpu_result_mem
This file contains the class specification and related data structures for SysCatalog.
size_t outstanding_requests
size_t total_cpu_buffer_pool_mem
size_t allocated_temp_cpu_buffer_pool_mem
size_t total_cpu_result_mem
const ForeignTable * foreign_table_
void populate_import_buffers_for_executor_resource_pool_summary(const ExecutorResourceMgr_Namespace::ResourcePoolInfo &resource_pool_info, std::map< std::string, import_export::TypedImportBuffer * > &import_buffers)
size_t total_gpu_buffer_pool_mem
void initializeObjectsForTable(const std::string &table_name) override
void populateChunkBuffersForTable(const std::string &table_name, std::map< std::string, import_export::TypedImportBuffer * > &import_buffers) override
ExecutorResourceMgr_Namespace::ResourcePoolInfo executor_resource_pool_info_
size_t outstanding_gpu_buffer_pool_mem_requests
size_t allocated_gpu_buffer_pool_mem
size_t allocated_cpu_buffer_pool_mem
size_t outstanding_cpu_slots_requests
size_t outstanding_cpu_buffer_pool_mem_requests