Advertisement
Guest User

Untitled

a guest
May 1st, 2020
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 132.82 KB | None | 0 0
  1. [
  2.   {
  3.     "Plan": {
  4.       "Node Type": "Unique",
  5.       "Parallel Aware": false,
  6.       "Startup Cost": 23303.96,
  7.       "Total Cost": 23841.31,
  8.       "Plan Rows": 4885,
  9.       "Plan Width": 300,
  10.       "Actual Startup Time": 308.570,
  11.       "Actual Total Time": 319.424,
  12.       "Actual Rows": 9378,
  13.       "Actual Loops": 1,
  14.       "Output": ["phdrug_phdrug.id", "phdrug_phdrug.uuid", "phdrug_phdrug.default_description", "phdrug_phdrug.alternative_description", "phdrug_phdrug.ean", "phdrug_phdrug.mirror_ean", "phdrug_phdrug.parent_ean", "phdrug_phdrug.reg_num", "phdrug_phdrug.medika_code", "phdrug_phdrug.atc_iv", "phdrug_phdrug.product_type", "phdrug_phdrug.fraction", "phdrug_phdrug.active", "phdrug_phdrug.loyal", "phdrug_phdrug.patent", "phdrug_phdrug.chronics", "phdrug_phdrug.recipe", "phdrug_phdrug.deal", "phdrug_phdrug.specialized", "phdrug_phdrug.armored", "phdrug_phdrug.top_hight_speciality", "phdrug_phdrug.top_generic", "phdrug_phdrug.hight_speciality", "phdrug_phdrug.temp_8_15", "phdrug_phdrug.temp_15_25", "phdrug_phdrug.temp_2_8", "phdrug_phdrug.temp_less_15", "phdrug_phdrug.new", "phdrug_phdrug.mdk_internal_code", "phdrug_phdrug.mdk_single_id", "phdrug_phdrug.mdk_object_id", "phdrug_phdrug.is_from_mdk_db", "phdrug_phdrug.top", "phdrug_phdrug.laboratory_name", "phdrug_phdrug.laboratory_alternative_name", "phdrug_phdrug.imported", "phdrug_phdrug.imported_country", "phdrug_phdrug.laboratory_id", "phdrug_phdrug.specialty", "phdrug_phdrug.dimension_id", "phdrug_phdrug.featured", "phdrug_phdrug.top_ae_rank", "phdrug_phdrug.top_farma_rank"],
  15.       "Shared Hit Blocks": 57130,
  16.       "Shared Read Blocks": 0,
  17.       "Shared Dirtied Blocks": 0,
  18.       "Shared Written Blocks": 0,
  19.       "Local Hit Blocks": 0,
  20.       "Local Read Blocks": 0,
  21.       "Local Dirtied Blocks": 0,
  22.       "Local Written Blocks": 0,
  23.       "Temp Read Blocks": 0,
  24.       "Temp Written Blocks": 0,
  25.       "Plans": [
  26.         {
  27.           "Node Type": "Sort",
  28.           "Parent Relationship": "Outer",
  29.           "Parallel Aware": false,
  30.           "Startup Cost": 23303.96,
  31.           "Total Cost": 23316.17,
  32.           "Plan Rows": 4885,
  33.           "Plan Width": 300,
  34.           "Actual Startup Time": 308.568,
  35.           "Actual Total Time": 309.748,
  36.           "Actual Rows": 9564,
  37.           "Actual Loops": 1,
  38.           "Output": ["phdrug_phdrug.id", "phdrug_phdrug.uuid", "phdrug_phdrug.default_description", "phdrug_phdrug.alternative_description", "phdrug_phdrug.ean", "phdrug_phdrug.mirror_ean", "phdrug_phdrug.parent_ean", "phdrug_phdrug.reg_num", "phdrug_phdrug.medika_code", "phdrug_phdrug.atc_iv", "phdrug_phdrug.product_type", "phdrug_phdrug.fraction", "phdrug_phdrug.active", "phdrug_phdrug.loyal", "phdrug_phdrug.patent", "phdrug_phdrug.chronics", "phdrug_phdrug.recipe", "phdrug_phdrug.deal", "phdrug_phdrug.specialized", "phdrug_phdrug.armored", "phdrug_phdrug.top_hight_speciality", "phdrug_phdrug.top_generic", "phdrug_phdrug.hight_speciality", "phdrug_phdrug.temp_8_15", "phdrug_phdrug.temp_15_25", "phdrug_phdrug.temp_2_8", "phdrug_phdrug.temp_less_15", "phdrug_phdrug.new", "phdrug_phdrug.mdk_internal_code", "phdrug_phdrug.mdk_single_id", "phdrug_phdrug.mdk_object_id", "phdrug_phdrug.is_from_mdk_db", "phdrug_phdrug.top", "phdrug_phdrug.laboratory_name", "phdrug_phdrug.laboratory_alternative_name", "phdrug_phdrug.imported", "phdrug_phdrug.imported_country", "phdrug_phdrug.laboratory_id", "phdrug_phdrug.specialty", "phdrug_phdrug.dimension_id", "phdrug_phdrug.featured", "phdrug_phdrug.top_ae_rank", "phdrug_phdrug.top_farma_rank"],
  39.           "Sort Key": ["phdrug_phdrug.id", "phdrug_phdrug.default_description", "phdrug_phdrug.uuid", "phdrug_phdrug.alternative_description", "phdrug_phdrug.ean", "phdrug_phdrug.mirror_ean", "phdrug_phdrug.parent_ean", "phdrug_phdrug.reg_num", "phdrug_phdrug.medika_code", "phdrug_phdrug.atc_iv", "phdrug_phdrug.product_type", "phdrug_phdrug.fraction", "phdrug_phdrug.active", "phdrug_phdrug.loyal", "phdrug_phdrug.patent", "phdrug_phdrug.chronics", "phdrug_phdrug.recipe", "phdrug_phdrug.deal", "phdrug_phdrug.specialized", "phdrug_phdrug.armored", "phdrug_phdrug.top_hight_speciality", "phdrug_phdrug.top_generic", "phdrug_phdrug.hight_speciality", "phdrug_phdrug.temp_8_15", "phdrug_phdrug.temp_15_25", "phdrug_phdrug.temp_2_8", "phdrug_phdrug.temp_less_15", "phdrug_phdrug.new", "phdrug_phdrug.mdk_internal_code", "phdrug_phdrug.mdk_single_id", "phdrug_phdrug.mdk_object_id", "phdrug_phdrug.is_from_mdk_db", "phdrug_phdrug.top", "phdrug_phdrug.laboratory_name", "phdrug_phdrug.laboratory_alternative_name", "phdrug_phdrug.imported", "phdrug_phdrug.imported_country", "phdrug_phdrug.laboratory_id", "phdrug_phdrug.specialty", "phdrug_phdrug.dimension_id", "phdrug_phdrug.featured", "phdrug_phdrug.top_ae_rank", "phdrug_phdrug.top_farma_rank"],
  40.           "Sort Method": "quicksort",
  41.           "Sort Space Used": 2959,
  42.           "Sort Space Type": "Memory",
  43.           "Shared Hit Blocks": 57130,
  44.           "Shared Read Blocks": 0,
  45.           "Shared Dirtied Blocks": 0,
  46.           "Shared Written Blocks": 0,
  47.           "Local Hit Blocks": 0,
  48.           "Local Read Blocks": 0,
  49.           "Local Dirtied Blocks": 0,
  50.           "Local Written Blocks": 0,
  51.           "Temp Read Blocks": 0,
  52.           "Temp Written Blocks": 0,
  53.           "Plans": [
  54.             {
  55.               "Node Type": "Hash Join",
  56.               "Parent Relationship": "Outer",
  57.               "Parallel Aware": false,
  58.               "Join Type": "Inner",
  59.               "Startup Cost": 21789.58,
  60.               "Total Cost": 23004.65,
  61.               "Plan Rows": 4885,
  62.               "Plan Width": 300,
  63.               "Actual Startup Time": 266.604,
  64.               "Actual Total Time": 294.714,
  65.               "Actual Rows": 9564,
  66.               "Actual Loops": 1,
  67.               "Output": ["phdrug_phdrug.id", "phdrug_phdrug.uuid", "phdrug_phdrug.default_description", "phdrug_phdrug.alternative_description", "phdrug_phdrug.ean", "phdrug_phdrug.mirror_ean", "phdrug_phdrug.parent_ean", "phdrug_phdrug.reg_num", "phdrug_phdrug.medika_code", "phdrug_phdrug.atc_iv", "phdrug_phdrug.product_type", "phdrug_phdrug.fraction", "phdrug_phdrug.active", "phdrug_phdrug.loyal", "phdrug_phdrug.patent", "phdrug_phdrug.chronics", "phdrug_phdrug.recipe", "phdrug_phdrug.deal", "phdrug_phdrug.specialized", "phdrug_phdrug.armored", "phdrug_phdrug.top_hight_speciality", "phdrug_phdrug.top_generic", "phdrug_phdrug.hight_speciality", "phdrug_phdrug.temp_8_15", "phdrug_phdrug.temp_15_25", "phdrug_phdrug.temp_2_8", "phdrug_phdrug.temp_less_15", "phdrug_phdrug.new", "phdrug_phdrug.mdk_internal_code", "phdrug_phdrug.mdk_single_id", "phdrug_phdrug.mdk_object_id", "phdrug_phdrug.is_from_mdk_db", "phdrug_phdrug.top", "phdrug_phdrug.laboratory_name", "phdrug_phdrug.laboratory_alternative_name", "phdrug_phdrug.imported", "phdrug_phdrug.imported_country", "phdrug_phdrug.laboratory_id", "phdrug_phdrug.specialty", "phdrug_phdrug.dimension_id", "phdrug_phdrug.featured", "phdrug_phdrug.top_ae_rank", "phdrug_phdrug.top_farma_rank"],
  68.               "Inner Unique": false,
  69.               "Hash Cond": "(phdrug_phdrug.id = phdrug_phdrugpicture.drug_id)",
  70.               "Shared Hit Blocks": 57130,
  71.               "Shared Read Blocks": 0,
  72.               "Shared Dirtied Blocks": 0,
  73.               "Shared Written Blocks": 0,
  74.               "Local Hit Blocks": 0,
  75.               "Local Read Blocks": 0,
  76.               "Local Dirtied Blocks": 0,
  77.               "Local Written Blocks": 0,
  78.               "Temp Read Blocks": 0,
  79.               "Temp Written Blocks": 0,
  80.               "Plans": [
  81.                 {
  82.                   "Node Type": "Hash Join",
  83.                   "Parent Relationship": "Outer",
  84.                   "Parallel Aware": false,
  85.                   "Join Type": "Inner",
  86.                   "Startup Cost": 21285.56,
  87.                   "Total Cost": 22364.48,
  88.                   "Plan Rows": 7760,
  89.                   "Plan Width": 304,
  90.                   "Actual Startup Time": 259.750,
  91.                   "Actual Total Time": 281.295,
  92.                   "Actual Rows": 10260,
  93.                   "Actual Loops": 1,
  94.                   "Output": ["monetary_drugprice.drug_id", "phdrug_phdrug.id", "phdrug_phdrug.uuid", "phdrug_phdrug.default_description", "phdrug_phdrug.alternative_description", "phdrug_phdrug.ean", "phdrug_phdrug.mirror_ean", "phdrug_phdrug.parent_ean", "phdrug_phdrug.reg_num", "phdrug_phdrug.medika_code", "phdrug_phdrug.atc_iv", "phdrug_phdrug.product_type", "phdrug_phdrug.fraction", "phdrug_phdrug.active", "phdrug_phdrug.loyal", "phdrug_phdrug.patent", "phdrug_phdrug.chronics", "phdrug_phdrug.recipe", "phdrug_phdrug.deal", "phdrug_phdrug.specialized", "phdrug_phdrug.armored", "phdrug_phdrug.top_hight_speciality", "phdrug_phdrug.top_generic", "phdrug_phdrug.hight_speciality", "phdrug_phdrug.temp_8_15", "phdrug_phdrug.temp_15_25", "phdrug_phdrug.temp_2_8", "phdrug_phdrug.temp_less_15", "phdrug_phdrug.new", "phdrug_phdrug.mdk_internal_code", "phdrug_phdrug.mdk_single_id", "phdrug_phdrug.mdk_object_id", "phdrug_phdrug.is_from_mdk_db", "phdrug_phdrug.top", "phdrug_phdrug.laboratory_name", "phdrug_phdrug.laboratory_alternative_name", "phdrug_phdrug.imported", "phdrug_phdrug.imported_country", "phdrug_phdrug.laboratory_id", "phdrug_phdrug.specialty", "phdrug_phdrug.dimension_id", "phdrug_phdrug.featured", "phdrug_phdrug.top_ae_rank", "phdrug_phdrug.top_farma_rank"],
  95.                   "Inner Unique": false,
  96.                   "Hash Cond": "(phdrug_phdrug.id = monetary_drugprice.drug_id)",
  97.                   "Shared Hit Blocks": 56939,
  98.                   "Shared Read Blocks": 0,
  99.                   "Shared Dirtied Blocks": 0,
  100.                   "Shared Written Blocks": 0,
  101.                   "Local Hit Blocks": 0,
  102.                   "Local Read Blocks": 0,
  103.                   "Local Dirtied Blocks": 0,
  104.                   "Local Written Blocks": 0,
  105.                   "Temp Read Blocks": 0,
  106.                   "Temp Written Blocks": 0,
  107.                   "Plans": [
  108.                     {
  109.                       "Node Type": "Seq Scan",
  110.                       "Parent Relationship": "Outer",
  111.                       "Parallel Aware": false,
  112.                       "Relation Name": "phdrug_phdrug",
  113.                       "Schema": "public",
  114.                       "Alias": "phdrug_phdrug",
  115.                       "Startup Cost": 0.00,
  116.                       "Total Cost": 812.18,
  117.                       "Plan Rows": 21616,
  118.                       "Plan Width": 300,
  119.                       "Actual Startup Time": 0.559,
  120.                       "Actual Total Time": 13.736,
  121.                       "Actual Rows": 21616,
  122.                       "Actual Loops": 1,
  123.                       "Output": ["phdrug_phdrug.id", "phdrug_phdrug.uuid", "phdrug_phdrug.default_description", "phdrug_phdrug.alternative_description", "phdrug_phdrug.ean", "phdrug_phdrug.mirror_ean", "phdrug_phdrug.parent_ean", "phdrug_phdrug.reg_num", "phdrug_phdrug.medika_code", "phdrug_phdrug.atc_iv", "phdrug_phdrug.product_type", "phdrug_phdrug.fraction", "phdrug_phdrug.active", "phdrug_phdrug.loyal", "phdrug_phdrug.patent", "phdrug_phdrug.chronics", "phdrug_phdrug.recipe", "phdrug_phdrug.deal", "phdrug_phdrug.specialized", "phdrug_phdrug.armored", "phdrug_phdrug.top_hight_speciality", "phdrug_phdrug.top_generic", "phdrug_phdrug.hight_speciality", "phdrug_phdrug.temp_8_15", "phdrug_phdrug.temp_15_25", "phdrug_phdrug.temp_2_8", "phdrug_phdrug.temp_less_15", "phdrug_phdrug.new", "phdrug_phdrug.mdk_internal_code", "phdrug_phdrug.mdk_single_id", "phdrug_phdrug.mdk_object_id", "phdrug_phdrug.is_from_mdk_db", "phdrug_phdrug.top", "phdrug_phdrug.laboratory_name", "phdrug_phdrug.laboratory_alternative_name", "phdrug_phdrug.imported", "phdrug_phdrug.imported_country", "phdrug_phdrug.laboratory_id", "phdrug_phdrug.specialty", "phdrug_phdrug.dimension_id", "phdrug_phdrug.featured", "phdrug_phdrug.top_ae_rank", "phdrug_phdrug.top_farma_rank"],
  124.                       "Filter": "phdrug_phdrug.active",
  125.                       "Rows Removed by Filter": 2,
  126.                       "Shared Hit Blocks": 596,
  127.                       "Shared Read Blocks": 0,
  128.                       "Shared Dirtied Blocks": 0,
  129.                       "Shared Written Blocks": 0,
  130.                       "Local Hit Blocks": 0,
  131.                       "Local Read Blocks": 0,
  132.                       "Local Dirtied Blocks": 0,
  133.                       "Local Written Blocks": 0,
  134.                       "Temp Read Blocks": 0,
  135.                       "Temp Written Blocks": 0
  136.                     },
  137.                     {
  138.                       "Node Type": "Hash",
  139.                       "Parent Relationship": "Inner",
  140.                       "Parallel Aware": false,
  141.                       "Startup Cost": 21187.67,
  142.                       "Total Cost": 21187.67,
  143.                       "Plan Rows": 7831,
  144.                       "Plan Width": 4,
  145.                       "Actual Startup Time": 259.108,
  146.                       "Actual Total Time": 259.108,
  147.                       "Actual Rows": 10260,
  148.                       "Actual Loops": 1,
  149.                       "Output": ["monetary_drugprice.drug_id"],
  150.                       "Hash Buckets": 16384,
  151.                       "Original Hash Buckets": 8192,
  152.                       "Hash Batches": 1,
  153.                       "Original Hash Batches": 1,
  154.                       "Peak Memory Usage": 489,
  155.                       "Shared Hit Blocks": 56343,
  156.                       "Shared Read Blocks": 0,
  157.                       "Shared Dirtied Blocks": 0,
  158.                       "Shared Written Blocks": 0,
  159.                       "Local Hit Blocks": 0,
  160.                       "Local Read Blocks": 0,
  161.                       "Local Dirtied Blocks": 0,
  162.                       "Local Written Blocks": 0,
  163.                       "Temp Read Blocks": 0,
  164.                       "Temp Written Blocks": 0,
  165.                       "Plans": [
  166.                         {
  167.                           "Node Type": "Nested Loop",
  168.                           "Parent Relationship": "Outer",
  169.                           "Parallel Aware": false,
  170.                           "Join Type": "Inner",
  171.                           "Startup Cost": 16592.44,
  172.                           "Total Cost": 21187.67,
  173.                           "Plan Rows": 7831,
  174.                           "Plan Width": 4,
  175.                           "Actual Startup Time": 219.168,
  176.                           "Actual Total Time": 255.916,
  177.                           "Actual Rows": 10260,
  178.                           "Actual Loops": 1,
  179.                           "Output": ["monetary_drugprice.drug_id"],
  180.                           "Inner Unique": true,
  181.                           "Shared Hit Blocks": 56343,
  182.                           "Shared Read Blocks": 0,
  183.                           "Shared Dirtied Blocks": 0,
  184.                           "Shared Written Blocks": 0,
  185.                           "Local Hit Blocks": 0,
  186.                           "Local Read Blocks": 0,
  187.                           "Local Dirtied Blocks": 0,
  188.                           "Local Written Blocks": 0,
  189.                           "Temp Read Blocks": 0,
  190.                           "Temp Written Blocks": 0,
  191.                           "Plans": [
  192.                             {
  193.                               "Node Type": "Aggregate",
  194.                               "Strategy": "Hashed",
  195.                               "Partial Mode": "Simple",
  196.                               "Parent Relationship": "Outer",
  197.                               "Parallel Aware": false,
  198.                               "Startup Cost": 16592.02,
  199.                               "Total Cost": 16670.33,
  200.                               "Plan Rows": 7831,
  201.                               "Plan Width": 4,
  202.                               "Actual Startup Time": 219.142,
  203.                               "Actual Total Time": 222.492,
  204.                               "Actual Rows": 10260,
  205.                               "Actual Loops": 1,
  206.                               "Output": ["v0.id"],
  207.                               "Group Key": ["v0.id"],
  208.                               "Shared Hit Blocks": 15276,
  209.                               "Shared Read Blocks": 0,
  210.                               "Shared Dirtied Blocks": 0,
  211.                               "Shared Written Blocks": 0,
  212.                               "Local Hit Blocks": 0,
  213.                               "Local Read Blocks": 0,
  214.                               "Local Dirtied Blocks": 0,
  215.                               "Local Written Blocks": 0,
  216.                               "Temp Read Blocks": 0,
  217.                               "Temp Written Blocks": 0,
  218.                               "Plans": [
  219.                                 {
  220.                                   "Node Type": "Gather",
  221.                                   "Parent Relationship": "Outer",
  222.                                   "Parallel Aware": false,
  223.                                   "Startup Cost": 1051.99,
  224.                                   "Total Cost": 16572.44,
  225.                                   "Plan Rows": 7831,
  226.                                   "Plan Width": 4,
  227.                                   "Actual Startup Time": 23.276,
  228.                                   "Actual Total Time": 210.572,
  229.                                   "Actual Rows": 10260,
  230.                                   "Actual Loops": 1,
  231.                                   "Output": ["v0.id"],
  232.                                   "Workers Planned": 2,
  233.                                   "Workers Launched": 2,
  234.                                   "Single Copy": false,
  235.                                   "Shared Hit Blocks": 15276,
  236.                                   "Shared Read Blocks": 0,
  237.                                   "Shared Dirtied Blocks": 0,
  238.                                   "Shared Written Blocks": 0,
  239.                                   "Local Hit Blocks": 0,
  240.                                   "Local Read Blocks": 0,
  241.                                   "Local Dirtied Blocks": 0,
  242.                                   "Local Written Blocks": 0,
  243.                                   "Temp Read Blocks": 0,
  244.                                   "Temp Written Blocks": 0,
  245.                                   "Plans": [
  246.                                     {
  247.                                       "Node Type": "Hash Join",
  248.                                       "Parent Relationship": "Outer",
  249.                                       "Parallel Aware": false,
  250.                                       "Join Type": "Inner",
  251.                                       "Startup Cost": 51.99,
  252.                                       "Total Cost": 14789.34,
  253.                                       "Plan Rows": 3263,
  254.                                       "Plan Width": 4,
  255.                                       "Actual Startup Time": 12.931,
  256.                                       "Actual Total Time": 119.657,
  257.                                       "Actual Rows": 3420,
  258.                                       "Actual Loops": 3,
  259.                                       "Output": ["v0.id"],
  260.                                       "Inner Unique": true,
  261.                                       "Hash Cond": "(v0.pricelist_id = u0.id)",
  262.                                       "Shared Hit Blocks": 15276,
  263.                                       "Shared Read Blocks": 0,
  264.                                       "Shared Dirtied Blocks": 0,
  265.                                       "Shared Written Blocks": 0,
  266.                                       "Local Hit Blocks": 0,
  267.                                       "Local Read Blocks": 0,
  268.                                       "Local Dirtied Blocks": 0,
  269.                                       "Local Written Blocks": 0,
  270.                                       "Temp Read Blocks": 0,
  271.                                       "Temp Written Blocks": 0,
  272.                                       "Workers": [
  273.                                         {
  274.                                           "Worker Number": 0,
  275.                                           "Actual Startup Time": 6.093,
  276.                                           "Actual Total Time": 78.364,
  277.                                           "Actual Rows": 2137,
  278.                                           "Actual Loops": 1,
  279.                                           "Shared Hit Blocks": 2910,
  280.                                           "Shared Read Blocks": 0,
  281.                                           "Shared Dirtied Blocks": 0,
  282.                                           "Shared Written Blocks": 0,
  283.                                           "Local Hit Blocks": 0,
  284.                                           "Local Read Blocks": 0,
  285.                                           "Local Dirtied Blocks": 0,
  286.                                           "Local Written Blocks": 0,
  287.                                           "Temp Read Blocks": 0,
  288.                                           "Temp Written Blocks": 0
  289.                                         },
  290.                                         {
  291.                                           "Worker Number": 1,
  292.                                           "Actual Startup Time": 14.250,
  293.                                           "Actual Total Time": 79.606,
  294.                                           "Actual Rows": 883,
  295.                                           "Actual Loops": 1,
  296.                                           "Shared Hit Blocks": 2584,
  297.                                           "Shared Read Blocks": 0,
  298.                                           "Shared Dirtied Blocks": 0,
  299.                                           "Shared Written Blocks": 0,
  300.                                           "Local Hit Blocks": 0,
  301.                                           "Local Read Blocks": 0,
  302.                                           "Local Dirtied Blocks": 0,
  303.                                           "Local Written Blocks": 0,
  304.                                           "Temp Read Blocks": 0,
  305.                                           "Temp Written Blocks": 0
  306.                                         }
  307.                                       ],
  308.                                       "Plans": [
  309.                                         {
  310.                                           "Node Type": "Seq Scan",
  311.                                           "Parent Relationship": "Outer",
  312.                                           "Parallel Aware": true,
  313.                                           "Relation Name": "monetary_drugprice",
  314.                                           "Schema": "public",
  315.                                           "Alias": "v0",
  316.                                           "Startup Cost": 0.00,
  317.                                           "Total Cost": 14307.49,
  318.                                           "Plan Rows": 159145,
  319.                                           "Plan Width": 8,
  320.                                           "Actual Startup Time": 0.013,
  321.                                           "Actual Total Time": 80.031,
  322.                                           "Actual Rows": 127415,
  323.                                           "Actual Loops": 3,
  324.                                           "Output": ["v0.id", "v0.mdk_object_id", "v0.is_from_mdk_db", "v0.pvp_currency", "v0.pvp", "v0.pharmacy_price_currency", "v0.pharmacy_price", "v0.base_currency", "v0.base", "v0.no_tax_price_currency", "v0.no_tax_price", "v0.system_no_tax_price_currency", "v0.system_no_tax_price", "v0.all_included_price_currency", "v0.all_included_price", "v0.system_all_included_price_currency", "v0.system_all_included_price", "v0.margin", "v0.stock", "v0.drug_id", "v0.pricelist_id", "v0.uuid", "v0.offer", "v0.mdk_pricing_id", "v0.system_all_included_price_rate", "v0.system_no_tax_price_rate", "v0.all_included_price_before", "v0.all_included_price_before_currency", "v0.no_tax_price_before", "v0.no_tax_price_before_currency", "v0.system_all_included_price_before", "v0.system_all_included_price_before_currency", "v0.system_all_included_price_before_rate", "v0.system_no_tax_price_before", "v0.system_no_tax_price_before_currency", "v0.system_no_tax_price_before_rate", "v0.calculated_base", "v0.calculated_base_currency", "v0.system_calculated_base", "v0.system_calculated_base_currency", "v0.system_calculated_base_rate"],
  325.                                           "Filter": "(v0.stock > 0)",
  326.                                           "Rows Removed by Filter": 1064,
  327.                                           "Shared Hit Blocks": 12300,
  328.                                           "Shared Read Blocks": 0,
  329.                                           "Shared Dirtied Blocks": 0,
  330.                                           "Shared Written Blocks": 0,
  331.                                           "Local Hit Blocks": 0,
  332.                                           "Local Read Blocks": 0,
  333.                                           "Local Dirtied Blocks": 0,
  334.                                           "Local Written Blocks": 0,
  335.                                           "Temp Read Blocks": 0,
  336.                                           "Temp Written Blocks": 0,
  337.                                           "Workers": [
  338.                                             {
  339.                                               "Worker Number": 0,
  340.                                               "Actual Startup Time": 0.016,
  341.                                               "Actual Total Time": 54.434,
  342.                                               "Actual Rows": 59112,
  343.                                               "Actual Loops": 1,
  344.                                               "Shared Hit Blocks": 1906,
  345.                                               "Shared Read Blocks": 0,
  346.                                               "Shared Dirtied Blocks": 0,
  347.                                               "Shared Written Blocks": 0,
  348.                                               "Local Hit Blocks": 0,
  349.                                               "Local Read Blocks": 0,
  350.                                               "Local Dirtied Blocks": 0,
  351.                                               "Local Written Blocks": 0,
  352.                                               "Temp Read Blocks": 0,
  353.                                               "Temp Written Blocks": 0
  354.                                             },
  355.                                             {
  356.                                               "Worker Number": 1,
  357.                                               "Actual Startup Time": 0.013,
  358.                                               "Actual Total Time": 57.795,
  359.                                               "Actual Rows": 48972,
  360.                                               "Actual Loops": 1,
  361.                                               "Shared Hit Blocks": 1580,
  362.                                               "Shared Read Blocks": 0,
  363.                                               "Shared Dirtied Blocks": 0,
  364.                                               "Shared Written Blocks": 0,
  365.                                               "Local Hit Blocks": 0,
  366.                                               "Local Read Blocks": 0,
  367.                                               "Local Dirtied Blocks": 0,
  368.                                               "Local Written Blocks": 0,
  369.                                               "Temp Read Blocks": 0,
  370.                                               "Temp Written Blocks": 0
  371.                                             }
  372.                                           ]
  373.                                         },
  374.                                         {
  375.                                           "Node Type": "Hash",
  376.                                           "Parent Relationship": "Inner",
  377.                                           "Parallel Aware": false,
  378.                                           "Startup Cost": 51.95,
  379.                                           "Total Cost": 51.95,
  380.                                           "Plan Rows": 3,
  381.                                           "Plan Width": 4,
  382.                                           "Actual Startup Time": 12.820,
  383.                                           "Actual Total Time": 12.820,
  384.                                           "Actual Rows": 6,
  385.                                           "Actual Loops": 3,
  386.                                           "Output": ["u0.id"],
  387.                                           "Hash Buckets": 1024,
  388.                                           "Original Hash Buckets": 1024,
  389.                                           "Hash Batches": 1,
  390.                                           "Original Hash Batches": 1,
  391.                                           "Peak Memory Usage": 9,
  392.                                           "Shared Hit Blocks": 2928,
  393.                                           "Shared Read Blocks": 0,
  394.                                           "Shared Dirtied Blocks": 0,
  395.                                           "Shared Written Blocks": 0,
  396.                                           "Local Hit Blocks": 0,
  397.                                           "Local Read Blocks": 0,
  398.                                           "Local Dirtied Blocks": 0,
  399.                                           "Local Written Blocks": 0,
  400.                                           "Temp Read Blocks": 0,
  401.                                           "Temp Written Blocks": 0,
  402.                                           "Workers": [
  403.                                             {
  404.                                               "Worker Number": 0,
  405.                                               "Actual Startup Time": 5.920,
  406.                                               "Actual Total Time": 5.920,
  407.                                               "Actual Rows": 6,
  408.                                               "Actual Loops": 1,
  409.                                               "Shared Hit Blocks": 980,
  410.                                               "Shared Read Blocks": 0,
  411.                                               "Shared Dirtied Blocks": 0,
  412.                                               "Shared Written Blocks": 0,
  413.                                               "Local Hit Blocks": 0,
  414.                                               "Local Read Blocks": 0,
  415.                                               "Local Dirtied Blocks": 0,
  416.                                               "Local Written Blocks": 0,
  417.                                               "Temp Read Blocks": 0,
  418.                                               "Temp Written Blocks": 0
  419.                                             },
  420.                                             {
  421.                                               "Worker Number": 1,
  422.                                               "Actual Startup Time": 14.114,
  423.                                               "Actual Total Time": 14.114,
  424.                                               "Actual Rows": 6,
  425.                                               "Actual Loops": 1,
  426.                                               "Shared Hit Blocks": 980,
  427.                                               "Shared Read Blocks": 0,
  428.                                               "Shared Dirtied Blocks": 0,
  429.                                               "Shared Written Blocks": 0,
  430.                                               "Local Hit Blocks": 0,
  431.                                               "Local Read Blocks": 0,
  432.                                               "Local Dirtied Blocks": 0,
  433.                                               "Local Written Blocks": 0,
  434.                                               "Temp Read Blocks": 0,
  435.                                               "Temp Written Blocks": 0
  436.                                             }
  437.                                           ],
  438.                                           "Plans": [
  439.                                             {
  440.                                               "Node Type": "Unique",
  441.                                               "Parent Relationship": "Outer",
  442.                                               "Parallel Aware": false,
  443.                                               "Startup Cost": 51.91,
  444.                                               "Total Cost": 51.92,
  445.                                               "Plan Rows": 3,
  446.                                               "Plan Width": 4,
  447.                                               "Actual Startup Time": 12.802,
  448.                                               "Actual Total Time": 12.811,
  449.                                               "Actual Rows": 6,
  450.                                               "Actual Loops": 3,
  451.                                               "Output": ["u0.id"],
  452.                                               "Shared Hit Blocks": 2928,
  453.                                               "Shared Read Blocks": 0,
  454.                                               "Shared Dirtied Blocks": 0,
  455.                                               "Shared Written Blocks": 0,
  456.                                               "Local Hit Blocks": 0,
  457.                                               "Local Read Blocks": 0,
  458.                                               "Local Dirtied Blocks": 0,
  459.                                               "Local Written Blocks": 0,
  460.                                               "Temp Read Blocks": 0,
  461.                                               "Temp Written Blocks": 0,
  462.                                               "Workers": [
  463.                                                 {
  464.                                                   "Worker Number": 0,
  465.                                                   "Actual Startup Time": 5.903,
  466.                                                   "Actual Total Time": 5.910,
  467.                                                   "Actual Rows": 6,
  468.                                                   "Actual Loops": 1,
  469.                                                   "Shared Hit Blocks": 980,
  470.                                                   "Shared Read Blocks": 0,
  471.                                                   "Shared Dirtied Blocks": 0,
  472.                                                   "Shared Written Blocks": 0,
  473.                                                   "Local Hit Blocks": 0,
  474.                                                   "Local Read Blocks": 0,
  475.                                                   "Local Dirtied Blocks": 0,
  476.                                                   "Local Written Blocks": 0,
  477.                                                   "Temp Read Blocks": 0,
  478.                                                   "Temp Written Blocks": 0
  479.                                                 },
  480.                                                 {
  481.                                                   "Worker Number": 1,
  482.                                                   "Actual Startup Time": 14.096,
  483.                                                   "Actual Total Time": 14.104,
  484.                                                   "Actual Rows": 6,
  485.                                                   "Actual Loops": 1,
  486.                                                   "Shared Hit Blocks": 980,
  487.                                                   "Shared Read Blocks": 0,
  488.                                                   "Shared Dirtied Blocks": 0,
  489.                                                   "Shared Written Blocks": 0,
  490.                                                   "Local Hit Blocks": 0,
  491.                                                   "Local Read Blocks": 0,
  492.                                                   "Local Dirtied Blocks": 0,
  493.                                                   "Local Written Blocks": 0,
  494.                                                   "Temp Read Blocks": 0,
  495.                                                   "Temp Written Blocks": 0
  496.                                                 }
  497.                                               ],
  498.                                               "Plans": [
  499.                                                 {
  500.                                                   "Node Type": "Sort",
  501.                                                   "Parent Relationship": "Outer",
  502.                                                   "Parallel Aware": false,
  503.                                                   "Startup Cost": 51.91,
  504.                                                   "Total Cost": 51.91,
  505.                                                   "Plan Rows": 3,
  506.                                                   "Plan Width": 4,
  507.                                                   "Actual Startup Time": 12.801,
  508.                                                   "Actual Total Time": 12.804,
  509.                                                   "Actual Rows": 41,
  510.                                                   "Actual Loops": 3,
  511.                                                   "Output": ["u0.id"],
  512.                                                   "Sort Key": ["u0.id"],
  513.                                                   "Sort Method": "quicksort",
  514.                                                   "Sort Space Used": 26,
  515.                                                   "Sort Space Type": "Memory",
  516.                                                   "Shared Hit Blocks": 2928,
  517.                                                   "Shared Read Blocks": 0,
  518.                                                   "Shared Dirtied Blocks": 0,
  519.                                                   "Shared Written Blocks": 0,
  520.                                                   "Local Hit Blocks": 0,
  521.                                                   "Local Read Blocks": 0,
  522.                                                   "Local Dirtied Blocks": 0,
  523.                                                   "Local Written Blocks": 0,
  524.                                                   "Temp Read Blocks": 0,
  525.                                                   "Temp Written Blocks": 0,
  526.                                                   "Workers": [
  527.                                                     {
  528.                                                       "Worker Number": 0,
  529.                                                       "Actual Startup Time": 5.902,
  530.                                                       "Actual Total Time": 5.905,
  531.                                                       "Actual Rows": 41,
  532.                                                       "Actual Loops": 1,
  533.                                                       "Shared Hit Blocks": 980,
  534.                                                       "Shared Read Blocks": 0,
  535.                                                       "Shared Dirtied Blocks": 0,
  536.                                                       "Shared Written Blocks": 0,
  537.                                                       "Local Hit Blocks": 0,
  538.                                                       "Local Read Blocks": 0,
  539.                                                       "Local Dirtied Blocks": 0,
  540.                                                       "Local Written Blocks": 0,
  541.                                                       "Temp Read Blocks": 0,
  542.                                                       "Temp Written Blocks": 0
  543.                                                     },
  544.                                                     {
  545.                                                       "Worker Number": 1,
  546.                                                       "Actual Startup Time": 14.095,
  547.                                                       "Actual Total Time": 14.098,
  548.                                                       "Actual Rows": 41,
  549.                                                       "Actual Loops": 1,
  550.                                                       "Shared Hit Blocks": 980,
  551.                                                       "Shared Read Blocks": 0,
  552.                                                       "Shared Dirtied Blocks": 0,
  553.                                                       "Shared Written Blocks": 0,
  554.                                                       "Local Hit Blocks": 0,
  555.                                                       "Local Read Blocks": 0,
  556.                                                       "Local Dirtied Blocks": 0,
  557.                                                       "Local Written Blocks": 0,
  558.                                                       "Temp Read Blocks": 0,
  559.                                                       "Temp Written Blocks": 0
  560.                                                     }
  561.                                                   ],
  562.                                                   "Plans": [
  563.                                                     {
  564.                                                       "Node Type": "Nested Loop",
  565.                                                       "Parent Relationship": "Outer",
  566.                                                       "Parallel Aware": false,
  567.                                                       "Join Type": "Inner",
  568.                                                       "Startup Cost": 5.88,
  569.                                                       "Total Cost": 51.88,
  570.                                                       "Plan Rows": 3,
  571.                                                       "Plan Width": 4,
  572.                                                       "Actual Startup Time": 7.780,
  573.                                                       "Actual Total Time": 12.742,
  574.                                                       "Actual Rows": 41,
  575.                                                       "Actual Loops": 3,
  576.                                                       "Output": ["u0.id"],
  577.                                                       "Inner Unique": false,
  578.                                                       "Shared Hit Blocks": 2914,
  579.                                                       "Shared Read Blocks": 0,
  580.                                                       "Shared Dirtied Blocks": 0,
  581.                                                       "Shared Written Blocks": 0,
  582.                                                       "Local Hit Blocks": 0,
  583.                                                       "Local Read Blocks": 0,
  584.                                                       "Local Dirtied Blocks": 0,
  585.                                                       "Local Written Blocks": 0,
  586.                                                       "Temp Read Blocks": 0,
  587.                                                       "Temp Written Blocks": 0,
  588.                                                       "Workers": [
  589.                                                         {
  590.                                                           "Worker Number": 0,
  591.                                                           "Actual Startup Time": 3.996,
  592.                                                           "Actual Total Time": 5.852,
  593.                                                           "Actual Rows": 41,
  594.                                                           "Actual Loops": 1,
  595.                                                           "Shared Hit Blocks": 973,
  596.                                                           "Shared Read Blocks": 0,
  597.                                                           "Shared Dirtied Blocks": 0,
  598.                                                           "Shared Written Blocks": 0,
  599.                                                           "Local Hit Blocks": 0,
  600.                                                           "Local Read Blocks": 0,
  601.                                                           "Local Dirtied Blocks": 0,
  602.                                                           "Local Written Blocks": 0,
  603.                                                           "Temp Read Blocks": 0,
  604.                                                           "Temp Written Blocks": 0
  605.                                                         },
  606.                                                         {
  607.                                                           "Worker Number": 1,
  608.                                                           "Actual Startup Time": 11.617,
  609.                                                           "Actual Total Time": 14.019,
  610.                                                           "Actual Rows": 41,
  611.                                                           "Actual Loops": 1,
  612.                                                           "Shared Hit Blocks": 973,
  613.                                                           "Shared Read Blocks": 0,
  614.                                                           "Shared Dirtied Blocks": 0,
  615.                                                           "Shared Written Blocks": 0,
  616.                                                           "Local Hit Blocks": 0,
  617.                                                           "Local Read Blocks": 0,
  618.                                                           "Local Dirtied Blocks": 0,
  619.                                                           "Local Written Blocks": 0,
  620.                                                           "Temp Read Blocks": 0,
  621.                                                           "Temp Written Blocks": 0
  622.                                                         }
  623.                                                       ],
  624.                                                       "Plans": [
  625.                                                         {
  626.                                                           "Node Type": "Nested Loop",
  627.                                                           "Parent Relationship": "Outer",
  628.                                                           "Parallel Aware": false,
  629.                                                           "Join Type": "Inner",
  630.                                                           "Startup Cost": 5.59,
  631.                                                           "Total Cost": 35.29,
  632.                                                           "Plan Rows": 2,
  633.                                                           "Plan Width": 12,
  634.                                                           "Actual Startup Time": 7.703,
  635.                                                           "Actual Total Time": 10.022,
  636.                                                           "Actual Rows": 22,
  637.                                                           "Actual Loops": 3,
  638.                                                           "Output": ["u0.id", "u3.carrier_id", "u4.id"],
  639.                                                           "Inner Unique": true,
  640.                                                           "Shared Hit Blocks": 2018,
  641.                                                           "Shared Read Blocks": 0,
  642.                                                           "Shared Dirtied Blocks": 0,
  643.                                                           "Shared Written Blocks": 0,
  644.                                                           "Local Hit Blocks": 0,
  645.                                                           "Local Read Blocks": 0,
  646.                                                           "Local Dirtied Blocks": 0,
  647.                                                           "Local Written Blocks": 0,
  648.                                                           "Temp Read Blocks": 0,
  649.                                                           "Temp Written Blocks": 0,
  650.                                                           "Workers": [
  651.                                                             {
  652.                                                               "Worker Number": 0,
  653.                                                               "Actual Startup Time": 3.953,
  654.                                                               "Actual Total Time": 4.746,
  655.                                                               "Actual Rows": 22,
  656.                                                               "Actual Loops": 1,
  657.                                                               "Shared Hit Blocks": 674,
  658.                                                               "Shared Read Blocks": 0,
  659.                                                               "Shared Dirtied Blocks": 0,
  660.                                                               "Shared Written Blocks": 0,
  661.                                                               "Local Hit Blocks": 0,
  662.                                                               "Local Read Blocks": 0,
  663.                                                               "Local Dirtied Blocks": 0,
  664.                                                               "Local Written Blocks": 0,
  665.                                                               "Temp Read Blocks": 0,
  666.                                                               "Temp Written Blocks": 0
  667.                                                             },
  668.                                                             {
  669.                                                               "Worker Number": 1,
  670.                                                               "Actual Startup Time": 11.581,
  671.                                                               "Actual Total Time": 12.364,
  672.                                                               "Actual Rows": 22,
  673.                                                               "Actual Loops": 1,
  674.                                                               "Shared Hit Blocks": 674,
  675.                                                               "Shared Read Blocks": 0,
  676.                                                               "Shared Dirtied Blocks": 0,
  677.                                                               "Shared Written Blocks": 0,
  678.                                                               "Local Hit Blocks": 0,
  679.                                                               "Local Read Blocks": 0,
  680.                                                               "Local Dirtied Blocks": 0,
  681.                                                               "Local Written Blocks": 0,
  682.                                                               "Temp Read Blocks": 0,
  683.                                                               "Temp Written Blocks": 0
  684.                                                             }
  685.                                                           ],
  686.                                                           "Plans": [
  687.                                                             {
  688.                                                               "Node Type": "Nested Loop",
  689.                                                               "Parent Relationship": "Outer",
  690.                                                               "Parallel Aware": false,
  691.                                                               "Join Type": "Inner",
  692.                                                               "Startup Cost": 5.45,
  693.                                                               "Total Cost": 34.78,
  694.                                                               "Plan Rows": 2,
  695.                                                               "Plan Width": 8,
  696.                                                               "Actual Startup Time": 5.313,
  697.                                                               "Actual Total Time": 7.505,
  698.                                                               "Actual Rows": 22,
  699.                                                               "Actual Loops": 3,
  700.                                                               "Output": ["u0.id", "u3.carrier_id"],
  701.                                                               "Inner Unique": true,
  702.                                                               "Shared Hit Blocks": 1884,
  703.                                                               "Shared Read Blocks": 0,
  704.                                                               "Shared Dirtied Blocks": 0,
  705.                                                               "Shared Written Blocks": 0,
  706.                                                               "Local Hit Blocks": 0,
  707.                                                               "Local Read Blocks": 0,
  708.                                                               "Local Dirtied Blocks": 0,
  709.                                                               "Local Written Blocks": 0,
  710.                                                               "Temp Read Blocks": 0,
  711.                                                               "Temp Written Blocks": 0,
  712.                                                               "Workers": [
  713.                                                                 {
  714.                                                                   "Worker Number": 0,
  715.                                                                   "Actual Startup Time": 3.638,
  716.                                                                   "Actual Total Time": 4.393,
  717.                                                                   "Actual Rows": 22,
  718.                                                                   "Actual Loops": 1,
  719.                                                                   "Shared Hit Blocks": 629,
  720.                                                                   "Shared Read Blocks": 0,
  721.                                                                   "Shared Dirtied Blocks": 0,
  722.                                                                   "Shared Written Blocks": 0,
  723.                                                                   "Local Hit Blocks": 0,
  724.                                                                   "Local Read Blocks": 0,
  725.                                                                   "Local Dirtied Blocks": 0,
  726.                                                                   "Local Written Blocks": 0,
  727.                                                                   "Temp Read Blocks": 0,
  728.                                                                   "Temp Written Blocks": 0
  729.                                                                 },
  730.                                                                 {
  731.                                                                   "Worker Number": 1,
  732.                                                                   "Actual Startup Time": 4.736,
  733.                                                                   "Actual Total Time": 5.480,
  734.                                                                   "Actual Rows": 22,
  735.                                                                   "Actual Loops": 1,
  736.                                                                   "Shared Hit Blocks": 629,
  737.                                                                   "Shared Read Blocks": 0,
  738.                                                                   "Shared Dirtied Blocks": 0,
  739.                                                                   "Shared Written Blocks": 0,
  740.                                                                   "Local Hit Blocks": 0,
  741.                                                                   "Local Read Blocks": 0,
  742.                                                                   "Local Dirtied Blocks": 0,
  743.                                                                   "Local Written Blocks": 0,
  744.                                                                   "Temp Read Blocks": 0,
  745.                                                                   "Temp Written Blocks": 0
  746.                                                                 }
  747.                                                               ],
  748.                                                               "Plans": [
  749.                                                                 {
  750.                                                                   "Node Type": "Nested Loop",
  751.                                                                   "Parent Relationship": "Outer",
  752.                                                                   "Parallel Aware": false,
  753.                                                                   "Join Type": "Inner",
  754.                                                                   "Startup Cost": 5.18,
  755.                                                                   "Total Cost": 32.05,
  756.                                                                   "Plan Rows": 4,
  757.                                                                   "Plan Width": 12,
  758.                                                                   "Actual Startup Time": 5.286,
  759.                                                                   "Actual Total Time": 7.277,
  760.                                                                   "Actual Rows": 22,
  761.                                                                   "Actual Loops": 3,
  762.                                                                   "Output": ["u0.id", "u0.manager_id", "u3.carrier_id"],
  763.                                                                   "Inner Unique": true,
  764.                                                                   "Shared Hit Blocks": 1684,
  765.                                                                   "Shared Read Blocks": 0,
  766.                                                                   "Shared Dirtied Blocks": 0,
  767.                                                                   "Shared Written Blocks": 0,
  768.                                                                   "Local Hit Blocks": 0,
  769.                                                                   "Local Read Blocks": 0,
  770.                                                                   "Local Dirtied Blocks": 0,
  771.                                                                   "Local Written Blocks": 0,
  772.                                                                   "Temp Read Blocks": 0,
  773.                                                                   "Temp Written Blocks": 0,
  774.                                                                   "Workers": [
  775.                                                                     {
  776.                                                                       "Worker Number": 0,
  777.                                                                       "Actual Startup Time": 3.608,
  778.                                                                       "Actual Total Time": 4.253,
  779.                                                                       "Actual Rows": 22,
  780.                                                                       "Actual Loops": 1,
  781.                                                                       "Shared Hit Blocks": 562,
  782.                                                                       "Shared Read Blocks": 0,
  783.                                                                       "Shared Dirtied Blocks": 0,
  784.                                                                       "Shared Written Blocks": 0,
  785.                                                                       "Local Hit Blocks": 0,
  786.                                                                       "Local Read Blocks": 0,
  787.                                                                       "Local Dirtied Blocks": 0,
  788.                                                                       "Local Written Blocks": 0,
  789.                                                                       "Temp Read Blocks": 0,
  790.                                                                       "Temp Written Blocks": 0
  791.                                                                     },
  792.                                                                     {
  793.                                                                       "Worker Number": 1,
  794.                                                                       "Actual Startup Time": 4.697,
  795.                                                                       "Actual Total Time": 5.372,
  796.                                                                       "Actual Rows": 22,
  797.                                                                       "Actual Loops": 1,
  798.                                                                       "Shared Hit Blocks": 562,
  799.                                                                       "Shared Read Blocks": 0,
  800.                                                                       "Shared Dirtied Blocks": 0,
  801.                                                                       "Shared Written Blocks": 0,
  802.                                                                       "Local Hit Blocks": 0,
  803.                                                                       "Local Read Blocks": 0,
  804.                                                                       "Local Dirtied Blocks": 0,
  805.                                                                       "Local Written Blocks": 0,
  806.                                                                       "Temp Read Blocks": 0,
  807.                                                                       "Temp Written Blocks": 0
  808.                                                                     }
  809.                                                                   ],
  810.                                                                   "Plans": [
  811.                                                                     {
  812.                                                                       "Node Type": "Nested Loop",
  813.                                                                       "Parent Relationship": "Outer",
  814.                                                                       "Parallel Aware": false,
  815.                                                                       "Join Type": "Inner",
  816.                                                                       "Startup Cost": 4.91,
  817.                                                                       "Total Cost": 25.42,
  818.                                                                       "Plan Rows": 13,
  819.                                                                       "Plan Width": 20,
  820.                                                                       "Actual Startup Time": 4.952,
  821.                                                                       "Actual Total Time": 6.366,
  822.                                                                       "Actual Rows": 106,
  823.                                                                       "Actual Loops": 3,
  824.                                                                       "Output": ["u0.id", "u0.manager_id", "u1.pricelist_id", "u3.pricelist_id", "u3.carrier_id"],
  825.                                                                       "Inner Unique": true,
  826.                                                                       "Join Filter": "(u1.pricelist_id = u0.id)",
  827.                                                                       "Rows Removed by Join Filter": 0,
  828.                                                                       "Shared Hit Blocks": 980,
  829.                                                                       "Shared Read Blocks": 0,
  830.                                                                       "Shared Dirtied Blocks": 0,
  831.                                                                       "Shared Written Blocks": 0,
  832.                                                                       "Local Hit Blocks": 0,
  833.                                                                       "Local Read Blocks": 0,
  834.                                                                       "Local Dirtied Blocks": 0,
  835.                                                                       "Local Written Blocks": 0,
  836.                                                                       "Temp Read Blocks": 0,
  837.                                                                       "Temp Written Blocks": 0,
  838.                                                                       "Workers": [
  839.                                                                         {
  840.                                                                           "Worker Number": 0,
  841.                                                                           "Actual Startup Time": 3.404,
  842.                                                                           "Actual Total Time": 3.793,
  843.                                                                           "Actual Rows": 106,
  844.                                                                           "Actual Loops": 1,
  845.                                                                           "Shared Hit Blocks": 327,
  846.                                                                           "Shared Read Blocks": 0,
  847.                                                                           "Shared Dirtied Blocks": 0,
  848.                                                                           "Shared Written Blocks": 0,
  849.                                                                           "Local Hit Blocks": 0,
  850.                                                                           "Local Read Blocks": 0,
  851.                                                                           "Local Dirtied Blocks": 0,
  852.                                                                           "Local Written Blocks": 0,
  853.                                                                           "Temp Read Blocks": 0,
  854.                                                                           "Temp Written Blocks": 0
  855.                                                                         },
  856.                                                                         {
  857.                                                                           "Worker Number": 1,
  858.                                                                           "Actual Startup Time": 3.921,
  859.                                                                           "Actual Total Time": 4.333,
  860.                                                                           "Actual Rows": 106,
  861.                                                                           "Actual Loops": 1,
  862.                                                                           "Shared Hit Blocks": 327,
  863.                                                                           "Shared Read Blocks": 0,
  864.                                                                           "Shared Dirtied Blocks": 0,
  865.                                                                           "Shared Written Blocks": 0,
  866.                                                                           "Local Hit Blocks": 0,
  867.                                                                           "Local Read Blocks": 0,
  868.                                                                           "Local Dirtied Blocks": 0,
  869.                                                                           "Local Written Blocks": 0,
  870.                                                                           "Temp Read Blocks": 0,
  871.                                                                           "Temp Written Blocks": 0
  872.                                                                         }
  873.                                                                       ],
  874.                                                                       "Plans": [
  875.                                                                         {
  876.                                                                           "Node Type": "Hash Join",
  877.                                                                           "Parent Relationship": "Outer",
  878.                                                                           "Parallel Aware": false,
  879.                                                                           "Join Type": "Inner",
  880.                                                                           "Startup Cost": 4.76,
  881.                                                                           "Total Cost": 10.73,
  882.                                                                           "Plan Rows": 36,
  883.                                                                           "Plan Width": 12,
  884.                                                                           "Actual Startup Time": 4.906,
  885.                                                                           "Actual Total Time": 5.175,
  886.                                                                           "Actual Rows": 161,
  887.                                                                           "Actual Loops": 3,
  888.                                                                           "Output": ["u1.pricelist_id", "u3.pricelist_id", "u3.carrier_id"],
  889.                                                                           "Inner Unique": false,
  890.                                                                           "Hash Cond": "(u1.pricelist_id = u3.pricelist_id)",
  891.                                                                           "Shared Hit Blocks": 12,
  892.                                                                           "Shared Read Blocks": 0,
  893.                                                                           "Shared Dirtied Blocks": 0,
  894.                                                                           "Shared Written Blocks": 0,
  895.                                                                           "Local Hit Blocks": 0,
  896.                                                                           "Local Read Blocks": 0,
  897.                                                                           "Local Dirtied Blocks": 0,
  898.                                                                           "Local Written Blocks": 0,
  899.                                                                           "Temp Read Blocks": 0,
  900.                                                                           "Temp Written Blocks": 0,
  901.                                                                           "Workers": [
  902.                                                                             {
  903.                                                                               "Worker Number": 0,
  904.                                                                               "Actual Startup Time": 3.370,
  905.                                                                               "Actual Total Time": 3.458,
  906.                                                                               "Actual Rows": 161,
  907.                                                                               "Actual Loops": 1,
  908.                                                                               "Shared Hit Blocks": 4,
  909.                                                                               "Shared Read Blocks": 0,
  910.                                                                               "Shared Dirtied Blocks": 0,
  911.                                                                               "Shared Written Blocks": 0,
  912.                                                                               "Local Hit Blocks": 0,
  913.                                                                               "Local Read Blocks": 0,
  914.                                                                               "Local Dirtied Blocks": 0,
  915.                                                                               "Local Written Blocks": 0,
  916.                                                                               "Temp Read Blocks": 0,
  917.                                                                               "Temp Written Blocks": 0
  918.                                                                             },
  919.                                                                             {
  920.                                                                               "Worker Number": 1,
  921.                                                                               "Actual Startup Time": 3.881,
  922.                                                                               "Actual Total Time": 3.979,
  923.                                                                               "Actual Rows": 161,
  924.                                                                               "Actual Loops": 1,
  925.                                                                               "Shared Hit Blocks": 4,
  926.                                                                               "Shared Read Blocks": 0,
  927.                                                                               "Shared Dirtied Blocks": 0,
  928.                                                                               "Shared Written Blocks": 0,
  929.                                                                               "Local Hit Blocks": 0,
  930.                                                                               "Local Read Blocks": 0,
  931.                                                                               "Local Dirtied Blocks": 0,
  932.                                                                               "Local Written Blocks": 0,
  933.                                                                               "Temp Read Blocks": 0,
  934.                                                                               "Temp Written Blocks": 0
  935.                                                                             }
  936.                                                                           ],
  937.                                                                           "Plans": [
  938.                                                                             {
  939.                                                                               "Node Type": "Seq Scan",
  940.                                                                               "Parent Relationship": "Outer",
  941.                                                                               "Parallel Aware": false,
  942.                                                                               "Relation Name": "monetary_pricelistdestinations",
  943.                                                                               "Schema": "public",
  944.                                                                               "Alias": "u1",
  945.                                                                               "Startup Cost": 0.00,
  946.                                                                               "Total Cost": 5.15,
  947.                                                                               "Plan Rows": 46,
  948.                                                                               "Plan Width": 4,
  949.                                                                               "Actual Startup Time": 1.409,
  950.                                                                               "Actual Total Time": 1.451,
  951.                                                                               "Actual Rows": 46,
  952.                                                                               "Actual Loops": 3,
  953.                                                                               "Output": ["u1.id", "u1.uuid", "u1.mdk_org_object_id", "u1.to_public", "u1.to_all_pharmacies", "u1.to_all_insurances", "u1.pricelist_id", "u1.to_organization_customer_id"],
  954.                                                                               "Filter": "u1.to_public",
  955.                                                                               "Rows Removed by Filter": 169,
  956.                                                                               "Shared Hit Blocks": 9,
  957.                                                                               "Shared Read Blocks": 0,
  958.                                                                               "Shared Dirtied Blocks": 0,
  959.                                                                               "Shared Written Blocks": 0,
  960.                                                                               "Local Hit Blocks": 0,
  961.                                                                               "Local Read Blocks": 0,
  962.                                                                               "Local Dirtied Blocks": 0,
  963.                                                                               "Local Written Blocks": 0,
  964.                                                                               "Temp Read Blocks": 0,
  965.                                                                               "Temp Written Blocks": 0,
  966.                                                                               "Workers": [
  967.                                                                                 {
  968.                                                                                   "Worker Number": 0,
  969.                                                                                   "Actual Startup Time": 1.510,
  970.                                                                                   "Actual Total Time": 1.543,
  971.                                                                                   "Actual Rows": 46,
  972.                                                                                   "Actual Loops": 1,
  973.                                                                                   "Shared Hit Blocks": 3,
  974.                                                                                   "Shared Read Blocks": 0,
  975.                                                                                   "Shared Dirtied Blocks": 0,
  976.                                                                                   "Shared Written Blocks": 0,
  977.                                                                                   "Local Hit Blocks": 0,
  978.                                                                                   "Local Read Blocks": 0,
  979.                                                                                   "Local Dirtied Blocks": 0,
  980.                                                                                   "Local Written Blocks": 0,
  981.                                                                                   "Temp Read Blocks": 0,
  982.                                                                                   "Temp Written Blocks": 0
  983.                                                                                 },
  984.                                                                                 {
  985.                                                                                   "Worker Number": 1,
  986.                                                                                   "Actual Startup Time": 2.265,
  987.                                                                                   "Actual Total Time": 2.303,
  988.                                                                                   "Actual Rows": 46,
  989.                                                                                   "Actual Loops": 1,
  990.                                                                                   "Shared Hit Blocks": 3,
  991.                                                                                   "Shared Read Blocks": 0,
  992.                                                                                   "Shared Dirtied Blocks": 0,
  993.                                                                                   "Shared Written Blocks": 0,
  994.                                                                                   "Local Hit Blocks": 0,
  995.                                                                                   "Local Read Blocks": 0,
  996.                                                                                   "Local Dirtied Blocks": 0,
  997.                                                                                   "Local Written Blocks": 0,
  998.                                                                                   "Temp Read Blocks": 0,
  999.                                                                                   "Temp Written Blocks": 0
  1000.                                                                                 }
  1001.                                                                               ]
  1002.                                                                             },
  1003.                                                                             {
  1004.                                                                               "Node Type": "Hash",
  1005.                                                                               "Parent Relationship": "Inner",
  1006.                                                                               "Parallel Aware": false,
  1007.                                                                               "Startup Cost": 2.67,
  1008.                                                                               "Total Cost": 2.67,
  1009.                                                                               "Plan Rows": 167,
  1010.                                                                               "Plan Width": 8,
  1011.                                                                               "Actual Startup Time": 3.433,
  1012.                                                                               "Actual Total Time": 3.433,
  1013.                                                                               "Actual Rows": 167,
  1014.                                                                               "Actual Loops": 3,
  1015.                                                                               "Output": ["u3.pricelist_id", "u3.carrier_id"],
  1016.                                                                               "Hash Buckets": 1024,
  1017.                                                                               "Original Hash Buckets": 1024,
  1018.                                                                               "Hash Batches": 1,
  1019.                                                                               "Original Hash Batches": 1,
  1020.                                                                               "Peak Memory Usage": 15,
  1021.                                                                               "Shared Hit Blocks": 3,
  1022.                                                                               "Shared Read Blocks": 0,
  1023.                                                                               "Shared Dirtied Blocks": 0,
  1024.                                                                               "Shared Written Blocks": 0,
  1025.                                                                               "Local Hit Blocks": 0,
  1026.                                                                               "Local Read Blocks": 0,
  1027.                                                                               "Local Dirtied Blocks": 0,
  1028.                                                                               "Local Written Blocks": 0,
  1029.                                                                               "Temp Read Blocks": 0,
  1030.                                                                               "Temp Written Blocks": 0,
  1031.                                                                               "Workers": [
  1032.                                                                                 {
  1033.                                                                                   "Worker Number": 0,
  1034.                                                                                   "Actual Startup Time": 1.813,
  1035.                                                                                   "Actual Total Time": 1.813,
  1036.                                                                                   "Actual Rows": 167,
  1037.                                                                                   "Actual Loops": 1,
  1038.                                                                                   "Shared Hit Blocks": 1,
  1039.                                                                                   "Shared Read Blocks": 0,
  1040.                                                                                   "Shared Dirtied Blocks": 0,
  1041.                                                                                   "Shared Written Blocks": 0,
  1042.                                                                                   "Local Hit Blocks": 0,
  1043.                                                                                   "Local Read Blocks": 0,
  1044.                                                                                   "Local Dirtied Blocks": 0,
  1045.                                                                                   "Local Written Blocks": 0,
  1046.                                                                                   "Temp Read Blocks": 0,
  1047.                                                                                   "Temp Written Blocks": 0
  1048.                                                                                 },
  1049.                                                                                 {
  1050.                                                                                   "Worker Number": 1,
  1051.                                                                                   "Actual Startup Time": 1.594,
  1052.                                                                                   "Actual Total Time": 1.594,
  1053.                                                                                   "Actual Rows": 167,
  1054.                                                                                   "Actual Loops": 1,
  1055.                                                                                   "Shared Hit Blocks": 1,
  1056.                                                                                   "Shared Read Blocks": 0,
  1057.                                                                                   "Shared Dirtied Blocks": 0,
  1058.                                                                                   "Shared Written Blocks": 0,
  1059.                                                                                   "Local Hit Blocks": 0,
  1060.                                                                                   "Local Read Blocks": 0,
  1061.                                                                                   "Local Dirtied Blocks": 0,
  1062.                                                                                   "Local Written Blocks": 0,
  1063.                                                                                   "Temp Read Blocks": 0,
  1064.                                                                                   "Temp Written Blocks": 0
  1065.                                                                                 }
  1066.                                                                               ],
  1067.                                                                               "Plans": [
  1068.                                                                                 {
  1069.                                                                                   "Node Type": "Seq Scan",
  1070.                                                                                   "Parent Relationship": "Outer",
  1071.                                                                                   "Parallel Aware": false,
  1072.                                                                                   "Relation Name": "courier_carrier_pricelists",
  1073.                                                                                   "Schema": "public",
  1074.                                                                                   "Alias": "u3",
  1075.                                                                                   "Startup Cost": 0.00,
  1076.                                                                                   "Total Cost": 2.67,
  1077.                                                                                   "Plan Rows": 167,
  1078.                                                                                   "Plan Width": 8,
  1079.                                                                                   "Actual Startup Time": 3.176,
  1080.                                                                                   "Actual Total Time": 3.208,
  1081.                                                                                   "Actual Rows": 167,
  1082.                                                                                   "Actual Loops": 3,
  1083.                                                                                   "Output": ["u3.pricelist_id", "u3.carrier_id"],
  1084.                                                                                   "Shared Hit Blocks": 3,
  1085.                                                                                   "Shared Read Blocks": 0,
  1086.                                                                                   "Shared Dirtied Blocks": 0,
  1087.                                                                                   "Shared Written Blocks": 0,
  1088.                                                                                   "Local Hit Blocks": 0,
  1089.                                                                                   "Local Read Blocks": 0,
  1090.                                                                                   "Local Dirtied Blocks": 0,
  1091.                                                                                   "Local Written Blocks": 0,
  1092.                                                                                   "Temp Read Blocks": 0,
  1093.                                                                                   "Temp Written Blocks": 0,
  1094.                                                                                   "Workers": [
  1095.                                                                                     {
  1096.                                                                                       "Worker Number": 0,
  1097.                                                                                       "Actual Startup Time": 1.751,
  1098.                                                                                       "Actual Total Time": 1.773,
  1099.                                                                                       "Actual Rows": 167,
  1100.                                                                                       "Actual Loops": 1,
  1101.                                                                                       "Shared Hit Blocks": 1,
  1102.                                                                                       "Shared Read Blocks": 0,
  1103.                                                                                       "Shared Dirtied Blocks": 0,
  1104.                                                                                       "Shared Written Blocks": 0,
  1105.                                                                                       "Local Hit Blocks": 0,
  1106.                                                                                       "Local Read Blocks": 0,
  1107.                                                                                       "Local Dirtied Blocks": 0,
  1108.                                                                                       "Local Written Blocks": 0,
  1109.                                                                                       "Temp Read Blocks": 0,
  1110.                                                                                       "Temp Written Blocks": 0
  1111.                                                                                     },
  1112.                                                                                     {
  1113.                                                                                       "Worker Number": 1,
  1114.                                                                                       "Actual Startup Time": 1.536,
  1115.                                                                                       "Actual Total Time": 1.557,
  1116.                                                                                       "Actual Rows": 167,
  1117.                                                                                       "Actual Loops": 1,
  1118.                                                                                       "Shared Hit Blocks": 1,
  1119.                                                                                       "Shared Read Blocks": 0,
  1120.                                                                                       "Shared Dirtied Blocks": 0,
  1121.                                                                                       "Shared Written Blocks": 0,
  1122.                                                                                       "Local Hit Blocks": 0,
  1123.                                                                                       "Local Read Blocks": 0,
  1124.                                                                                       "Local Dirtied Blocks": 0,
  1125.                                                                                       "Local Written Blocks": 0,
  1126.                                                                                       "Temp Read Blocks": 0,
  1127.                                                                                       "Temp Written Blocks": 0
  1128.                                                                                     }
  1129.                                                                                   ]
  1130.                                                                                 }
  1131.                                                                               ]
  1132.                                                                             }
  1133.                                                                           ]
  1134.                                                                         },
  1135.                                                                         {
  1136.                                                                           "Node Type": "Index Scan",
  1137.                                                                           "Parent Relationship": "Inner",
  1138.                                                                           "Parallel Aware": false,
  1139.                                                                           "Scan Direction": "Forward",
  1140.                                                                           "Index Name": "monetary_pricelist_pkey",
  1141.                                                                           "Relation Name": "monetary_pricelist",
  1142.                                                                           "Schema": "public",
  1143.                                                                           "Alias": "u0",
  1144.                                                                           "Startup Cost": 0.15,
  1145.                                                                           "Total Cost": 0.40,
  1146.                                                                           "Plan Rows": 1,
  1147.                                                                           "Plan Width": 8,
  1148.                                                                           "Actual Startup Time": 0.006,
  1149.                                                                           "Actual Total Time": 0.006,
  1150.                                                                           "Actual Rows": 1,
  1151.                                                                           "Actual Loops": 483,
  1152.                                                                           "Output": ["u0.id", "u0.uuid", "u0.name", "u0.mdk_object_id", "u0.active", "u0.expires", "u0.datestart", "u0.dateend", "u0.is_from_mdk_db", "u0.manager_id", "u0.mdk_manager_object_id", "u0.international_trade_export"],
  1153.                                                                           "Index Cond": "(u0.id = u3.pricelist_id)",
  1154.                                                                           "Rows Removed by Index Recheck": 0,
  1155.                                                                           "Filter": "(u0.active AND ((NOT u0.expires) OR (u0.expires AND ((timezone('UTC'::text, u0.datestart))::date <= '2020-05-01'::date) AND ((timezone('UTC'::text, u0.dateend))::date >= '2020-05-01'::date))))",
  1156.                                                                           "Rows Removed by Filter": 0,
  1157.                                                                           "Shared Hit Blocks": 968,
  1158.                                                                           "Shared Read Blocks": 0,
  1159.                                                                           "Shared Dirtied Blocks": 0,
  1160.                                                                           "Shared Written Blocks": 0,
  1161.                                                                           "Local Hit Blocks": 0,
  1162.                                                                           "Local Read Blocks": 0,
  1163.                                                                           "Local Dirtied Blocks": 0,
  1164.                                                                           "Local Written Blocks": 0,
  1165.                                                                           "Temp Read Blocks": 0,
  1166.                                                                           "Temp Written Blocks": 0,
  1167.                                                                           "Workers": [
  1168.                                                                             {
  1169.                                                                               "Worker Number": 0,
  1170.                                                                               "Actual Startup Time": 0.001,
  1171.                                                                               "Actual Total Time": 0.001,
  1172.                                                                               "Actual Rows": 1,
  1173.                                                                               "Actual Loops": 161,
  1174.                                                                               "Shared Hit Blocks": 323,
  1175.                                                                               "Shared Read Blocks": 0,
  1176.                                                                               "Shared Dirtied Blocks": 0,
  1177.                                                                               "Shared Written Blocks": 0,
  1178.                                                                               "Local Hit Blocks": 0,
  1179.                                                                               "Local Read Blocks": 0,
  1180.                                                                               "Local Dirtied Blocks": 0,
  1181.                                                                               "Local Written Blocks": 0,
  1182.                                                                               "Temp Read Blocks": 0,
  1183.                                                                               "Temp Written Blocks": 0
  1184.                                                                             },
  1185.                                                                             {
  1186.                                                                               "Worker Number": 1,
  1187.                                                                               "Actual Startup Time": 0.002,
  1188.                                                                               "Actual Total Time": 0.002,
  1189.                                                                               "Actual Rows": 1,
  1190.                                                                               "Actual Loops": 161,
  1191.                                                                               "Shared Hit Blocks": 323,
  1192.                                                                               "Shared Read Blocks": 0,
  1193.                                                                               "Shared Dirtied Blocks": 0,
  1194.                                                                               "Shared Written Blocks": 0,
  1195.                                                                               "Local Hit Blocks": 0,
  1196.                                                                               "Local Read Blocks": 0,
  1197.                                                                               "Local Dirtied Blocks": 0,
  1198.                                                                               "Local Written Blocks": 0,
  1199.                                                                               "Temp Read Blocks": 0,
  1200.                                                                               "Temp Written Blocks": 0
  1201.                                                                             }
  1202.                                                                           ]
  1203.                                                                         }
  1204.                                                                       ]
  1205.                                                                     },
  1206.                                                                     {
  1207.                                                                       "Node Type": "Index Only Scan",
  1208.                                                                       "Parent Relationship": "Inner",
  1209.                                                                       "Parallel Aware": false,
  1210.                                                                       "Scan Direction": "Forward",
  1211.                                                                       "Index Name": "monetary_pricelistcountry_country_pricelist_id_be9ca8b0_uniq",
  1212.                                                                       "Relation Name": "monetary_pricelistcountry",
  1213.                                                                       "Schema": "public",
  1214.                                                                       "Alias": "u6",
  1215.                                                                       "Startup Cost": 0.28,
  1216.                                                                       "Total Cost": 0.51,
  1217.                                                                       "Plan Rows": 1,
  1218.                                                                       "Plan Width": 4,
  1219.                                                                       "Actual Startup Time": 0.008,
  1220.                                                                       "Actual Total Time": 0.008,
  1221.                                                                       "Actual Rows": 0,
  1222.                                                                       "Actual Loops": 318,
  1223.                                                                       "Output": ["u6.country", "u6.pricelist_id"],
  1224.                                                                       "Index Cond": "((u6.country = 'MX'::text) AND (u6.pricelist_id = u0.id))",
  1225.                                                                       "Rows Removed by Index Recheck": 0,
  1226.                                                                       "Heap Fetches": 22,
  1227.                                                                       "Shared Hit Blocks": 704,
  1228.                                                                       "Shared Read Blocks": 0,
  1229.                                                                       "Shared Dirtied Blocks": 0,
  1230.                                                                       "Shared Written Blocks": 0,
  1231.                                                                       "Local Hit Blocks": 0,
  1232.                                                                       "Local Read Blocks": 0,
  1233.                                                                       "Local Dirtied Blocks": 0,
  1234.                                                                       "Local Written Blocks": 0,
  1235.                                                                       "Temp Read Blocks": 0,
  1236.                                                                       "Temp Written Blocks": 0,
  1237.                                                                       "Workers": [
  1238.                                                                         {
  1239.                                                                           "Worker Number": 0,
  1240.                                                                           "Actual Startup Time": 0.004,
  1241.                                                                           "Actual Total Time": 0.004,
  1242.                                                                           "Actual Rows": 0,
  1243.                                                                           "Actual Loops": 106,
  1244.                                                                           "Shared Hit Blocks": 235,
  1245.                                                                           "Shared Read Blocks": 0,
  1246.                                                                           "Shared Dirtied Blocks": 0,
  1247.                                                                           "Shared Written Blocks": 0,
  1248.                                                                           "Local Hit Blocks": 0,
  1249.                                                                           "Local Read Blocks": 0,
  1250.                                                                           "Local Dirtied Blocks": 0,
  1251.                                                                           "Local Written Blocks": 0,
  1252.                                                                           "Temp Read Blocks": 0,
  1253.                                                                           "Temp Written Blocks": 0
  1254.                                                                         },
  1255.                                                                         {
  1256.                                                                           "Worker Number": 1,
  1257.                                                                           "Actual Startup Time": 0.009,
  1258.                                                                           "Actual Total Time": 0.009,
  1259.                                                                           "Actual Rows": 0,
  1260.                                                                           "Actual Loops": 106,
  1261.                                                                           "Shared Hit Blocks": 235,
  1262.                                                                           "Shared Read Blocks": 0,
  1263.                                                                           "Shared Dirtied Blocks": 0,
  1264.                                                                           "Shared Written Blocks": 0,
  1265.                                                                           "Local Hit Blocks": 0,
  1266.                                                                           "Local Read Blocks": 0,
  1267.                                                                           "Local Dirtied Blocks": 0,
  1268.                                                                           "Local Written Blocks": 0,
  1269.                                                                           "Temp Read Blocks": 0,
  1270.                                                                           "Temp Written Blocks": 0
  1271.                                                                         }
  1272.                                                                       ]
  1273.                                                                     }
  1274.                                                                   ]
  1275.                                                                 },
  1276.                                                                 {
  1277.                                                                   "Node Type": "Index Scan",
  1278.                                                                   "Parent Relationship": "Inner",
  1279.                                                                   "Parallel Aware": false,
  1280.                                                                   "Scan Direction": "Forward",
  1281.                                                                   "Index Name": "organization_organization_pkey",
  1282.                                                                   "Relation Name": "organization_organization",
  1283.                                                                   "Schema": "public",
  1284.                                                                   "Alias": "u2",
  1285.                                                                   "Startup Cost": 0.27,
  1286.                                                                   "Total Cost": 0.68,
  1287.                                                                   "Plan Rows": 1,
  1288.                                                                   "Plan Width": 4,
  1289.                                                                   "Actual Startup Time": 0.009,
  1290.                                                                   "Actual Total Time": 0.009,
  1291.                                                                   "Actual Rows": 1,
  1292.                                                                   "Actual Loops": 66,
  1293.                                                                   "Output": ["u2.id", "u2.uuid", "u2.organization_type", "u2.mdk_object_id", "u2.medika_connect_token", "u2.theparent_id", "u2.active", "u2.person_id", "u2.address", "u2.business_line", "u2.colony", "u2.country", "u2.email", "u2.image_header", "u2.legal_name", "u2.logo", "u2.phone", "u2.postal_code", "u2.public_name", "u2.tax_id", "u2.town", "u2.web_page", "u2.is_mdk_profile", "u2.configuration_id", "u2.phone2", "u2.preferred_language_id", "u2.is_global_group"],
  1294.                                                                   "Index Cond": "(u2.id = u0.manager_id)",
  1295.                                                                   "Rows Removed by Index Recheck": 0,
  1296.                                                                   "Filter": "(u2.active AND (u2.organization_type = 2))",
  1297.                                                                   "Rows Removed by Filter": 0,
  1298.                                                                   "Shared Hit Blocks": 200,
  1299.                                                                   "Shared Read Blocks": 0,
  1300.                                                                   "Shared Dirtied Blocks": 0,
  1301.                                                                   "Shared Written Blocks": 0,
  1302.                                                                   "Local Hit Blocks": 0,
  1303.                                                                   "Local Read Blocks": 0,
  1304.                                                                   "Local Dirtied Blocks": 0,
  1305.                                                                   "Local Written Blocks": 0,
  1306.                                                                   "Temp Read Blocks": 0,
  1307.                                                                   "Temp Written Blocks": 0,
  1308.                                                                   "Workers": [
  1309.                                                                     {
  1310.                                                                       "Worker Number": 0,
  1311.                                                                       "Actual Startup Time": 0.006,
  1312.                                                                       "Actual Total Time": 0.006,
  1313.                                                                       "Actual Rows": 1,
  1314.                                                                       "Actual Loops": 22,
  1315.                                                                       "Shared Hit Blocks": 67,
  1316.                                                                       "Shared Read Blocks": 0,
  1317.                                                                       "Shared Dirtied Blocks": 0,
  1318.                                                                       "Shared Written Blocks": 0,
  1319.                                                                       "Local Hit Blocks": 0,
  1320.                                                                       "Local Read Blocks": 0,
  1321.                                                                       "Local Dirtied Blocks": 0,
  1322.                                                                       "Local Written Blocks": 0,
  1323.                                                                       "Temp Read Blocks": 0,
  1324.                                                                       "Temp Written Blocks": 0
  1325.                                                                     },
  1326.                                                                     {
  1327.                                                                       "Worker Number": 1,
  1328.                                                                       "Actual Startup Time": 0.004,
  1329.                                                                       "Actual Total Time": 0.004,
  1330.                                                                       "Actual Rows": 1,
  1331.                                                                       "Actual Loops": 22,
  1332.                                                                       "Shared Hit Blocks": 67,
  1333.                                                                       "Shared Read Blocks": 0,
  1334.                                                                       "Shared Dirtied Blocks": 0,
  1335.                                                                       "Shared Written Blocks": 0,
  1336.                                                                       "Local Hit Blocks": 0,
  1337.                                                                       "Local Read Blocks": 0,
  1338.                                                                       "Local Dirtied Blocks": 0,
  1339.                                                                       "Local Written Blocks": 0,
  1340.                                                                       "Temp Read Blocks": 0,
  1341.                                                                       "Temp Written Blocks": 0
  1342.                                                                     }
  1343.                                                                   ]
  1344.                                                                 }
  1345.                                                               ]
  1346.                                                             },
  1347.                                                             {
  1348.                                                               "Node Type": "Index Only Scan",
  1349.                                                               "Parent Relationship": "Inner",
  1350.                                                               "Parallel Aware": false,
  1351.                                                               "Scan Direction": "Forward",
  1352.                                                               "Index Name": "drugtransaction_carrier_pkey",
  1353.                                                               "Relation Name": "courier_carrier",
  1354.                                                               "Schema": "public",
  1355.                                                               "Alias": "u4",
  1356.                                                               "Startup Cost": 0.14,
  1357.                                                               "Total Cost": 0.25,
  1358.                                                               "Plan Rows": 1,
  1359.                                                               "Plan Width": 4,
  1360.                                                               "Actual Startup Time": 0.113,
  1361.                                                               "Actual Total Time": 0.113,
  1362.                                                               "Actual Rows": 1,
  1363.                                                               "Actual Loops": 66,
  1364.                                                               "Output": ["u4.id"],
  1365.                                                               "Index Cond": "(u4.id = u3.carrier_id)",
  1366.                                                               "Rows Removed by Index Recheck": 0,
  1367.                                                               "Heap Fetches": 22,
  1368.                                                               "Shared Hit Blocks": 134,
  1369.                                                               "Shared Read Blocks": 0,
  1370.                                                               "Shared Dirtied Blocks": 0,
  1371.                                                               "Shared Written Blocks": 0,
  1372.                                                               "Local Hit Blocks": 0,
  1373.                                                               "Local Read Blocks": 0,
  1374.                                                               "Local Dirtied Blocks": 0,
  1375.                                                               "Local Written Blocks": 0,
  1376.                                                               "Temp Read Blocks": 0,
  1377.                                                               "Temp Written Blocks": 0,
  1378.                                                               "Workers": [
  1379.                                                                 {
  1380.                                                                   "Worker Number": 0,
  1381.                                                                   "Actual Startup Time": 0.015,
  1382.                                                                   "Actual Total Time": 0.015,
  1383.                                                                   "Actual Rows": 1,
  1384.                                                                   "Actual Loops": 22,
  1385.                                                                   "Shared Hit Blocks": 45,
  1386.                                                                   "Shared Read Blocks": 0,
  1387.                                                                   "Shared Dirtied Blocks": 0,
  1388.                                                                   "Shared Written Blocks": 0,
  1389.                                                                   "Local Hit Blocks": 0,
  1390.                                                                   "Local Read Blocks": 0,
  1391.                                                                   "Local Dirtied Blocks": 0,
  1392.                                                                   "Local Written Blocks": 0,
  1393.                                                                   "Temp Read Blocks": 0,
  1394.                                                                   "Temp Written Blocks": 0
  1395.                                                                 },
  1396.                                                                 {
  1397.                                                                   "Worker Number": 1,
  1398.                                                                   "Actual Startup Time": 0.312,
  1399.                                                                   "Actual Total Time": 0.312,
  1400.                                                                   "Actual Rows": 1,
  1401.                                                                   "Actual Loops": 22,
  1402.                                                                   "Shared Hit Blocks": 45,
  1403.                                                                   "Shared Read Blocks": 0,
  1404.                                                                   "Shared Dirtied Blocks": 0,
  1405.                                                                   "Shared Written Blocks": 0,
  1406.                                                                   "Local Hit Blocks": 0,
  1407.                                                                   "Local Read Blocks": 0,
  1408.                                                                   "Local Dirtied Blocks": 0,
  1409.                                                                   "Local Written Blocks": 0,
  1410.                                                                   "Temp Read Blocks": 0,
  1411.                                                                   "Temp Written Blocks": 0
  1412.                                                                 }
  1413.                                                               ]
  1414.                                                             }
  1415.                                                           ]
  1416.                                                         },
  1417.                                                         {
  1418.                                                           "Node Type": "Index Scan",
  1419.                                                           "Parent Relationship": "Inner",
  1420.                                                           "Parallel Aware": false,
  1421.                                                           "Scan Direction": "Forward",
  1422.                                                           "Index Name": "drugtransaction_carrierdelivery_carrier_id_dff8fb35",
  1423.                                                           "Relation Name": "courier_carrierdelivery",
  1424.                                                           "Schema": "public",
  1425.                                                           "Alias": "u5",
  1426.                                                           "Startup Cost": 0.29,
  1427.                                                           "Total Cost": 8.28,
  1428.                                                           "Plan Rows": 2,
  1429.                                                           "Plan Width": 4,
  1430.                                                           "Actual Startup Time": 0.052,
  1431.                                                           "Actual Total Time": 0.122,
  1432.                                                           "Actual Rows": 2,
  1433.                                                           "Actual Loops": 66,
  1434.                                                           "Output": ["u5.id", "u5.uuid", "u5.dst_country", "u5.postal_code", "u5.carrier_id", "u5.exclude_code_range_lower", "u5.exclude_code_range_upper", "u5.postal_code_range_lower", "u5.postal_code_range_upper", "u5.external_service_id", "u5.mdk_object_id", "u5.ignore_country_filter"],
  1435.                                                           "Index Cond": "(u5.carrier_id = u3.carrier_id)",
  1436.                                                           "Rows Removed by Index Recheck": 0,
  1437.                                                           "Filter": "(((u5.dst_country)::text = 'MX'::text) OR u5.ignore_country_filter)",
  1438.                                                           "Rows Removed by Filter": 117,
  1439.                                                           "Shared Hit Blocks": 896,
  1440.                                                           "Shared Read Blocks": 0,
  1441.                                                           "Shared Dirtied Blocks": 0,
  1442.                                                           "Shared Written Blocks": 0,
  1443.                                                           "Local Hit Blocks": 0,
  1444.                                                           "Local Read Blocks": 0,
  1445.                                                           "Local Dirtied Blocks": 0,
  1446.                                                           "Local Written Blocks": 0,
  1447.                                                           "Temp Read Blocks": 0,
  1448.                                                           "Temp Written Blocks": 0,
  1449.                                                           "Workers": [
  1450.                                                             {
  1451.                                                               "Worker Number": 0,
  1452.                                                               "Actual Startup Time": 0.019,
  1453.                                                               "Actual Total Time": 0.049,
  1454.                                                               "Actual Rows": 2,
  1455.                                                               "Actual Loops": 22,
  1456.                                                               "Shared Hit Blocks": 299,
  1457.                                                               "Shared Read Blocks": 0,
  1458.                                                               "Shared Dirtied Blocks": 0,
  1459.                                                               "Shared Written Blocks": 0,
  1460.                                                               "Local Hit Blocks": 0,
  1461.                                                               "Local Read Blocks": 0,
  1462.                                                               "Local Dirtied Blocks": 0,
  1463.                                                               "Local Written Blocks": 0,
  1464.                                                               "Temp Read Blocks": 0,
  1465.                                                               "Temp Written Blocks": 0
  1466.                                                             },
  1467.                                                             {
  1468.                                                               "Worker Number": 1,
  1469.                                                               "Actual Startup Time": 0.025,
  1470.                                                               "Actual Total Time": 0.074,
  1471.                                                               "Actual Rows": 2,
  1472.                                                               "Actual Loops": 22,
  1473.                                                               "Shared Hit Blocks": 299,
  1474.                                                               "Shared Read Blocks": 0,
  1475.                                                               "Shared Dirtied Blocks": 0,
  1476.                                                               "Shared Written Blocks": 0,
  1477.                                                               "Local Hit Blocks": 0,
  1478.                                                               "Local Read Blocks": 0,
  1479.                                                               "Local Dirtied Blocks": 0,
  1480.                                                               "Local Written Blocks": 0,
  1481.                                                               "Temp Read Blocks": 0,
  1482.                                                               "Temp Written Blocks": 0
  1483.                                                             }
  1484.                                                           ]
  1485.                                                         }
  1486.                                                       ]
  1487.                                                     }
  1488.                                                   ]
  1489.                                                 }
  1490.                                               ]
  1491.                                             }
  1492.                                           ]
  1493.                                         }
  1494.                                       ]
  1495.                                     }
  1496.                                   ]
  1497.                                 }
  1498.                               ]
  1499.                             },
  1500.                             {
  1501.                               "Node Type": "Index Scan",
  1502.                               "Parent Relationship": "Inner",
  1503.                               "Parallel Aware": false,
  1504.                               "Scan Direction": "Forward",
  1505.                               "Index Name": "monetary_drugprice_pkey",
  1506.                               "Relation Name": "monetary_drugprice",
  1507.                               "Schema": "public",
  1508.                               "Alias": "monetary_drugprice",
  1509.                               "Startup Cost": 0.42,
  1510.                               "Total Cost": 0.58,
  1511.                               "Plan Rows": 1,
  1512.                               "Plan Width": 8,
  1513.                               "Actual Startup Time": 0.003,
  1514.                               "Actual Total Time": 0.003,
  1515.                               "Actual Rows": 1,
  1516.                               "Actual Loops": 10260,
  1517.                               "Output": ["monetary_drugprice.id", "monetary_drugprice.mdk_object_id", "monetary_drugprice.is_from_mdk_db", "monetary_drugprice.pvp_currency", "monetary_drugprice.pvp", "monetary_drugprice.pharmacy_price_currency", "monetary_drugprice.pharmacy_price", "monetary_drugprice.base_currency", "monetary_drugprice.base", "monetary_drugprice.no_tax_price_currency", "monetary_drugprice.no_tax_price", "monetary_drugprice.system_no_tax_price_currency", "monetary_drugprice.system_no_tax_price", "monetary_drugprice.all_included_price_currency", "monetary_drugprice.all_included_price", "monetary_drugprice.system_all_included_price_currency", "monetary_drugprice.system_all_included_price", "monetary_drugprice.margin", "monetary_drugprice.stock", "monetary_drugprice.drug_id", "monetary_drugprice.pricelist_id", "monetary_drugprice.uuid", "monetary_drugprice.offer", "monetary_drugprice.mdk_pricing_id", "monetary_drugprice.system_all_included_price_rate", "monetary_drugprice.system_no_tax_price_rate", "monetary_drugprice.all_included_price_before", "monetary_drugprice.all_included_price_before_currency", "monetary_drugprice.no_tax_price_before", "monetary_drugprice.no_tax_price_before_currency", "monetary_drugprice.system_all_included_price_before", "monetary_drugprice.system_all_included_price_before_currency", "monetary_drugprice.system_all_included_price_before_rate", "monetary_drugprice.system_no_tax_price_before", "monetary_drugprice.system_no_tax_price_before_currency", "monetary_drugprice.system_no_tax_price_before_rate", "monetary_drugprice.calculated_base", "monetary_drugprice.calculated_base_currency", "monetary_drugprice.system_calculated_base", "monetary_drugprice.system_calculated_base_currency", "monetary_drugprice.system_calculated_base_rate"],
  1518.                               "Index Cond": "(monetary_drugprice.id = v0.id)",
  1519.                               "Rows Removed by Index Recheck": 0,
  1520.                               "Shared Hit Blocks": 41067,
  1521.                               "Shared Read Blocks": 0,
  1522.                               "Shared Dirtied Blocks": 0,
  1523.                               "Shared Written Blocks": 0,
  1524.                               "Local Hit Blocks": 0,
  1525.                               "Local Read Blocks": 0,
  1526.                               "Local Dirtied Blocks": 0,
  1527.                               "Local Written Blocks": 0,
  1528.                               "Temp Read Blocks": 0,
  1529.                               "Temp Written Blocks": 0
  1530.                             }
  1531.                           ]
  1532.                         }
  1533.                       ]
  1534.                     }
  1535.                   ]
  1536.                 },
  1537.                 {
  1538.                   "Node Type": "Hash",
  1539.                   "Parent Relationship": "Inner",
  1540.                   "Parallel Aware": false,
  1541.                   "Startup Cost": 333.92,
  1542.                   "Total Cost": 333.92,
  1543.                   "Plan Rows": 13608,
  1544.                   "Plan Width": 4,
  1545.                   "Actual Startup Time": 6.800,
  1546.                   "Actual Total Time": 6.800,
  1547.                   "Actual Rows": 13608,
  1548.                   "Actual Loops": 1,
  1549.                   "Output": ["phdrug_phdrugpicture.drug_id"],
  1550.                   "Hash Buckets": 16384,
  1551.                   "Original Hash Buckets": 16384,
  1552.                   "Hash Batches": 1,
  1553.                   "Original Hash Batches": 1,
  1554.                   "Peak Memory Usage": 607,
  1555.                   "Shared Hit Blocks": 191,
  1556.                   "Shared Read Blocks": 0,
  1557.                   "Shared Dirtied Blocks": 0,
  1558.                   "Shared Written Blocks": 0,
  1559.                   "Local Hit Blocks": 0,
  1560.                   "Local Read Blocks": 0,
  1561.                   "Local Dirtied Blocks": 0,
  1562.                   "Local Written Blocks": 0,
  1563.                   "Temp Read Blocks": 0,
  1564.                   "Temp Written Blocks": 0,
  1565.                   "Plans": [
  1566.                     {
  1567.                       "Node Type": "Seq Scan",
  1568.                       "Parent Relationship": "Outer",
  1569.                       "Parallel Aware": false,
  1570.                       "Relation Name": "phdrug_phdrugpicture",
  1571.                       "Schema": "public",
  1572.                       "Alias": "phdrug_phdrugpicture",
  1573.                       "Startup Cost": 0.00,
  1574.                       "Total Cost": 333.92,
  1575.                       "Plan Rows": 13608,
  1576.                       "Plan Width": 4,
  1577.                       "Actual Startup Time": 0.487,
  1578.                       "Actual Total Time": 4.032,
  1579.                       "Actual Rows": 13608,
  1580.                       "Actual Loops": 1,
  1581.                       "Output": ["phdrug_phdrugpicture.drug_id"],
  1582.                       "Filter": "phdrug_phdrugpicture.is_main",
  1583.                       "Rows Removed by Filter": 684,
  1584.                       "Shared Hit Blocks": 191,
  1585.                       "Shared Read Blocks": 0,
  1586.                       "Shared Dirtied Blocks": 0,
  1587.                       "Shared Written Blocks": 0,
  1588.                       "Local Hit Blocks": 0,
  1589.                       "Local Read Blocks": 0,
  1590.                       "Local Dirtied Blocks": 0,
  1591.                       "Local Written Blocks": 0,
  1592.                       "Temp Read Blocks": 0,
  1593.                       "Temp Written Blocks": 0
  1594.                     }
  1595.                   ]
  1596.                 }
  1597.               ]
  1598.             }
  1599.           ]
  1600.         }
  1601.       ]
  1602.     },
  1603.     "Planning Time": 60.221,
  1604.     "Triggers": [
  1605.     ],
  1606.     "Execution Time": 320.527
  1607.   }
  1608. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement