229 lines
7.8 KiB
JSON
229 lines
7.8 KiB
JSON
{
|
|
"phase": "before",
|
|
"generatedAt": "2026-07-12T23:07:27.053Z",
|
|
"queryId": "query_01",
|
|
"queryName": "COUNT total de invima_api_catalog",
|
|
"sqlFile": "queries/query_01.sql",
|
|
"explain": {
|
|
"Plan": {
|
|
"Node Type": "Aggregate",
|
|
"Strategy": "Plain",
|
|
"Partial Mode": "Finalize",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 56818,
|
|
"Total Cost": 56818.01,
|
|
"Plan Rows": 1,
|
|
"Plan Width": 8,
|
|
"Actual Startup Time": 136.105,
|
|
"Actual Total Time": 141.959,
|
|
"Actual Rows": 1,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Output": [
|
|
"count(*)"
|
|
],
|
|
"Shared Hit Blocks": 948,
|
|
"Shared Read Blocks": 22994,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 56817.78,
|
|
"Total Cost": 56817.99,
|
|
"Plan Rows": 2,
|
|
"Plan Width": 8,
|
|
"Actual Startup Time": 135.952,
|
|
"Actual Total Time": 141.955,
|
|
"Actual Rows": 3,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Output": [
|
|
"(PARTIAL count(*))"
|
|
],
|
|
"Workers Planned": 2,
|
|
"Workers Launched": 2,
|
|
"Single Copy": false,
|
|
"Shared Hit Blocks": 948,
|
|
"Shared Read Blocks": 22994,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Aggregate",
|
|
"Strategy": "Plain",
|
|
"Partial Mode": "Partial",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 55817.78,
|
|
"Total Cost": 55817.79,
|
|
"Plan Rows": 1,
|
|
"Plan Width": 8,
|
|
"Actual Startup Time": 117.033,
|
|
"Actual Total Time": 117.033,
|
|
"Actual Rows": 1,
|
|
"Actual Loops": 3,
|
|
"Disabled": false,
|
|
"Output": [
|
|
"PARTIAL count(*)"
|
|
],
|
|
"Shared Hit Blocks": 948,
|
|
"Shared Read Blocks": 22994,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Actual Startup Time": 107.329,
|
|
"Actual Total Time": 107.329,
|
|
"Actual Rows": 1,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 279,
|
|
"Shared Read Blocks": 7413,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
{
|
|
"Worker Number": 1,
|
|
"Actual Startup Time": 108.144,
|
|
"Actual Total Time": 108.144,
|
|
"Actual Rows": 1,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 459,
|
|
"Shared Read Blocks": 7355,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Only Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "idx_invima_api_catalog_dataset",
|
|
"Relation Name": "invima_api_catalog",
|
|
"Schema": "public",
|
|
"Alias": "invima_api_catalog",
|
|
"Startup Cost": 0.43,
|
|
"Total Cost": 54351.44,
|
|
"Plan Rows": 586539,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 0.288,
|
|
"Actual Total Time": 102.177,
|
|
"Actual Rows": 469231.33,
|
|
"Actual Loops": 3,
|
|
"Disabled": false,
|
|
"Output": [
|
|
"source_dataset_key"
|
|
],
|
|
"Heap Fetches": 132705,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 948,
|
|
"Shared Read Blocks": 22994,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Actual Startup Time": 0.388,
|
|
"Actual Total Time": 95.423,
|
|
"Actual Rows": 372078,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 279,
|
|
"Shared Read Blocks": 7413,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
{
|
|
"Worker Number": 1,
|
|
"Actual Startup Time": 0.334,
|
|
"Actual Total Time": 95.875,
|
|
"Actual Rows": 388979,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 459,
|
|
"Shared Read Blocks": 7355,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Settings": {},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 377,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.953,
|
|
"Triggers": [],
|
|
"Execution Time": 142.018
|
|
}
|
|
}
|