explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 9ymM

Settings
# exclusive inclusive rows x rows loops node
1. 4.907 12,777.243 ↑ 1.0 2,000 1

Merge Left Join (cost=6,006,934.25..6,426,945.08 rows=2,000 width=2,374) (actual time=12,129.819..12,777.243 rows=2,000 loops=1)

  • Merge Cond: (users.id = applications.user_id)
2. 1.318 12,333.533 ↑ 1.0 2,000 1

Merge Left Join (cost=6,006,933.39..6,306,217.47 rows=2,000 width=2,382) (actual time=12,128.505..12,333.533 rows=2,000 loops=1)

  • Merge Cond: (users.id = addresses.addressable_id)
3. 1.464 12,331.177 ↑ 1.0 2,000 1

Merge Left Join (cost=6,006,926.44..6,306,205.46 rows=2,000 width=2,350) (actual time=12,127.465..12,331.177 rows=2,000 loops=1)

  • Merge Cond: (users.id = campaign_delivery_recipients.user_id)
4. 1.509 12,320.698 ↑ 1.0 2,000 1

Merge Left Join (cost=5,995,496.22..6,294,443.56 rows=2,000 width=2,158) (actual time=12,119.754..12,320.698 rows=2,000 loops=1)

  • Merge Cond: (users.id = users_to_disclaimers.user_id)
5. 1.431 12,309.100 ↑ 1.0 2,000 1

Merge Left Join (cost=5,995,495.80..6,287,262.66 rows=2,000 width=2,126) (actual time=12,119.653..12,309.100 rows=2,000 loops=1)

  • Merge Cond: (users.id = folder_members.user_id)
6. 1.593 12,275.350 ↑ 1.0 2,000 1

Merge Left Join (cost=5,969,242.43..6,260,572.64 rows=2,000 width=2,062) (actual time=12,088.474..12,275.350 rows=2,000 loops=1)

  • Merge Cond: (users.id = owner_tags.owner_id)
7. 1.475 12,263.212 ↑ 1.0 2,000 1

Merge Left Join (cost=5,962,282.84..6,253,503.91 rows=2,000 width=2,030) (actual time=12,078.939..12,263.212 rows=2,000 loops=1)

  • Merge Cond: (users.id = event_attendees.user_id)
8. 1.151 12,241.231 ↑ 1.0 2,000 1

Merge Left Join (cost=5,959,274.49..6,102,110.66 rows=2,000 width=1,902) (actual time=12,059.768..12,241.231 rows=2,000 loops=1)

  • Merge Cond: (users.id = education_instances_2.user_id)
9. 1.131 12,238.677 ↑ 1.0 2,000 1

Merge Left Join (cost=5,959,274.20..6,098,573.38 rows=2,000 width=1,870) (actual time=12,058.362..12,238.677 rows=2,000 loops=1)

  • Merge Cond: (users.id = education_instances_1.user_id)
10. 1.199 12,236.137 ↑ 1.0 2,000 1

Merge Left Join (cost=5,959,273.91..6,095,036.10 rows=2,000 width=1,838) (actual time=12,056.951..12,236.137 rows=2,000 loops=1)

  • Merge Cond: (users.id = education_instances.user_id)
11. 2.789 12,233.367 ↑ 1.0 2,000 1

Nested Loop Left Join (cost=5,959,273.62..6,091,498.81 rows=2,000 width=1,806) (actual time=12,055.378..12,233.367 rows=2,000 loops=1)

12. 1.731 12,230.578 ↑ 1.0 2,000 1

Nested Loop Left Join (cost=5,959,273.48..6,087,153.78 rows=2,000 width=1,806) (actual time=12,055.374..12,230.578 rows=2,000 loops=1)

13. 1.568 12,224.847 ↑ 1.0 2,000 1

Nested Loop Left Join (cost=5,959,273.18..6,075,963.41 rows=2,000 width=1,806) (actual time=12,055.367..12,224.847 rows=2,000 loops=1)

14. 3.353 12,221.279 ↑ 1.0 2,000 1

Nested Loop Left Join (cost=5,959,272.75..6,069,438.46 rows=2,000 width=1,806) (actual time=12,055.357..12,221.279 rows=2,000 loops=1)

  • Join Filter: (documents.id = parsed_resumes.document_id)
15. 1.715 12,195.926 ↑ 1.0 2,000 1

Nested Loop Left Join (cost=5,959,272.32..6,053,274.46 rows=2,000 width=1,243) (actual time=12,055.334..12,195.926 rows=2,000 loops=1)

16. 3.577 12,164.211 ↑ 1.0 2,000 1

Merge Left Join (cost=5,917,346.42..5,919,467.26 rows=2,000 width=1,239) (actual time=12,041.766..12,164.211 rows=2,000 loops=1)

  • Merge Cond: (users.id = answers.owner_id)
17. 3.939 11,898.647 ↑ 1.0 2,000 1

Sort (cost=5,273,961.47..5,273,966.47 rows=2,000 width=1,143) (actual time=11,897.835..11,898.647 rows=2,000 loops=1)

  • Sort Key: users.id
  • Sort Method: quicksort Memory: 430kB
18. 1,343.169 11,894.708 ↑ 1.0 2,000 1

Hash Right Join (cost=128,980.60..5,273,851.81 rows=2,000 width=1,143) (actual time=829.253..11,894.708 rows=2,000 loops=1)

  • Hash Cond: (mod_history.user_id = users.id)
19. 9,759.121 10,527.192 ↓ 1.0 4,476,228 1

Bitmap Heap Scan on modification_history mod_history (cost=113,733.83..5,242,523.94 rows=4,283,002 width=33) (actual time=773.652..10,527.192 rows=4,476,228 loops=1)

  • Recheck Cond: ((modification_type)::text = 'Modification'::text)
  • Rows Removed by Index Recheck: 12485710
  • Heap Blocks: exact=11715 lossy=1359585
20. 768.071 768.071 ↓ 1.0 4,476,236 1

Bitmap Index Scan on index_modification_history_on_modification_type (cost=0.00..112,663.08 rows=4,283,002 width=0) (actual time=768.071..768.071 rows=4,476,236 loops=1)

  • Index Cond: ((modification_type)::text = 'Modification'::text)
21. 1.086 24.347 ↑ 1.0 2,000 1

Hash (cost=15,221.77..15,221.77 rows=2,000 width=1,114) (actual time=24.347..24.347 rows=2,000 loops=1)

  • Buckets: 2048 Batches: 1 Memory Usage: 252kB
