224 lines
6.1 KiB
JSON
224 lines
6.1 KiB
JSON
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 131.66,
|
|
"Total Cost": 149.25,
|
|
"Plan Rows": 25,
|
|
"Plan Width": 596,
|
|
"Actual Startup Time": 0.796,
|
|
"Actual Total Time": 0.799,
|
|
"Actual Rows": 25,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Output": [
|
|
"source_dataset_key",
|
|
"source_dataset_id",
|
|
"source_dataset_name",
|
|
"categoria_linea",
|
|
"categoria_canonica",
|
|
"categoria_slug",
|
|
"expediente",
|
|
"registro_sanitario",
|
|
"producto",
|
|
"titular",
|
|
"estado_registro",
|
|
"fecha_expedicion",
|
|
"fecha_vencimiento",
|
|
"modalidad",
|
|
"grupo",
|
|
"marca",
|
|
"principio_activo",
|
|
"forma_farmaceutica",
|
|
"presentacion_comercial",
|
|
"atc",
|
|
"rol_nombre",
|
|
"rol_tipo",
|
|
"ciudad_titular",
|
|
"pais_titular",
|
|
"fabricante",
|
|
"importador",
|
|
"vigencia",
|
|
"source_uid"
|
|
],
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 19,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Incremental Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 131.66,
|
|
"Total Cost": 990671.44,
|
|
"Plan Rows": 1407694,
|
|
"Plan Width": 596,
|
|
"Actual Startup Time": 0.794,
|
|
"Actual Total Time": 0.795,
|
|
"Actual Rows": 25,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Output": [
|
|
"source_dataset_key",
|
|
"source_dataset_id",
|
|
"source_dataset_name",
|
|
"categoria_linea",
|
|
"categoria_canonica",
|
|
"categoria_slug",
|
|
"expediente",
|
|
"registro_sanitario",
|
|
"producto",
|
|
"titular",
|
|
"estado_registro",
|
|
"fecha_expedicion",
|
|
"fecha_vencimiento",
|
|
"modalidad",
|
|
"grupo",
|
|
"marca",
|
|
"principio_activo",
|
|
"forma_farmaceutica",
|
|
"presentacion_comercial",
|
|
"atc",
|
|
"rol_nombre",
|
|
"rol_tipo",
|
|
"ciudad_titular",
|
|
"pais_titular",
|
|
"fabricante",
|
|
"importador",
|
|
"vigencia",
|
|
"source_uid"
|
|
],
|
|
"Sort Key": [
|
|
"invima_api_catalog.fecha_vencimiento DESC NULLS LAST",
|
|
"invima_api_catalog.producto",
|
|
"invima_api_catalog.source_dataset_key",
|
|
"invima_api_catalog.source_uid"
|
|
],
|
|
"Presorted Key": [
|
|
"invima_api_catalog.fecha_vencimiento"
|
|
],
|
|
"Full-sort Groups": {
|
|
"Group Count": 1,
|
|
"Sort Methods Used": [
|
|
"quicksort"
|
|
],
|
|
"Sort Space Memory": {
|
|
"Average Sort Space Used": 38,
|
|
"Peak Sort Space Used": 38
|
|
}
|
|
},
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 19,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "idx_query02_catalog_vencimiento_desc_nullslast",
|
|
"Relation Name": "invima_api_catalog",
|
|
"Schema": "public",
|
|
"Alias": "invima_api_catalog",
|
|
"Startup Cost": 0.43,
|
|
"Total Cost": 933202.87,
|
|
"Plan Rows": 1407694,
|
|
"Plan Width": 596,
|
|
"Actual Startup Time": 0.07,
|
|
"Actual Total Time": 0.233,
|
|
"Actual Rows": 27,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Output": [
|
|
"source_dataset_key",
|
|
"source_dataset_id",
|
|
"source_dataset_name",
|
|
"categoria_linea",
|
|
"categoria_canonica",
|
|
"categoria_slug",
|
|
"expediente",
|
|
"registro_sanitario",
|
|
"producto",
|
|
"titular",
|
|
"estado_registro",
|
|
"fecha_expedicion",
|
|
"fecha_vencimiento",
|
|
"modalidad",
|
|
"grupo",
|
|
"marca",
|
|
"principio_activo",
|
|
"forma_farmaceutica",
|
|
"presentacion_comercial",
|
|
"atc",
|
|
"rol_nombre",
|
|
"rol_tipo",
|
|
"ciudad_titular",
|
|
"pais_titular",
|
|
"fabricante",
|
|
"importador",
|
|
"vigencia",
|
|
"source_uid"
|
|
],
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 15,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Settings": {},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 444,
|
|
"Shared Read Blocks": 13,
|
|
"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": 7.893,
|
|
"Triggers": [],
|
|
"Execution Time": 0.835
|
|
}
|