We're having very similar problems to http://www.dragonbyte-tech.com/f37/absolutely-abysmal-performance-14410/ but I didn't want to hijack his thread.
We've added quite a few indexes to the dbtech_thanks_entry table to get it perform acceptably, however now that we're well over 7.5 million entries in the dbtech_thanks_entry table, It's starting to become a serious issue.
We are using this in conjunction with vBOptimise.
here's the current table indexes (there may actually be a few extras in here that aren't necessary) The table is InnoDB.
and, from the other thread, I gathered some threads with lots of thanks/likes -
(I killed it at that point)
The vast majority of slow queries in our slow query log grabs data from the dbtech_thanks tables. If you really need that data let me know and I can send it to you.
The master database server that this is running on is quite the monster. (PCIe-SSD drive for the MySQL data, 128GB RAM, 2x 10-core Xeons... ) So any help you can give would be appreciated. If you need more data, please let me know.
We've added quite a few indexes to the dbtech_thanks_entry table to get it perform acceptably, however now that we're well over 7.5 million entries in the dbtech_thanks_entry table, It's starting to become a serious issue.
We are using this in conjunction with vBOptimise.
here's the current table indexes (there may actually be a few extras in here that aren't necessary) The table is InnoDB.
Code:
mysql> show indexes from dbtech_thanks_entry;
+---------------------+------------+----------------+--------------+----------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+---------------------+------------+----------------+--------------+----------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| dbtech_thanks_entry | 0 | PRIMARY | 1 | entryid | A | 7586115 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | entryid | 1 | userid | A | 96026 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | entryid | 2 | entryid | A | 7586115 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | entryid_2 | 1 | receiveduserid | A | 105362 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | entryid_2 | 2 | entryid | A | 7586115 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | receiveduserid | 1 | receiveduserid | A | 126435 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | userid | 1 | userid | A | 101148 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | userid_2 | 1 | userid | A | 109943 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | userid_2 | 2 | contenttype | A | 114941 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | userid_2 | 3 | dateline | A | 7586115 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | contenttype | 1 | contenttype | A | 28 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | contenttype | 2 | contentid | A | 7586115 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | varname | 1 | varname | A | 34 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | varname | 2 | contenttype | A | 34 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | varname | 3 | contentid | A | 7586115 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | contenttype_2 | 1 | contenttype | A | 24 | NULL | NULL | | BTREE | | |
| dbtech_thanks_entry | 1 | contenttype_2 | 2 | dateline | A | 7586115 | NULL | NULL | | BTREE | | |
+---------------------+------------+----------------+--------------+----------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
17 rows in set (0.18 sec)
and, from the other thread, I gathered some threads with lots of thanks/likes -
Code:
mysql> SELECT COUNT(*) AS numthanks, threadid FROM dbtech_thanks_entry AS entry LEFT JOIN post AS post ON(post.postid = entry.contentid) WHERE contenttype = 'post' GROUP BY threadid ORDER BY numthanks DESC;
+-----------+----------+
| numthanks | threadid |
+-----------+----------+
| 91215 | 535388 |
| 63308 | 248862 |
| 36098 | 1205335 |
| 35014 | 951402 |
| 34423 | 639909 |
| 29463 | 1279413 |
| 28919 | 1386302 |
| 28236 | 1478071 |
| 26933 | 988547 |
| 25422 | 521993 |
| 23317 | 715972 |
| 22465 | 1282031 |
| 22042 | 1496968 |
| 21981 | 1279405 |
| 21565 | 1227453 |
| 20662 | 419362 |
| 19863 | 1610310 |
| 19119 | 1454785 |
| 18597 | 448668 |
| 18321 | 1702771 |
| 18035 | 391698 |
| 17555 | 258102 |
| 17290 | 436292 |
| 16845 | 907864 |
| 16481 | 1637108 |
| 15574 | 1185569 |
| 15330 | 533576 |
| 14475 | 1338277 |
| 14380 | 1232367 |
| 14127 | 866944 |
| 14037 | 552946 |
| 13877 | 1678165 |
| 13415 | 1592040 |
| 13135 | 496596 |
| 13065 | 1071971 |
| 12997 | 1597176 |
| 12718 | 1461770 |
| 12699 | 1154243 |
| 12649 | 619224 |
| 12623 | 584411 |
| 12114 | 1235673 |
| 11795 | 1195867 |
| 11701 | 526298 |
| 11651 | 1590461 |
| 11587 | 1694486 |
| 11343 | 902846 |
| 10956 | 180814 |
| 10866 | 893572 |
| 10777 | 1694463 |
| 10746 | 1546481 |
| 10535 | 1564587 |
| 10169 | 303650 |
| 10158 | 751306 |
| 9973 | 462238 |
| 9919 | 252329 |
| 9825 | 1543078 |
| 9697 | 210294 |
| 9672 | 987415 |
| 9616 | 312397 |
| 9363 | 450976 |
| 9326 | 211579 |
| 9323 | 902882 |
| 9318 | 623368 |
| 9073 | 1504557 |
| 8980 | 621473 |
| 8833 | 1072121 |
| 8789 | 1467252 |
| 8731 | 712180 |
| 8452 | 1589024 |
| 8437 | 1002079 |
| 8407 | 1633721 |
| 8355 | 591102 |
| 8166 | 1184839 |
| 8158 | 732972 |
| 8060 | 389562 |
| 7984 | 501192 |
| 7953 | 1105113 |
| 7877 | 1476943 |
| 7852 | 902866 |
| 7814 | 1193413 |
| 7792 | 586989 |
| 7704 | 410118 |
| 7403 | 196127 |
| 7357 | 1076301 |
| 7311 | 1195971 |
| 7306 | 328111 |
| 7298 | 1666368 |
| 7271 | 589712 |
| 7265 | 1557788 |
| 7209 | 233568 |
| 7202 | 902852 |
| 7163 | 289754 |
| 7061 | 649151 |
| 7055 | 1016985 |
| 6956 | 916096 |
| 6906 | 1669369 |
| 6867 | 1209153 |
| 6854 | 1622376 |
| 6835 | 409197 |
| 6802 | 142435 |
| 6736 | 1137657 |
| 6711 | 1650455 |
| 6684 | 296817 |
| 6651 | 1616158 |
| 6529 | 1675298 |
| 6502 | 620923 |
| 6501 | 572606 |
| 6451 | 824012 |
| 6352 | 324781 |
| 6329 | 248572 |
| 6279 | 330065 |
| 6218 | 1539298 |
| 6206 | 627065 |
| 6129 | 1691790 |
| 6122 | 1602228 |
| 6014 | 1437182 |
| 5989 | 505075 |
| 5973 | 312395 |
| 5905 | 841352 |
| 5892 | 125880 |
| 5876 | 1054781 |
| 5850 | 1016989 |
| 5846 | 565415 |
| 5825 | 429764 |
| 5821 | 1288357 |
| 5796 | 574298 |
| 5760 | 326552 |
| 5732 | 406050 |
| 5694 | 463228 |
| 5592 | 979994 |
| 5589 | 584932 |
| 5578 | 1096651 |
| 5525 | 1145371 |
| 5520 | 616596 |
| 5505 | 459134 |
| 5480 | 935364 |
| 5472 | 421289 |
| 5432 | 383003 |
| 5431 | 1585332 |
| 5368 | 1629952 |
| 5355 | 316909 |
| 5346 | 474259 |
| 5334 | 664188 |
| 5329 | 97155 |
| 5295 | 584077 |
| 5233 | 781324 |
| 5227 | 636797 |
| 5180 | 676730 |
| 5141 | 902836 |
| 5128 | 1485330 |
| 5110 | 1703213 |
| 5073 | 872588 |
| 5071 | 1107291 |
| 5040 | 1477662 |
| 5027 | 778352 |
| 5000 | 1358115 |
| 4953 | 902920 |
| 4926 | 559182 |
| 4923 | 525819 |
| 4907 | 268676 |
| 4863 | 517647 |
| 4860 | 1624852 |
| 4823 | 404830 |
| 4801 | 1518464 |
| 4797 | 1626406 |
| 4772 | 1552908 |
| 4771 | 373642 |
| 4720 | 1577981 |
| 4715 | 832114 |
| 4691 | 902874 |
| 4676 | 828816 |
| 4660 | 617380 |
| 4653 | 377403 |
| 4647 | 902894 |
| 4605 | 417666 |
| 4595 | 257492 |
| 4545 | 545083 |
| 4538 | 769564 |
| 4517 | 1399598 |
| 4490 | 955994 |
| 4476 | 1553988 |
| 4465 | 1597177 |
| 4459 | 1590092 |
| 4449 | 1690280 |
| 4440 | 347144 |
| 4416 | 465668 |
| 4384 | 988821 |
| 4383 | 244549 |
| 4358 | 572565 |
| 4320 | 1394666 |
| 4294 | 429804 |
| 4291 | 1077283 |
| 4289 | 1657774 |
| 4273 | 520031 |
| 4266 | 101602 |
| 4261 | 1422790 |
| 4259 | 1549099 |
| 4253 | 738932 |
| 4211 | 1707701 |
| 4200 | 105785 |
| 4184 | 1149643 |
| 4180 | 450211 |
| 4155 | 248878 |
| 4134 | 466766 |
| 4115 | 633339 |
| 4108 | 150050 |
| 4103 | 811646 |
| 4087 | 609716 |
| 4077 | 315079 |
| 4073 | 804178 |
| 4071 | 93057 |
| 4029 | 1337549 |
| 4022 | 997661 |
| 4018 | 217913 |
| 3998 | 1458518 |
| 3981 | 664296 |
| 3969 | 424489 |
| 3948 | 440790 |
| 3939 | 1629852 |
| 3896 | 1511420 |
| 3888 | 1454158 |
| 3853 | 902878 |
| 3850 | 665478 |
| 3850 | 1617497 |
| 3845 | 1452652 |
| 3824 | 1433647 |
| 3809 | 1641494 |
| 3790 | 1237079 |
| 3789 | 348428 |
| 3782 | 1663425 |
| 3779 | 1653423 |
| 3755 | 162411 |
| 3751 | 1235511 |
| 3742 | 359838 |
| 3737 | 1279265 |
| 3718 | 504738 |
| 3714 | 1514752 |
| 3710 | 1545969 |
| 3702 | 776476 |
| 3681 | 1640244 |
| 3656 | 1481300 |
| 3655 | 1078785 |
| 3642 | 771428 |
| 3641 | 431156 |
| 3639 | 1525535 |
| 3631 | 477094 |
| 3631 | 1527274 |
| 3627 | 303931 |
| 3625 | 264191 |
| 3624 | 434946 |
| 3619 | 435396 |
| 3618 | 712760 |
| 3595 | 1659733 |
| 3592 | 666588 |
| 3565 | 1668603 |
| 3551 | 431566 |
| 3528 | 1528931 |
| 3527 | 1544799 |
| 3522 | NULL |
| 3513 | 763722 |
| 3500 | 219620 |
| 3494 | 530327 |
| 3478 | 211076 |
| 3478 | 1642029 |
| 3475 | 760274 |
| 3430 | 1029381 |
| 3417 | 428549 |
| 3408 | 1010057 |
| 3406 | 1637616 |
| 3406 | 392728 |
| 3385 | 1624502 |
| 3379 | 393451 |
| 3372 | 1583486 |
| 3370 | 498441 |
| 3360 | 1623655 |
| 3347 | 1548718 |
| 3344 | 900260 |
| 3335 | 1507997 |
| 3328 | 886358 |
| 3321 | 528872 |
| 3321 | 1662047 |
| 3317 | 415718 |
| 3314 | 1646095 |
| 3313 | 451636 |
| 3302 | 1156033 |
| 3301 | 833492 |
| 3296 | 1577681 |
| 3275 | 130185 |
| 3266 | 190673 |
| 3261 | 1640620 |
| 3249 | 297180 |
| 3229 | 1473086 |
| 3219 | 843262 |
| 3184 | 1494651 |
| 3172 | 1624222 |
| 3167 | 837458 |
| 3159 | 1185527 |
| 3137 | 752558 |
| 3131 | 1648139 |
| 3104 | 565193 |
| 3103 | 1645363 |
| 3095 | 1578775 |
| 3077 | 784362 |
| 3073 | 1616585 |
| 3070 | 1296429 |
| 3068 | 770578 |
| 3061 | 861082 |
| 3057 | 1646804 |
| 3049 | 1022349 |
| 3014 | 841110 |
| 3012 | 386617 |
| 3012 | 1587947 |
| 3009 | 769592 |
| 3007 | 1608237 |
| 2983 | 1161979 |
| 2980 | 569067 |
| 2976 | 1309545 |
| 2975 | 1199421 |
| 2954 | 564616 |
| 2948 | 658890 |
| 2945 | 594509 |
| 2940 | 971284 |
| 2937 | 1529119 |
| 2937 | 716634 |
| 2933 | 1029945 |
| 2928 | 1552467 |
| 2917 | 1662130 |
| 2914 | 1440626 |
| 2903 | 1077611 |
| 2896 | 456041 |
| 2895 | 1153917 |
| 2874 | 1120385 |
| 2874 | 409750 |
| 2855 | 1126337 |
| 2851 | 1626303 |
| 2850 | 545041 |
| 2848 | 902792 |
| 2846 | 599168 |
| 2842 | 1660101 |
| 2839 | 1682287 |
| 2820 | 88688 |
| 2819 | 902842 |
| 2818 | 1312307 |
| 2814 | 94760 |
| 2811 | 445441 |
| 2809 | 838486 |
| 2807 | 1174643 |
| 2799 | 1475806 |
| 2799 | 282708 |
| 2794 | 617348 |
| 2793 | 610068 |
| 2776 | 1576597 |
| 2768 | 455536 |
| 2759 | 746080 |
| 2755 | 821842 |
| 2753 | 899304 |
| 2749 | 1585326 |
| 2745 | 1554932 |
| 2741 | 440890 |
| 2738 | 604799 |
| 2735 | 1607574 |
| 2735 | 697888 |
| 2732 | 1608822 |
| 2719 | 1593079 |
| 2710 | 378475 |
| 2708 | 1068579 |
| 2703 | 1466962 |
| 2698 | 811412 |
| 2694 | 1619662 |
| 2685 | 1405436 |
| 2683 | 617420 |
| 2682 | 840100 |
| 2681 | 661008 |
| 2679 | 387445 |
| 2671 | 1623072 |
| 2667 | 842904 |
| 2659 | 1639056 |
| 2658 | 986662 |
| 2638 | 1349423 |
| 2634 | 1590345 |
| 2631 | 1590537 |
| 2624 | 536070 |
| 2603 | 266362 |
| 2601 | 993237 |
| 2601 | 279366 |
| 2597 | 1689649 |
| 2597 | 1249033 |
| 2576 | 1293335 |
| 2566 | 292999 |
| 2557 | 1565374 |
| 2551 | 1578747 |
| 2540 | 250017 |
| 2537 | 1465420 |
| 2531 | 623852 |
| 2531 | 1154741 |
| 2527 | 1436545 |
| 2504 | 781858 |
| 2502 | 1706591 |
| 2493 | 492377 |
| 2491 | 1323197 |
| 2490 | 1648113 |
| 2486 | 1575117 |
| 2478 | 477774 |
| 2474 | 851352 |
| 2473 | 390499 |
| 2472 | 616740 |
| 2471 | 507347 |
| 2471 | 1047133 |
| 2470 | 872592 |
| 2467 | 305147 |
| 2465 | 1538106 |
| 2438 | 1552366 |
| 2433 | 1161981 |
| 2425 | 1240383 |
| 2425 | 623353 |
| 2424 | 977176 |
| 2421 | 626417 |
| 2416 | 538215 |
| 2415 | 986078 |
| 2405 | 1112017 |
| 2403 | 468132 |
| 2402 | 1612513 |
| 2402 | 1204653 |
| 2401 | 725620 |
| 2383 | 1649881 |
| 2381 | 446150 |
| 2378 | 1669722 |
| 2377 | 1685313 |
| 2376 | 976116 |
| 2368 | 802680 |
| 2368 | 354758 |
| 2362 | 1364829 |
| 2361 | 122011 |
| 2357 | 1567595 |
| 2345 | 905946 |
| 2345 | 457285 |
| 2339 | 1588794 |
| 2339 | 1085299 |
| 2324 | 812594 |
| 2322 | 1085819 |
| 2321 | 645450 |
| 2315 | 1227913 |
| 2304 | 1135003 |
| 2302 | 1492936 |
| 2300 | 788896 |
| 2291 | 1016977 |
| 2290 | 1650272 |
| 2288 | 1432145 |
| 2286 | 746082 |
| 2276 | 836008 |
| 2274 | 1459342 |
| 2269 | 1593704 |
| 2256 | 1322753 |
| 2251 | 175804 |
| 2243 | 259852 |
| 2238 | 1586535 |
| 2236 | 793560 |
| 2223 | 1609288 |
| 2222 | 521763 |
| 2221 | 1395904 |
| 2219 | 194112 |
| 2212 | 1122049 |
| 2211 | 1253415 |
| 2208 | 1488967 |
| 2204 | 1094429 |
| 2199 | 542716 |
| 2196 | 588764 |
| 2195 | 1264555 |
| 2194 | 507805 |
| 2194 | 623849 |
| 2189 | 556189 |
| 2185 | 1649126 |
| 2181 | 1030701 |
| 2171 | 661638 |
| 2167 | 951332 |
| 2164 | 768148 |
| 2157 | 332767 |
| 2156 | 1566512 |
| 2156 | 1655143 |
| 2156 | 1541580 |
| 2151 | 603112 |
| 2147 | 1445457 |
| 2143 | 598789 |
| 2142 | 716118 |
| 2140 | 1370513 |
| 2138 | 1341641 |
| 2125 | 944672 |
| 2121 | 1524830 |
| 2115 | 519638 |
| 2115 | 96151 |
| 2114 | 1661452 |
| 2113 | 1606405 |
| 2112 | 325343 |
| 2112 | 1468455 |
| 2109 | 1006847 |
| 2108 | 545553 |
| 2106 | 1629225 |
| 2104 | 853168 |
| 2101 | 1589870 |
| 2100 | 783256 |
| 2097 | 1578140 |
| 2090 | 323812 |
| 2088 | 1145037 |
| 2088 | 623791 |
| 2086 | 1592064 |
| 2086 | 1533050 |
| 2085 | 1435737 |
| 2076 | 1693107 |
| 2074 | 1621941 |
| 2074 | 1434897 |
| 2073 | 1678672 |
| 2067 | 1105495 |
| 2066 | 1688438 |
| 2066 | 1651645 |
| 2065 | 441655 |
| 2061 | 1597001 |
| 2056 | 1656801 |
| 2047 | 1506472 |
| 2042 | 1416110 |
| 2042 | 774022 |
| 2037 | 408765 |
| 2018 | 434176 |
| 2018 | 1326421 |
| 2016 | 1632295 |
| 2015 | 1092819 |
| 2013 | 1663996 |
| 2012 | 1501014 |
| 2007 | 1592018 |
| 2004 | 520029 |
| 2003 | 1443533 |
| 2003 | 684546 |
| 2003 | 1563849 |
| 2003 | 867430 |
| 1994 | 1232643 |
| 1990 | 112047 |
| 1990 | 1693611 |
| 1989 | 973646 |
| 1988 | 1633274 |
| 1987 | 1660160 |
| 1986 | 1294785 |
| 1984 | 1549961 |
| 1983 | 1668636 |
| 1982 | 481191 |
| 1981 | 1640639 |
| 1978 | 875110 |
| 1977 | 1626777 |
| 1972 | 1069941 |
| 1965 | 164920 |
| 1964 | 579205 |
| 1962 | 935378 |
| 1960 | 1285653 |
| 1958 | 729418 |
| 1957 | 1638290 |
| 1956 | 1193403 |
| 1946 | 1584222 |
| 1937 | 210619 |
| 1935 | 1666994 |
| 1935 | 702584 |
| 1935 | 463513 |
| 1934 | 542943 |
| 1932 | 1439584 |
| 1930 | 1640962 |
| 1930 | 1570324 |
| 1929 | 1210337 |
| 1915 | 305854 |
| 1913 | 644756 |
| 1913 | 414682 |
| 1903 | 202698 |
| 1902 | 218732 |
| 1896 | 567666 |
| 1894 | 502392 |
| 1893 | 828080 |
| 1889 | 1687594 |
| 1888 | 193251 |
| 1881 | 1570484 |
| 1879 | 783922 |
| 1878 | 1639358 |
| 1876 | 1663187 |
| 1876 | 1658065 |
| 1874 | 1481747 |
| 1866 | 135440 |
| 1866 | 1553571 |
| 1864 | 537935 |
| 1864 | 1592053 |
| 1860 | 161887 |
| 1860 | 325431 |
| 1857 | 901170 |
| 1856 | 1636110 |
| 1853 | 428861 |
| 1853 | 338182 |
| 1853 | 1350075 |
| 1851 | 1383948 |
| 1850 | 808428 |
| 1846 | 623058 |
| 1844 | 653687 |
| 1843 | 834056 |
| 1843 | 1694933 |
| 1840 | 798680 |
| 1836 | 1557725 |
| 1835 | 321409 |
| 1834 | 1666301 |
| 1834 | 585691 |
| 1831 | 1186489 |
| 1830 | 300909 |
| 1827 | 1461109 |
| 1823 | 1632208 |
| 1823 | 1253359 |
| 1823 | 867620 |
| 1822 | 1552905 |
| 1821 | 928060 |
| 1819 | 1479665 |
| 1817 | 1119329 |
| 1816 | 641447 |
| 1815 | 617688 |
| 1812 | 1532797 |
| 1812 | 909396 |
| 1810 | 1130003 |
| 1809 | 1217321 |
| 1809 | 136232 |
| 1807 | 1633685 |
| 1807 | 351003 |
| 1804 | 364547 |
| 1802 | 1545381 |
| 1800 | 267947 |
| 1796 | 1552685 |
| 1795 | 1475843 |
| 1786 | 1142787 |
| 1781 | 441654 |
| 1780 | 678750 |
| 1773 | 170758 |
| 1773 | 1436764 |
| 1773 | 1076921 |
| 1769 | 1646678 |
| 1767 | 1163565 |
| 1766 | 566372 |
| 1765 | 529482 |
| 1764 | 195379 |
| 1753 | 1460563 |
| 1751 | 1590747 |
| 1751 | 856204 |
| 1750 | 1537401 |
| 1749 | 1383784 |
| 1744 | 941086 |
| 1743 | 1564149 |
| 1743 | 1421000 |
| 1742 | 1007107 |
| 1739 | 1331107 |
| 1734 | 672644 |
| 1721 | 357004 |
| 1719 | 784668 |
| 1718 | 820546 |
| 1716 | 1653670 |
| 1709 | 1067181 |
| 1708 | 804248 |
| 1708 | 1077477 |
| 1708 | 1598428 |
| 1705 | 441761 |
| 1704 | 1195049 |
| 1703 | 1114019 |
| 1702 | 387428 |
| 1701 | 581742 |
| 1699 | 578607 |
| 1698 | 567027 |
| 1697 | 1672504 |
| 1690 | 884322 |
| 1687 | 470776 |
| 1686 | 480755 |
| 1684 | 1605158 |
| 1680 | 1465969 |
| 1673 | 1203491 |
| 1671 | 1157079 |
| 1671 | 1357893 |
| 1665 | 1596783 |
| 1660 | 1675067 |
| 1651 | 1383090 |
| 1650 | 623885 |
| 1648 | 430368 |
| 1648 | 368115 |
| 1646 | 451090 |
| 1644 | 1283947 |
| 1641 | 1489761 |
| 1637 | 1632721 |
| 1633 | 1393930 |
| 1629 | 665286 |
| 1628 | 1683984 |
| 1623 | 1331783 |
| 1622 | 730054 |
| 1617 | 1590096 |
| 1614 | 1155519 |
| 1613 | 1571107 |
| 1611 | 420623 |
| 1609 | 1671431 |
| 1607 | 1546810 |
| 1606 | 431979 |
| 1605 | 1683812 |
| 1604 | 1506282 |
| 1603 | 808380 |
| 1602 | 1418100 |
| 1601 | 702858 |
| 1600 | 1378507 |
| 1599 | 788884 |
| 1596 | 1438996 |
| 1596 | 461803 |
| 1595 | 174610 |
| 1595 | 651281 |
| 1591 | 1605261 |
| 1589 | 385265 |
| 1587 | 441854 |
| 1585 | 1596822 |
| 1581 | 262382 |
| 1581 | 1528664 |
| 1581 | 990089 |
| 1581 | 612550 |
| 1580 | 933594 |
| 1577 | 1577656 |
| 1576 | 546137 |
(I killed it at that point)
The vast majority of slow queries in our slow query log grabs data from the dbtech_thanks tables. If you really need that data let me know and I can send it to you.
The master database server that this is running on is quite the monster. (PCIe-SSD drive for the MySQL data, 128GB RAM, 2x 10-core Xeons... ) So any help you can give would be appreciated. If you need more data, please let me know.