22. 23.261 23.261 ↑ 1.0 2,000 1

Index Scan using users_pkey on users (cost=0.43..15,221.77 rows=2,000 width=1,114) (actual time=0.438..23.261 rows=2,000 loops=1)

  • Index Cond: (id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[]))
23. 1.768 261.987 ↑ 12.9 1,920 1

Materialize (cost=643,384.95..645,433.59 rows=24,832 width=100) (actual time=143.923..261.987 rows=1,920 loops=1)

24. 110.508 260.219 ↑ 12.9 1,920 1

GroupAggregate (cost=643,384.95..645,123.19 rows=24,832 width=100) (actual time=143.914..260.219 rows=1,920 loops=1)

  • Group Key: answers.owner_id
25. 14.360 149.711 ↑ 1.4 17,269 1

Sort (cost=643,384.95..643,447.03 rows=24,832 width=130) (actual time=143.772..149.711 rows=17,269 loops=1)

  • Sort Key: answers.owner_id
  • Sort Method: quicksort Memory: 2534kB
26. 15.317 135.351 ↑ 1.4 17,269 1

Nested Loop Left Join (cost=513.01..641,572.22 rows=24,832 width=130) (actual time=16.734..135.351 rows=17,269 loops=1)

  • Join Filter: ((NOT fields.private) AND (i18n_strings.translatable_id = field_answers.id))
27. 22.148 120.034 ↑ 1.4 17,269 1

Hash Left Join (cost=512.86..641,191.58 rows=24,832 width=102) (actual time=16.724..120.034 rows=17,269 loops=1)

  • Hash Cond: (answers.answer = (field_answers.id)::text)
  • Join Filter: ((fields.answer_type)::text = ANY ('{single_select,multiple_select,preference_select}'::text[]))
  • Rows Removed by Join Filter: 2
  • Filter: (((fields.answer_type)::text <> ALL ('{single_select,multiple_select,preference_select}'::text[])) OR ((answers.answer ~ '^[0-9]+$'::text) AND (NOT field_answers.deleted)))
28. 15.564 84.301 ↑ 1.9 17,269 1

Hash Join (cost=38.56..639,885.87 rows=33,540 width=78) (actual time=3.026..84.301 rows=17,269 loops=1)

  • Hash Cond: (answers.field_id = fields.id)
  • Join Filter: ((((fields.answer_type)::text <> 'staff_single_select'::text) OR (answers.answer ~ '^[0-9]+$'::text)) AND (((fields.answer_type)::text <> ALL ('{text,long_text}'::text[])) OR (char_length(answers.plain_text_answer) < 32766)) AND (((fields.answer_type)::text <> ALL ('{number,percentage}'::text[])) OR ((answers.answer ~ '^([0-9]+[.]?[0-9]*|[.][0-9]+)$'::text) AND ((answers.answer)::double precision >= '-3.4e+38'::double precision) AND ((answers.answer)::double precision <= '3.4e+38'::double precision))))
  • Rows Removed by Join Filter: 1720
29. 65.782 65.782 ↑ 9.8 18,989 1

Index Scan using index_answers_on_owner_id_and_owner_type on answers (cost=0.57..637,112.79 rows=186,015 width=67) (actual time=0.042..65.782 rows=18,989 loops=1)

  • Index Cond: ((owner_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[])) AND ((owner_type)::text = ANY ('{admins,candidates}'::text[])))
  • Filter: (answer <> ''::text)
30. 0.078 2.955 ↓ 1.1 137 1

Hash (cost=36.43..36.43 rows=125 width=15) (actual time=2.955..2.955 rows=137 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 15kB
31. 2.877 2.877 ↓ 1.1 137 1

Seq Scan on fields (cost=0.00..36.43 rows=125 width=15) (actual time=0.019..2.877 rows=137 loops=1)

  • Filter: ((NOT deleted) AND ((owner_type)::text = ANY ('{admins,candidates}'::text[])) AND (((field_type)::text = 'DefinedAnswers'::text) OR (((field_type)::text = 'MainField'::text) AND ((main_field)::text = 'overall_rating'::text))) AND ((answer_type)::text = ANY ('{single_select,multiple_select,preference_select,staff_single_select,number,percentage,text,long_text,date,url}'::text[])) AND ((owner_type)::text = ANY ('{admins,candidates,assessment_results,evaluations,hiring,referrals,videos,applications,events,requisitions,campus}'::text[])))
  • Rows Removed by Filter: 349
32. 5.733 13.585 ↑ 1.0 12,809 1

Hash (cost=314.19..314.19 rows=12,809 width=25) (actual time=13.584..13.585 rows=12,809 loops=1)

  • Buckets: 16384 Batches: 1 Memory Usage: 860kB
33. 7.852 7.852 ↑ 1.0 12,809 1

Seq Scan on field_answers (cost=0.00..314.19 rows=12,809 width=25) (actual time=1.069..7.852 rows=12,809 loops=1)

  • Filter: (NOT deleted)
  • Rows Removed by Filter: 1010
34. 0.000 0.000 ↓ 0.0 0 17,269

Materialize (cost=0.14..8.17 rows=1 width=36) (actual time=0.000..0.000 rows=0 loops=17,269)

35. 0.003 0.003 ↓ 0.0 0 1

Index Scan using index_i18n_strings_on_translatable_type on i18n_strings (cost=0.14..8.16 rows=1 width=36) (actual time=0.003..0.003 rows=0 loops=1)

  • Index Cond: ((translatable_type)::text = 'FieldAnswer'::text)
36. 4.487 30.000 ↑ 4.0 1 2,000

Hash Semi Join (cost=41,925.91..41,971.81 rows=4 width=8) (actual time=0.014..0.015 rows=1 loops=2,000)

  • Hash Cond: (documents.created_at = "ANY_subquery".max)
37. 12.000 12.000 ↑ 9.0 1 2,000

Index Scan using index_documents_on_owner_id_and_owner_type on documents (cost=0.43..39.06 rows=9 width=16) (actual time=0.006..0.006 rows=1 loops=2,000)

  • Index Cond: (owner_id = users.id)
38. 0.400 13.513 ↑ 10.1 1,429 1

Hash (cost=41,745.15..41,745.15 rows=14,426 width=8) (actual time=13.512..13.513 rows=1,429 loops=1)

  • Buckets: 16384 Batches: 1 Memory Usage: 184kB
39. 0.523 13.113 ↑ 10.1 1,429 1

Subquery Scan on ANY_subquery (cost=41,456.63..41,745.15 rows=14,426 width=8) (actual time=12.086..13.113 rows=1,429 loops=1)

40. 1.467 12.590 ↑ 10.1 1,429 1

HashAggregate (cost=41,456.63..41,600.89 rows=14,426 width=12) (actual time=12.085..12.590 rows=1,429 loops=1)

  • Group Key: documents_1.owner_id
41. 11.123 11.123 ↑ 7.9 1,843 1

Index Scan using index_documents_on_owner_type_and_owner_id on documents documents_1 (cost=0.43..41,383.66 rows=14,594 width=12) (actual time=0.018..11.123 rows=1,843 loops=1)

  • Index Cond: (((owner_type)::text = 'user'::text) AND (owner_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[])))
  • Filter: ((NOT deleted) AND ((document_type)::text = 'resume'::text))
  • Rows Removed by Filter: 1
