{ "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 250239.12, "Total Cost": 250242.04, "Plan Rows": 25, "Plan Width": 555, "Actual Startup Time": 2478.42, "Actual Total Time": 2484.183, "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" ], "Shared Hit Blocks": 12278, "Shared Read Blocks": 214632, "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": "Gather Merge", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 250239.12, "Total Cost": 414188.29, "Plan Rows": 1407694, "Plan Width": 555, "Actual Startup Time": 2478.417, "Actual Total Time": 2484.178, "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" ], "Workers Planned": 2, "Workers Launched": 2, "Shared Hit Blocks": 12278, "Shared Read Blocks": 214632, "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": "Sort", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 249239.1, "Total Cost": 250705.45, "Plan Rows": 586539, "Plan Width": 555, "Actual Startup Time": 2451.835, "Actual Total Time": 2451.836, "Actual Rows": 22, "Actual Loops": 3, "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" ], "Sort Key": [ "invima_api_catalog.fecha_vencimiento DESC NULLS LAST", "invima_api_catalog.producto" ], "Sort Method": "top-N heapsort", "Sort Space Used": 39, "Sort Space Type": "Memory", "Shared Hit Blocks": 12278, "Shared Read Blocks": 214632, "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, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 2437.598, "Actual Total Time": 2437.6, "Actual Rows": 25, "Actual Loops": 1, "Sort Method": "top-N heapsort", "Sort Space Used": 48, "Sort Space Type": "Memory", "Shared Hit Blocks": 4237, "Shared Read Blocks": 70056, "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 }, { "Worker Number": 1, "Actual Startup Time": 2439.881, "Actual Total Time": 2439.882, "Actual Rows": 25, "Actual Loops": 1, "Sort Method": "top-N heapsort", "Sort Space Used": 46, "Sort Space Type": "Memory", "Shared Hit Blocks": 3901, "Shared Read Blocks": 70224, "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": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Relation Name": "invima_api_catalog", "Schema": "public", "Alias": "invima_api_catalog", "Startup Cost": 0, "Total Cost": 232687.39, "Plan Rows": 586539, "Plan Width": 555, "Actual Startup Time": 1.687, "Actual Total Time": 2272.329, "Actual Rows": 469231.33, "Actual Loops": 3, "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" ], "Shared Hit Blocks": 12186, "Shared Read Blocks": 214632, "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, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 2.299, "Actual Total Time": 2264.381, "Actual Rows": 458894, "Actual Loops": 1, "Shared Hit Blocks": 4191, "Shared Read Blocks": 70056, "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 }, { "Worker Number": 1, "Actual Startup Time": 0.874, "Actual Total Time": 2262.789, "Actual Rows": 458566, "Actual Loops": 1, "Shared Hit Blocks": 3855, "Shared Read Blocks": 70224, "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": 409, "Shared Read Blocks": 30, "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.495, "Triggers": [], "Execution Time": 2484.294 }