{ "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 250239.12, "Total Cost": 250242.04, "Plan Rows": 25, "Plan Width": 596, "Actual Startup Time": 2373.814, "Actual Total Time": 2380.102, "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": 15880, "Shared Read Blocks": 211027, "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": 596, "Actual Startup Time": 2373.812, "Actual Total Time": 2380.098, "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" ], "Workers Planned": 2, "Workers Launched": 2, "Shared Hit Blocks": 15880, "Shared Read Blocks": 211027, "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": 596, "Actual Startup Time": 2351.009, "Actual Total Time": 2351.01, "Actual Rows": 18.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", "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" ], "Sort Method": "top-N heapsort", "Sort Space Used": 44, "Sort Space Type": "Memory", "Shared Hit Blocks": 15880, "Shared Read Blocks": 211027, "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": 2338.253, "Actual Total Time": 2338.255, "Actual Rows": 25, "Actual Loops": 1, "Sort Method": "top-N heapsort", "Sort Space Used": 43, "Sort Space Type": "Memory", "Shared Hit Blocks": 4972, "Shared Read Blocks": 69947, "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": 2341.368, "Actual Total Time": 2341.37, "Actual Rows": 25, "Actual Loops": 1, "Sort Method": "top-N heapsort", "Sort Space Used": 46, "Sort Space Type": "Memory", "Shared Hit Blocks": 5241, "Shared Read Blocks": 69930, "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": 596, "Actual Startup Time": 1.874, "Actual Total Time": 2150.182, "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", "source_uid" ], "Shared Hit Blocks": 15788, "Shared Read Blocks": 211027, "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": 1.739, "Actual Total Time": 2139.648, "Actual Rows": 464432, "Actual Loops": 1, "Shared Hit Blocks": 4926, "Shared Read Blocks": 69947, "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": 2.432, "Actual Total Time": 2141.502, "Actual Rows": 465725, "Actual Loops": 1, "Shared Hit Blocks": 5195, "Shared Read Blocks": 69930, "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": { "enable_indexscan": "off", "enable_indexonlyscan": "off", "enable_bitmapscan": "off" }, "Planning": { "Shared Hit Blocks": 451, "Shared Read Blocks": 6, "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.218, "Triggers": [], "Execution Time": 2380.218 }