42. 22.000 22.000 ↑ 1.0 1 2,000

Index Scan using index_parsed_resumes_on_user_id on parsed_resumes (cost=0.43..8.07 rows=1 width=571) (actual time=0.011..0.011 rows=1 loops=2,000)

  • Index Cond: (user_id = users.id)
43. 2.000 2.000 ↓ 0.0 0 2,000

Index Only Scan using users_pkey on users creators (cost=0.43..3.25 rows=1 width=4) (actual time=0.001..0.001 rows=0 loops=2,000)

  • Index Cond: (id = mod_history.admin_id)
  • Heap Fetches: 112
44. 4.000 4.000 ↓ 0.0 0 2,000

Index Scan using index_modification_history_sources_on_modification_history_id on modification_history_sources (cost=0.29..5.59 rows=1 width=8) (actual time=0.002..0.002 rows=0 loops=2,000)

  • Index Cond: (mod_history.id = modification_history_id)
45. 0.000 0.000 ↓ 0.0 0 2,000

Index Only Scan using countries_pkey on countries source_country (cost=0.14..2.16 rows=1 width=4) (actual time=0.000..0.000 rows=0 loops=2,000)

  • Index Cond: (id = modification_history_sources.country_id)
  • Heap Fetches: 0
46. 0.002 1.571 ↓ 0.0 0 1

Materialize (cost=0.29..3,532.28 rows=1 width=36) (actual time=1.571..1.571 rows=0 loops=1)

47. 0.003 1.569 ↓ 0.0 0 1

GroupAggregate (cost=0.29..3,532.26 rows=1 width=36) (actual time=1.568..1.569 rows=0 loops=1)

  • Group Key: education_instances.user_id
48. 1.566 1.566 ↓ 0.0 0 1

Index Scan using index_education_instances_on_user_id on education_instances (cost=0.29..3,532.24 rows=1 width=16) (actual time=1.566..1.566 rows=0 loops=1)

  • Index Cond: (user_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[]))
  • Filter: ((NOT deleted) AND (application_id IS NULL))
  • Rows Removed by Filter: 6
49. 0.002 1.409 ↓ 0.0 0 1

Materialize (cost=0.29..3,532.27 rows=1 width=36) (actual time=1.408..1.409 rows=0 loops=1)

50. 0.002 1.407 ↓ 0.0 0 1

GroupAggregate (cost=0.29..3,532.26 rows=1 width=36) (actual time=1.407..1.407 rows=0 loops=1)

  • Group Key: education_instances_1.user_id
51. 1.405 1.405 ↓ 0.0 0 1

Index Scan using index_education_instances_on_user_id on education_instances education_instances_1 (cost=0.29..3,532.24 rows=1 width=8) (actual time=1.405..1.405 rows=0 loops=1)

  • Index Cond: (user_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[]))
  • Filter: ((NOT deleted) AND (application_id IS NULL))
  • Rows Removed by Filter: 6
52. 0.001 1.403 ↓ 0.0 0 1

Materialize (cost=0.29..3,532.27 rows=1 width=36) (actual time=1.403..1.403 rows=0 loops=1)

53. 0.001 1.402 ↓ 0.0 0 1

GroupAggregate (cost=0.29..3,532.26 rows=1 width=36) (actual time=1.402..1.402 rows=0 loops=1)

  • Group Key: education_instances_2.user_id
54. 1.401 1.401 ↓ 0.0 0 1

Index Scan using index_education_instances_on_user_id on education_instances education_instances_2 (cost=0.29..3,532.24 rows=1 width=8) (actual time=1.400..1.401 rows=0 loops=1)

  • Index Cond: (user_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[]))
  • Filter: ((NOT deleted) AND (application_id IS NULL))
  • Rows Removed by Filter: 6
55. 0.048 20.506 ↑ 47.9 53 1

Materialize (cost=3,008.35..151,381.89 rows=2,540 width=132) (actual time=19.168..20.506 rows=53 loops=1)

56. 0.454 20.458 ↑ 47.9 53 1

GroupAggregate (cost=3,008.35..151,350.14 rows=2,540 width=132) (actual time=19.166..20.458 rows=53 loops=1)

  • Group Key: event_attendees.user_id
57. 0.047 19.103 ↑ 47.1 54 1

Sort (cost=3,008.35..3,014.70 rows=2,542 width=15) (actual time=19.085..19.103 rows=54 loops=1)

  • Sort Key: event_attendees.user_id
  • Sort Method: quicksort Memory: 27kB
58. 0.050 19.056 ↑ 47.1 54 1

Hash Join (cost=543.66..2,864.58 rows=2,542 width=15) (actual time=17.770..19.056 rows=54 loops=1)

  • Hash Cond: (event_attendees.event_id = events.id)
59. 1.747 1.747 ↑ 47.4 54 1

Index Scan using index_event_attendees_on_user_id on event_attendees (cost=0.29..2,286.18 rows=2,562 width=15) (actual time=0.494..1.747 rows=54 loops=1)

  • Index Cond: (user_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[]))
  • Filter: (NOT deleted)
60. 1.751 17.259 ↑ 1.0 5,863 1

Hash (cost=470.08..470.08 rows=5,863 width=4) (actual time=17.258..17.259 rows=5,863 loops=1)

  • Buckets: 8192 Batches: 1 Memory Usage: 271kB
61. 15.508 15.508 ↑ 1.0 5,863 1

Seq Scan on events (cost=0.00..470.08 rows=5,863 width=4) (actual time=0.866..15.508 rows=5,863 loops=1)

  • Filter: (NOT deleted)
  • Rows Removed by Filter: 45
62.          

SubPlan (forGroupAggregate)

63. 0.318 0.583 ↑ 1.0 1 53

