كود PHP:
+-------+----------+-----------+----------+---------+------+----------------------+------------------------------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-------+----------+-----------+----------+---------+------+----------------------+------------------------------------------------------------------------------------------------------+
| 17408 | sb_video | localhost | sb_video | Query | 4258 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 26659 | sb_video | localhost | sb_video | Query | 3934 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 30637 | root | localhost | sb_video | Query | 1578 | Locked | REPAIR TABLE `pm_tags` |
| 30951 | sb_video | localhost | sb_video | Query | 1693 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 31064 | sb_video | localhost | sb_video | Query | 1837 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 31095 | sb_video | localhost | sb_video | Query | 1691 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 31192 | sb_video | localhost | sb_video | Query | 1835 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 31246 | sb_video | localhost | sb_video | Query | 1691 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 31398 | sb_video | localhost | sb_video | Query | 1692 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 31768 | sb_video | localhost | sb_video | Query | 1694 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 31797 | sb_video | localhost | sb_video | Query | 2864 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 31850 | sb_video | localhost | sb_video | Query | 1690 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 31979 | sb_video | localhost | sb_video | Query | 1689 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 32110 | sb_video | localhost | sb_video | Query | 1694 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 32186 | sb_video | localhost | sb_video | Query | 1692 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 32250 | sb_video | localhost | sb_video | Query | 1692 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 32498 | sb_video | localhost | sb_video | Query | 1691 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 32606 | sb_video | localhost | sb_video | Query | 1838 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 33078 | sb_video | localhost | sb_video | Query | 1839 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 34636 | sb_video | localhost | sb_video | Query | 1689 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 35289 | sb_video | localhost | sb_video | Query | 1842 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 35395 | sb_video | localhost | sb_video | Query | 1693 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 35514 | sb_video | localhost | sb_video | Query | 1693 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 36195 | sb_video | localhost | sb_video | Query | 1694 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 36488 | sb_video | localhost | sb_video | Query | 1693 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
| 36933 | sb_video | localhost | sb_video | Query | 1692 | Copying to tmp table | SELECT tag_id, tag, safe_tag, COUNT(*) as numvids FROM pm_tags GROUP BY safe_tag ORDER BY numvids DE |
اتمنى الاقي حل لسيرفر واللود