semillero-INVIMA/benchmarks/results/explain_before/query_03.json

231 lines
7.9 KiB
JSON

{
"phase": "before",
"generatedAt": "2026-07-12T23:07:27.206Z",
"queryId": "query_03",
"queryName": "Conteo de dispositivos",
"sqlFile": "queries/query_03.sql",
"explain": {
"Plan": {
"Node Type": "Aggregate",
"Strategy": "Plain",
"Partial Mode": "Finalize",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 16589.86,
"Total Cost": 16589.87,
"Plan Rows": 1,
"Plan Width": 8,
"Actual Startup Time": 28.238,
"Actual Total Time": 31.671,
"Actual Rows": 1,
"Actual Loops": 1,
"Disabled": false,
"Output": [
"count(*)"
],
"Shared Hit Blocks": 144,
"Shared Read Blocks": 404,
"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": 16589.65,
"Total Cost": 16589.86,
"Plan Rows": 2,
"Plan Width": 8,
"Actual Startup Time": 18.075,
"Actual Total Time": 31.663,
"Actual Rows": 3,
"Actual Loops": 1,
"Disabled": false,
"Output": [
"(PARTIAL count(*))"
],
"Workers Planned": 2,
"Workers Launched": 2,
"Single Copy": false,
"Shared Hit Blocks": 144,
"Shared Read Blocks": 404,
"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": 15589.65,
"Total Cost": 15589.66,
"Plan Rows": 1,
"Plan Width": 8,
"Actual Startup Time": 5.931,
"Actual Total Time": 5.931,
"Actual Rows": 1,
"Actual Loops": 3,
"Disabled": false,
"Output": [
"PARTIAL count(*)"
],
"Shared Hit Blocks": 144,
"Shared Read Blocks": 404,
"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.004,
"Actual Total Time": 0.004,
"Actual Rows": 1,
"Actual Loops": 1,
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"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.005,
"Actual Total Time": 0.005,
"Actual Rows": 1,
"Actual Loops": 1,
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"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": 15383.19,
"Plan Rows": 82585,
"Plan Width": 0,
"Actual Startup Time": 0.026,
"Actual Total Time": 3.911,
"Actual Rows": 63201.33,
"Actual Loops": 3,
"Disabled": false,
"Output": [
"source_dataset_key"
],
"Index Cond": "(invima_api_catalog.source_dataset_key = 'dispositivos'::text)",
"Rows Removed by Index Recheck": 0,
"Heap Fetches": 356,
"Index Searches": 1,
"Shared Hit Blocks": 144,
"Shared Read Blocks": 404,
"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.001,
"Actual Total Time": 0.001,
"Actual Rows": 0,
"Actual Loops": 1,
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"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.002,
"Actual Total Time": 0.002,
"Actual Rows": 0,
"Actual Loops": 1,
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"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": 2,
"Shared Read Blocks": 0,
"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": 0.141,
"Triggers": [],
"Execution Time": 31.697
}
}