Aggregate (cost=8.32..8.33 rows=1 width=32) (actual time=0.011..0.011 rows=1 loops=53)

64. 0.265 0.265 ↑ 1.0 1 53

Index Scan using user_id_signed_into_type_and_id on sign_ins (cost=0.29..8.31 rows=1 width=12) (actual time=0.004..0.005 rows=1 loops=53)

  • Index Cond: ((user_id = event_attendees.user_id) AND ((signed_into_type)::text = 'event'::text))
65. 0.053 0.318 ↑ 1.0 1 53

Aggregate (cost=50.03..50.04 rows=1 width=32) (actual time=0.006..0.006 rows=1 loops=53)

66. 0.053 0.265 ↓ 0.0 0 53

Nested Loop Left Join (cost=1.41..50.00 rows=2 width=38) (actual time=0.005..0.005 rows=0 loops=53)

67. 0.000 0.212 ↓ 0.0 0 53

Nested Loop Left Join (cost=1.13..49.16 rows=2 width=38) (actual time=0.004..0.004 rows=0 loops=53)

  • Join Filter: ((invites.invite_type)::text = 'sessions'::text)
68. 0.053 0.212 ↓ 0.0 0 53

Nested Loop Left Join (cost=0.85..32.54 rows=2 width=34) (actual time=0.004..0.004 rows=0 loops=53)

69. 0.053 0.159 ↓ 0.0 0 53

Nested Loop Left Join (cost=0.57..31.90 rows=2 width=34) (actual time=0.003..0.003 rows=0 loops=53)

  • Join Filter: ((invites.invite_type)::text = 'schedules'::text)
70. 0.106 0.106 ↓ 0.0 0 53

Index Scan using index_invites_on_invited_id on invites (cost=0.29..15.27 rows=2 width=26) (actual time=0.002..0.002 rows=0 loops=53)

  • Index Cond: (invited_id = event_attendees.user_id)
  • Filter: (((invite_type)::text = ANY ('{events,schedules,sessions}'::text[])) AND ((status)::text = ANY ('{registered,accepted,declined,invited}'::text[])))
  • Rows Removed by Filter: 0
71. 0.000 0.000 ↓ 0.0 0

Index Scan using slot_attendances_invite_status on slot_attendances slots (cost=0.29..8.30 rows=1 width=12) (never executed)

  • Index Cond: (invites.id = invite_id)
72. 0.000 0.000 ↓ 0.0 0

Index Scan using interview_schedule_occurrences_pkey on interview_schedule_occurrences slot_dates (cost=0.28..0.31 rows=1 width=8) (never executed)

  • Index Cond: (slots.occurrence_id = id)
73. 0.000 0.000 ↓ 0.0 0

Index Scan using session_attendances_invite_status on session_attendances sessions (cost=0.28..8.30 rows=1 width=12) (never executed)

  • Index Cond: (invites.id = invite_id)
74. 0.000 0.000 ↓ 0.0 0

Index Scan using event_session_occurrences_pkey on event_session_occurrences session_dates (cost=0.28..0.41 rows=1 width=8) (never executed)

  • Index Cond: (sessions.occurrence_id = id)
75. 0.211 10.545 ↑ 6.5 456 1

Materialize (cost=6,959.59..7,056.29 rows=2,974 width=36) (actual time=9.533..10.545 rows=456 loops=1)

76. 0.662 10.334 ↑ 6.5 456 1

GroupAggregate (cost=6,959.59..7,019.11 rows=2,974 width=36) (actual time=9.531..10.334 rows=456 loops=1)

  • Group Key: owner_tags.owner_id
77. 0.333 9.672 ↑ 6.1 489 1

Sort (cost=6,959.59..6,967.04 rows=2,980 width=8) (actual time=9.520..9.672 rows=489 loops=1)

  • Sort Key: owner_tags.owner_id
  • Sort Method: quicksort Memory: 47kB
78. 0.287 9.339 ↑ 6.1 489 1

Hash Join (cost=39.91..6,787.62 rows=2,980 width=8) (actual time=3.396..9.339 rows=489 loops=1)

  • Hash Cond: (owner_tags.tag_id = tags.id)
79. 6.323 6.323 ↑ 6.1 490 1

Index Only Scan using index_owner_tags_on_owner_id_and_owner_type_and_tag_id on owner_tags (cost=0.42..6,707.16 rows=2,980 width=8) (actual time=0.651..6.323 rows=490 loops=1)

  • Index Cond: ((owner_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[])) AND (owner_type = 'user'::text))
  • Heap Fetches: 17
80. 0.267 2.729 ↓ 1.0 957 1

Hash (cost=27.55..27.55 rows=955 width=4) (actual time=2.729..2.729 rows=957 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 42kB
81. 2.462 2.462 ↓ 1.0 957 1

Seq Scan on tags (cost=0.00..27.55 rows=955 width=4) (actual time=0.005..2.462 rows=957 loops=1)

82. 0.111 32.319 ↑ 64.6 167 1

Materialize (cost=26,253.37..26,657.99 rows=10,790 width=68) (actual time=31.176..32.319 rows=167 loops=1)

83. 0.960 32.208 ↑ 64.6 167 1

GroupAggregate (cost=26,253.37..26,523.12 rows=10,790 width=68) (actual time=31.172..32.208 rows=167 loops=1)

  • Group Key: folder_members.user_id
84. 0.220 31.248 ↑ 36.5 296 1

Sort (cost=26,253.37..26,280.34 rows=10,790 width=9) (actual time=31.135..31.248 rows=296 loops=1)

  • Sort Key: folder_members.user_id
  • Sort Method: quicksort Memory: 38kB
85. 0.271 31.028 ↑ 36.5 296 1

Hash Join (cost=63.78..25,530.58 rows=10,790 width=9) (actual time=3.682..31.028 rows=296 loops=1)

  • Hash Cond: (folder_members.folder_id = folders.id)
86. 27.489 27.489 ↑ 78.1 359 1

Index Scan using index_folder_members_on_user_id on folder_members (cost=0.42..25,254.25 rows=28,020 width=9) (actual time=0.393..27.489 rows=359 loops=1)

  • Index Cond: (user_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[]))
87. 0.280 3.268 ↓ 1.0 894 1

Hash (cost=52.19..52.19 rows=893 width=4) (actual time=3.268..3.268 rows=894 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 40kB
88. 2.988 2.988 ↓ 1.0 894 1

Seq Scan on folders (cost=0.00..52.19 rows=893 width=4) (actual time=0.008..2.988 rows=894 loops=1)

  • Filter: (NOT deleted)
  • Rows Removed by Filter: 1426
89. 0.184 10.089 ↑ 6.4 312 1

Materialize (cost=0.42..7,170.89 rows=2,002 width=36) (actual time=0.098..10.089 rows=312 loops=1)

90. 0.542 9.905 ↑ 6.4 312 1

GroupAggregate (cost=0.42..7,145.86 rows=2,002 width=36) (actual time=0.093..9.905 rows=312 loops=1)

  • Group Key: users_to_disclaimers.user_id
91. 0.904 9.363 ↑ 6.4 312 1

Nested Loop (cost=0.42..7,110.83 rows=2,002 width=8) (actual time=0.047..9.363 rows=312 loops=1)

  • Join Filter: (users_to_disclaimers.disclaimer_id = disclaimers.id)
  • Rows Removed by Join Filter: 1248
92. 8.147 8.147 ↑ 6.4 312 1

Index Scan using index_users_to_disclaimers_on_user_id on users_to_disclaimers (cost=0.42..7,019.70 rows=2,002 width=8) (actual time=0.032..8.147 rows=312 loops=1)

  • Index Cond: (user_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[]))
93. 0.306 0.312 ↓ 1.7 5 312

Materialize (cost=0.00..1.04 rows=3 width=4) (actual time=0.000..0.001 rows=5 loops=312)

94. 0.006 0.006 ↓ 1.7 5 1

Seq Scan on disclaimers (cost=0.00..1.03 rows=3 width=4) (actual time=0.005..0.006 rows=5 loops=1)

  • Filter: (NOT deleted)
95. 0.072 9.015 ↑ 55.6 67 1

Materialize (cost=11,430.22..11,747.57 rows=3,724 width=196) (actual time=7.708..9.015 rows=67 loops=1)

96. 1.248 8.943 ↑ 55.6 67 1

GroupAggregate (cost=11,430.22..11,701.02 rows=3,724 width=200) (actual time=7.705..8.943 rows=67 loops=1)

  • Group Key: campaign_delivery_recipients.user_id
97. 0.103 7.695 ↑ 38.6 97 1

Sort (cost=11,430.22..11,439.58 rows=3,741 width=82) (actual time=7.648..7.695 rows=97 loops=1)

  • Sort Key: campaign_delivery_recipients.user_id
  • Sort Method: quicksort Memory: 32kB
98. 0.068 7.592 ↑ 38.6 97 1

Hash Join (cost=25.36..11,208.21 rows=3,741 width=82) (actual time=2.945..7.592 rows=97 loops=1)

  • Hash Cond: (deliveries.campaign_id = campaigns.id)
99. 0.107 6.035 ↑ 38.7 97 1

Hash Join (cost=14.32..11,145.68 rows=3,755 width=82) (actual time=1.442..6.035 rows=97 loops=1)

  • Hash Cond: (campaign_delivery_recipients.campaign_delivery_id = deliveries.id)
100. 4.831 4.831 ↑ 38.7 97 1

Index Scan using index_campaign_delivery_recipients_on_user_id on campaign_delivery_recipients (cost=0.42..11,080.15 rows=3,755 width=73) (actual time=0.325..4.831 rows=97 loops=1)

  • Index Cond: (user_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[]))
101. 0.140 1.097 ↑ 1.0 440 1

Hash (cost=8.40..8.40 rows=440 width=17) (actual time=1.097..1.097 rows=440 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 31kB
102. 0.957 0.957 ↑ 1.0 440 1

Seq Scan on campaign_deliveries deliveries (cost=0.00..8.40 rows=440 width=17) (actual time=0.005..0.957 rows=440 loops=1)

103. 0.084 1.489 ↑ 1.0 268 1

Hash (cost=7.69..7.69 rows=268 width=4) (actual time=1.489..1.489 rows=268 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 18kB
104. 1.405 1.405 ↑ 1.0 268 1

Seq Scan on campaigns (cost=0.00..7.69 rows=268 width=4) (actual time=0.007..1.405 rows=268 loops=1)

  • Filter: (NOT deleted)
  • Rows Removed by Filter: 1
105. 0.001 1.038 ↓ 0.0 0 1

Materialize (cost=6.95..6.99 rows=1 width=36) (actual time=1.038..1.038 rows=0 loops=1)

106. 0.003 1.037 ↓ 0.0 0 1

GroupAggregate (cost=6.95..6.98 rows=1 width=36) (actual time=1.036..1.037 rows=0 loops=1)

  • Group Key: addresses.addressable_id
107. 0.008 1.034 ↓ 0.0 0 1

Sort (cost=6.95..6.96 rows=1 width=21) (actual time=1.034..1.034 rows=0 loops=1)

  • Sort Key: addresses.addressable_id
  • Sort Method: quicksort Memory: 25kB
108. 1.026 1.026 ↓ 0.0 0 1

Index Scan using index_addresses_on_addressable_type on addresses (cost=0.42..6.94 rows=1 width=21) (actual time=1.026..1.026 rows=0 loops=1)

  • Index Cond: ((addressable_type)::text = 'Class'::text)
  • Filter: ((NOT deleted) AND (latitude IS NOT NULL) AND (longitude IS NOT NULL) AND (addressable_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[])))
109. 1.032 438.803 ↑ 20.8 1,460 1

Materialize (cost=0.86..120,641.40 rows=30,430 width=36) (actual time=1.305..438.803 rows=1,460 loops=1)

110. 3.813 437.771 ↑ 20.8 1,460 1

GroupAggregate (cost=0.86..120,261.03 rows=30,430 width=36) (actual time=1.298..437.771 rows=1,460 loops=1)

  • Group Key: applications.user_id
111. 4.342 433.958 ↑ 9.1 3,449 1

Nested Loop (cost=0.86..119,724.40 rows=31,251 width=8) (actual time=0.536..433.958 rows=3,449 loops=1)

112. 91.614 91.614 ↑ 9.1 3,449 1

Index Scan using index_applications_on_user_id_and_deleted on applications (cost=0.43..85,135.70 rows=31,259 width=8) (actual time=0.024..91.614 rows=3,449 loops=1)

  • Index Cond: ((user_id = ANY ('{3567616,3497230,3486901,3489124,3494611,3502764,3841563,3505331,3460288,3460309,4176166,3914041,3787600,4264075,3588041,3460297,1292314,3460313,4217948,3460306,3460289,3460286,3460292,3700794,4237673,2794704,1304830,1728742,2026234,2038508,2120386,2184216,2194720,2569511,2580213,2597575,2910511,2988267,3136315,3308823,3460265,3460266,3460267,3460268,3460269,3460274,3460275,3460276,3460277,3460278,3460290,3460296,3460300,3460301,3460302,3460304,3460310,3460315,3534392,3557878,3484698,3646505,3589042,3499475,4046375,474497,3502765,3491893,488328,1584379,3468782,3545178,3505333,3920099,4197670,3574660,3487268,1420720,3864023,3367324,3505332,3637210,3885739,4451039,3505335,3460797,996465,3489125,4420214,3496852,184110,1304501,1308144,1728797,1868331,1876648,2026237,2559238,2559239,2569513,2611826,2746279,2910512,3098282,249742,2059015,3496889,3496890,3469424,3508214,3484699,3647590,3525269,3460336,3552453,3494612,3603102,3562067,4046376,4100718,3460317,3460332,3460339,4250785,3460366,3460353,3460367,3588043,3460359,3460325,3460369,3460331,3460318,4451040,3460328,4416651,3460361,3689799,3460324,3793912,3460341,3787315,3106922,3514409,1728859,2403387,2901162,1122464,1434456,1728860,2026238,2049560,2097384,3214537,3460319,3460323,3460342,3460343,3460347,3460349,3460352,3460355,3460360,3460362,3460372,3470282,3797708,3518643,3489127,3494625,3914043,3595253,3460398,1976810,3460379,3513679,3621441,3460397,4464368,3751576,3990915,3484700,4075432,3614646,4129688,3460404,2638854,4250430,4275863,3460377,3460391,3460375,3460378,3460390,3460451,3460395,3460447,2670193,2753286,1037458,1542087,1692936,1728181,2148015,3285467,3460374,3460382,3460383,3460385,3460387,3460388,3460393,3460399,3460401,3460403,3460416,3460418,3460421,3460430,3460438,3460448,3460455,3460458,2627907,3234528,2912693,3642820,3423110,4129630,3460460,3736584,3603103,4283686,3460464,3525270,3608871,3460465,1761197,4154244,3505341,92009,252933,392586,470592,477391,833633,887551,1071691,1157837,1308640,1311227,1311740,1343001,1347119,1423251,1425278,1608633,1665460,1675859,1709946,1727969,1728204,1735112,1743751,1758680,1761184,1761185,1761187,1761191,1761192,2078791,2184219,2213686,3460462,3460463,3484702,2941376,2636308,2753287,2991494,3007861,3657925,3689814,3545180,3552455,4081243,3505547,3513672,3460478,3460472,3751577,3588042,3614854,3460475,409549,409919,410863,468450,475314,487417,524516,648340,755582,807952,836600,850129,888538,942435,1295789,1420370,1664307,1693830,1735920,1761193,1761194,1761195,1761198,1761203,1761204,1761206,1761207,1761208,1761209,1761211,1845805,2114286,2194721,2569882,2605178,3460473,3460470,3460469,3460477,4099032,3453967,4190518,2842422,3534395,3007862,3090021,3353293,3992074,3460483,4387624,3460480,3700798,140076,186933,223290,439863,623503,679324,730483,765809,767918,796355,849240,891982,903310,929430,957292,1002185,1076038,1143470,1145476,1249185,1308939,1326069,1420789,1449953,1477282,1686638,1696203,1736469,3887052,1868336,2002328,2026244,2049565,2061508,2120387,2141014,2194722,2615037,3460482,3647593,3484237,3460485,2884814,2943154,3134946,3157600,3460488,3567617,3990917,4253160,3461275,3864026,3588045,4063586,134067,3484708,3460492,3552162,3484716,3895611,3484712,3460493,4028711,3484711,134833,182751,560786,616543,795572,890087,905937,907404,1036960,1149045,1248026,1301291,1433985,1444703,1662797,1736724,1743757,1743762,1743765,1743766,1743767,1743768,1743772,1845808,1845809,1868340,1916000,2120388,2210028,2219223,2559240,2584406,3273963,704915,3460505,3460507,3460511,3525272,3775036,4190519,3460540,3505243,3460514,3990918,3518644,3460519,3545183,3576240,4075433,3460527,161266,3460509,3460501,4219724,3856157,3460534,3484718,3460539,3460536,3907426,3460541,3460512,3460533,3460517,3460510,3329614,3460504,3460497,3460526,298383,838830,1100323,1224935,1513136,1693737,1726146,1963277,2120390,2569514,3460499,3460502,3460513,3460515,3460521,3460523,3460530,3460532,3460537,3460538,3460543,3460544,3841566,2842423,2905169,3465610,3545184,3534397,3460576,3460585,3423111,3603104,3460560,3490396,3460571,3460558,995215,2416596,3460547,3460562,3460586,4232938,3595254,3706375,3484721,1132864,3460577,3787277,3510981,3484719,261033,488886,1676783,1716726,1743758,1743761,1743865,2194724,2207445,3460548,3460551,3460552,3460553,3460557,3460559,3460563,3460599,3460600,3460601,3460602,3460603,3460604,3460605,3460606,3460607,3460608,3460609,3460610,3460611,3460612,3460613,3465349,3505343,3864027,2627908,3484722,3559570,3484723,2967578,138492,161833,875332,1306619,1405817,1714273,1743811,2097393,2151205,3007863,3308824,3460614,3460615,3460616,3460617,3460618,3460619,3460620,3460621,3460622,3460623,3460624,3460625,3460626,3460627,3460628,3460629,3460630,3460631,3460632,3460633,3460634,3460635,3460636,3460637,3460638,3460639,3460640,3460641,3460642,3460643,3460644,3460645,3460646,3460647,3460648,3460649,3460650,3460651,3460652,3460653,3460654,3506671,3484728,3460715,3484729,3460717,2857160,3460693,3460711,3460703,4093269,3460712,4074973,4045991,3460713,3225430,3460700,3494632,3460718,3460709,3689809,3484731,531505,882067,1080375,1313816,1443651,1743859,1743897,2026249,2151206,2191756,2194725,3325140,3423112,3460655,3460663,3460664,3460665,3460666,3460667,3460668,3460669,3460670,3460671,3460672,3460673,3460674,3460675,3460676,3460677,3460678,3460679,3460689,3460694,3460696,3460710,3460714,3460707,3466538,4243588,3610915,2671572,1750714,1169554,3460769,3316979,3460756,3460767,3460723,3460719,4190520,3486911,3460726,3460729,3585382,3689811,3460768,3460761,3460731,3460762,3460758,3460720,3460765,3460759,71678,110938,122417,168238,177168,391047,409588,410883,711442,1098381,1109213,1249537,1420001,1506145,1665293,1690013,1700659,1718347,1725372,1736511,1743367,1743954,1743958,1845814,1845815,2097396,2097397,2572795,3460745,3460727,3567621,4190521,3614855,3489133,827436,2660102,2909703,3663118,3460780,2753289,3460794,3460770,3592016,3489134,3460806,3460775,3656748,3460782,3990920,3510508,3460796,3460802,3460771,3460776,3460807,3460774,4129689,4394627,3460805,44836,64356,73465,105951,324988,789350,797942,799771,826552,1316631,1321809,1332280,1408754,1590190,1666015,1723640,1743987,1845817,1899699,1948903,2147931,3460777,3460779,3460784,3460785,3460788,3460808,3574669,3614856,3460866,3460846,3460843,3460827,3460839,3668185,3460837,3460830,3511335,3460861,2746282,3460811,2055623,3460852,3460832,3460829,2921641,3460833,3510987,3460823,3460828,3460809,3787336,3460853,4231320,3460821,3460820,3460825,3460810,3759141,3864029,3849581,3460844,3460812,70069,286884,527470,787836,792991,1348279,1660653,1672239,1744033,1744034,1744035,1744037,1744038,1916011,3610917,3460813,385077,3460840,3460841,3460847,3460860,3460862,3511805,2781238,3007864,3517116,3460867,3460933,3460959,3990921,3755811,3460868,4302776,3460926,4347002,3460942,3510989,3484682,3460927,3486919,3496818,3942889,3647599,3460947,3460946,3202995,3460871,287477,395553,427183,1003630,1010908,1095518,1246811,1313209,1328284,1715221,1716612,1728575,2120392,2219226,3460869,3460874,3460875,3460876,3460877,3460939,3460940,3460944,3460964,3460967,3460968,3460969,3460972,3460973,3460974,3460977,3460984,3460988,3460922,2646138,2499384,3489137,2842424,2921642,4081245,3614857,3502770,3706376,3762063,3494638,3461001,3461027,3461029,3461026,4166258,4244437,3461025,3461010,3461008,3461019,3461015,3461002,224413,516428,795587,796123,797785,806451,807709,807927,807939,810220,1114359,1736456,1744148,1744204,2026255,2120393,2191757,2921643,3094624,3460998,3460999,3461007,3461005,3461006,3461012,3461016,3461018,3461020,3461021,3461022,3461023,3479225,3486921,3489136,3782305,2781649,3489140,3775037,3801271,3486928,3461060,3461036,3505245,3518656,3525274,3841570,3534403,3461073,3513514,4038940,3461056,3864031,95128,3990922,3489138,3461030,3461031,3461042,3489139,3090022,3296746,302209,453155,546883,875218,1191463,1248825,1274732,1327338,1447787,1448915,1450696,1681494,1681506,1689221,1720330,2026257,2097402,2151208,2580216,3461037,3461039,3461041,3461052,3461067,3461072,3461055,3461078,3461065,3628065,3755813,3461110,3864032,3484732,815518,3484737,2627910,3484736,3461081,3461107,3461108,2184221,2857161,3484733,3484735,1441190,4430642,143744,776632,850803,876617,958002,967709,1039685,1076888,1160000,1171218,1184527,1249637,1327399,1329436,1330826,1442949,1452710,1480060,1714669,1728976,1908018,2219227,2597577,3296747,3345025,3461082,3461084,3461087,3461090,3461091,3461099,3461100,3461102,3461109,3461105,3588050,3461127,3461117,3461122,3579480,3461130,3461140,3540162,3864033,3801272,4100861,3461143,3461121,3461139,3642822,3536977,3461136,3366697,3885742,3990923,3461133,2418641,3461138,3461137,3782306,3461114,3461129,3525275,3508218,2905172,3461141,3486935,1711743,1076154,1697128,1702000,1702537,1868357,1908085,1916014,1966494,2120394,2191758,2219228,2605177,3345026,3486934,3461120,3461124,3461126,3461128,3461132,3461134,3489145,3461116,3251860,3628066,3461146,4231321,3461147,3494646,3461149,3461150,3461151,3461145,3461153,305988,4256855,4036027,1088152,3706378,3514312,1692494,44169,80161,141318,203764,407547,465692,806550,831711,850323,936394,1094690,1244706,1248643,1249293,1249611,1249856,1271911,1289246,1378653,1452876,1562146,1666763,1687050,1709716,1719147,1726446,1728523,1744036,1744272,1744284,1761225,1761227,1868358,1900708,1908082,2167101,2559241,3489146,2794708,2910514,3628067,4224116,3202747,3755815,3461164,4251616,3642823,3423114,3461156,3461159,51562,71791,113370,131781,133136,135359,145989,282753,394427,396288,401175,424978,461215,538160,596488,645140,787612,804459,911824,1306056,1320220,1399557,1446469,1481584,1497957,1539667,1634736,1705063,1710553,1726200,1736156,1744047,1744318,1761226,1900710,1963288,2049578,2191759,3461165,3461168,3461178,3461179,3461180,3461182,3864034,1428578,3611239,3891650,4277396,3494649,2452241,3205973,4469716,2646139,1506316,2784945,4269844,2809640,2910515,3461189,3486906,3265909,1967062,3461186,304795,394103,397694,555388,633280,671785,804104,821268,866367,984255,1035208,1080593,1310418,1322006,1331151,1406683,1548325,1576356,1582407,1686560,1693795,1695659,1708579,1731560,1743399,1916017,2026264,2120395,2120396,2213692,1325912,3517117,3461183,1029499,3189120,3608875,2636309,3886030,3461196,3461198,3801273,2746287,2905174,3897171,3284902,4335918,3345027,3805399,4154415,1719389,3461202,1810467,1900713,38437,47198,83658,214756,511156,826828,675367,683828,715820,801960,850828,871548,1294174,1303874,1307791,1351344,1381267,1385562,1456875,1518549,1540798,1552086,1662665,1714864,1721444,1736519,1845828,1900712,2120397,2569515,2575990,2597580,3461200,3461201,2808572,3461209,2746288,4168183,2842426,2857162,4142346,3938135,2857426,3031925,3144697,3574676,3992075,63470,128827,183097,464381,474841,499299,536061,589946,593323,650057,656557,689025,753860,810904,914269,1099923,1323707,4123706,1504009,1539517,1677041,1691269,1697780,4058833,1744324,1761259,1761260,1830312,1845831,1900714,1963290,1963291,1963293,2097412,2151209,2184227,2184228,2191760,2207449,2219231,2556658,2575991,3461214,3461215,3461216,3461212,3463805,2905176,2988271,4150072,3284903,3642824,3461219,3461220,3755818,4276326,3461223,4135956,42041,72517,85650,122427,135038,180575,396072,479146,658028,671777,714940,722534,897103,1090115,1123123,1405170,1720284,1736484,1736513,1761261,1761262,1845830,1868365,1916021,1963294,2120399,2124319,2151210,2559243,3461232,3484476,3461230,2705125,2660325,2746289,4136939,3755819,3461235,3461239,3545232,130657,278217,481935,713015,817973,851371,871066,1104307,1127744,1251457,1466185,1689601,1706588,1761265,1778876,1830317,1850655,1876666,1876667,1900716,1900717,1963295,2026267,2026268,2184229,2210032,2210033,2219233,3461234,3514326,3864036,2636310,2794709,2910516,3027093,3992076,921766,3517118,3567625,82898,121762,146255,163262,792110,800182,887925,902773,1644504,1678280,1701744,1710958,1761264,1845833,3461242,3461243,3461245,3461247,4197681,2753714,3990924,3461249,2781239,2828918,3878843,2967584,61820,314891,427069,563657,646680,804838,897404,950518,1079754,1096886,1551939,1665157,1704714,1710558,1900718,1916022,2026269,2174081,2207450,2219234,2988272,3461248,3534415,3461251,3642825,2636311,3801274,2660104,3529063,3461258,2809641,3687957,2905178,3007868,4423714,82377,88205,135914,146688,167642,410720,436259,547457,621995,788863,797098,797405,806427,808133,810897,897307,1728564,1249418,1253731,1587636,1691551,1714069,1723902,2151213,2207451,3094625,3136014,3402346,3461254,3461255,3586467,3461256,3461263,3990925,2828919,3461262,3461261,3841576,3943111,3461259,426013,3508229,584733,695212,760454,1248561,1720112,1724747,1900720,2026271,2120400,3461264,3494647,2740645,3567629,3489160,4288951,3489156,3960400,3687045,4034753,3494643,3920681,4394648,3489130,3489129,3489132,3489153,3787453,1281937,3489147,2436704,3489149,3489158,3505356,3489151,3489152,1828758,4373494,3489161,829705,850666,875163,876048,876156,883687,967915,1130966,1194285,1210103,1225015,1244358,1324851,1327755,1328785,1329665,1445539,1450919,1451160,1625104,1719028,1727637,1900721,1916024,1924785,2126669,2794710,3177846,3562073,3461303,3787561,3461269,3938141,3461298,3461301,3581786,2746292,3461309,3461276,3990926,3567499,3486910,4093277,3461271,3461312,4301971,3461272,4423716,3525281,3461300,2440171,3461306,3657938,3494639,758461,815095,1254553,1323575,1328281,1676396,1736604,1900722,1916025,1948920,1963299,2126192,2151214,2219236,3285475,3461267,3461270,3461277,3461284,3461294,3461295,3461297,3461302,3461308,3461310,3461296,3461313,3529064,4387663,3461351,3500783,3733509,3461334,3461347,3637422,3461344,3514338,3793915,3461327,3926997,3461319,3461320,3461331,3461332,3461338,3461318,3494630,1434265,3461352,2697409,3486907,3284904,1241044,1696368,1719978,1845843,1876675,1900723,2120401,2120402,2191761,2191762,2560304,3461314,3461317,3461321,3461325,3461335,3461353,3461354,3461355,3461356,3461357,3461358,3461326,3461346,3461348,3461336,3505363,3502774,3499487,3525285,3990927,3486916,3505361,3494629,3499491,3244765,3505360,3499481,4129612,3517121,3505358,3505359,4176167,3505364,3499484,417280,1543783,272418,3657941,3489162,3511007,3898260,246927,4040452,3801275,4160299,3505362,3499480,3518669,1460374,1713687,1845845,1876677,1900726,1963301,2026274,2122465,2191763,3103118,3203768,2224942,2661799,3289230,417717,3499495,3990928,3642826,4154416,3484748,3484750,3484764,3386257,3484754,4176168,4276002,3847723,3484752,3484743,3484747,3299835,3489164,3484761,3484763,3484749,3484727,3494633,3895880,3484762,3484751,3518677,3484753,3484755,3484740,3484744,3489163,3484760,3446526,3484756,1457824,1736674,1736681,1868378,1963302,2120403,2126670,2151216,2560305,2560306,2781242,2842425,3484757,3484738,3484759,3484765,3545354,369027,3505365,2434170,3505368,3505325,3505366,3489165,3525286,4081248,3648573,3484767,2504990,3647609,3788212,2402984,3590319,344390,528533,3517123,3471485,4210026,3838961,3518678,3484715,3484706,3505367,3295454,167847,3489131,1354729,1412118,1869395,1900728,2026279,2191764,2671816,2842428,82757,3484769,2574424,2793958,3484770,3486914,1297746,383347,445461,1736720,3502800,3499498,3787601,3675553,3489166,3502795,3810235,3505373,4335417,3494640,3284905,212069,3071982,3505376,4089972,3505370,3505381,3505246,3484774,3505387,281576,3505379,3511013,3505369,3505377,4216968,3505372,3486909,3505380,3505382,3505346,3505340,3375300,1226845,1724561,2026280,2597584,2605181,2645170,2646140,3537051,3296748,3499488,3505371,3505383,999901,3562078,3505388,4051877,3484771,78724,3505375,3888309,3461364,3461372,3461405,3461366,3461359,3484710,2632749,3461385,3461406,3605681,3461384,4046378,3901916,3461365,3461380,3302575,3461369,3461407,4347755,3461379,3461368,3461411,3461363,3461360,4069178,3461375,3461374,3461413,3489167,3461370,3525288,3461399,3461408}'::integer[])) AND (deleted = false))
  • Filter: (NOT deleted)
113. 338.002 338.002 ↑ 1.0 1 3,449

Index Only Scan using index_requisitions_on_id_and_deleted on requisitions (cost=0.42..1.10 rows=1 width=4) (actual time=0.097..0.098 rows=1 loops=3,449)

  • Index Cond: ((id = applications.requisition_id) AND (deleted = false))
  • Filter: (NOT deleted)
  • Heap Fetches: 399