[05:59:13] Count: 1701
[05:59:13] Uptime: 1194559 Threads: 1 Questions: 108112 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 18 Queries per second avg: 0.90
[05:59:13] Count: 821
[05:59:13] Uptime: 1194559 Threads: 1 Questions: 108113 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 18 Queries per second avg: 0.90
[05:59:13] Count: 1639
[05:59:13] Uptime: 1194559 Threads: 1 Questions: 108114 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 18 Queries per second avg: 0.90
[05:59:13] Count: 1112
[05:59:14] Uptime: 1194560 Threads: 1 Questions: 108115 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 18 Queries per second avg: 0.90
[05:59:14] Count: 1126
[05:59:14] Uptime: 1194560 Threads: 1 Questions: 108116 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 18 Queries per second avg: 0.90
[05:59:14] Count: 1122
[05:59:14] Uptime: 1194560 Threads: 1 Questions: 108117 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 18 Queries per second avg: 0.90
[05:59:14] Count: 1081
[05:59:15] Uptime: 1194561 Threads: 1 Questions: 108118 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 18 Queries per second avg: 0.90
[05:59:15] Count: 835
[05:59:15] Uptime: 1194561 Threads: 1 Questions: 108119 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 18 Queries per second avg: 0.90
[05:59:15] Count: 683
[05:59:15] Uptime: 1194561 Threads: 1 Questions: 108120 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 18 Queries per second avg: 0.90
[05:59:15] Count: 873
[05:59:15] Uptime: 1194561 Threads: 1 Questions: 108121 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 18 Queries per second avg: 0.90
[14:50:16] [debug] #0 native mysql_query () [b7441b50] from mysql.so
[14:50:16] [debug] #1 00088034 in public SavingData (0x00000023) from script.amx
[14:50:16] [debug] #2 000e2374 in public Audio_OnPlayerDisconnect (0x00000023, 0x00000001) from script.amx
[14:50:16] [debug] #3 native CallLocalFunction () [080dce40] from scriptserver
[14:50:16] [debug] #4 0000b928 in public SSCANF_OnPlayerDisconnect (0x00000023, 0x00000001) from script.amx
[14:50:16] [debug] #5 000059b8 in public Itter_OnPlayerDisconnect (0x00000023, 0x00000001) from script.amx
[14:50:16] [debug] #6 native CallLocalFunction () [080dce40] from scriptserver
[14:50:16] [debug] #7 00001834 in public Streamer_OnPlayerDisconnect (0x00000023, 0x00000001) from script.amx
[14:50:16] [debug] #8 000006f0 in public OnPlayerDisconnect (0x00000023, 0x00000001) from script.amx
[19:37:07] CMySQLHandler::Query(UPDATE playerdata SET Skills='0|0|0|0|0|0', Wea$...bla...bla.... - - An error has occured. (Error ID: 2013, Lost connection to MySQL server during query)
[19:37:07] >> mysql_real_escape_string( Connection handle: 1 )
CMySQLHandler::Query(UPDATE playerdata SET Skills='0|0|0|0|0|0', WeaponSkill='0|4|74|0', LastDuty='22|2|2015', DutyTime='0|0|0', WorkShop='1', WSid='1', KTime='29|2|2015', KTPID='1', CheckCash='0', Checks='0', GunLic='0', Gun='0|3|0|0|0|31|0|0|0|0|0|0', GunAmmo='0|10|0|0|0|465|0|0|0|0|0|0', DrugsTime='0', MechTime='0', Insurance='0', PayDay='6', Dice='0', Spraycan='0', Rope='0', Cigars='0', Sprunk='0', Tutorial='1', Tutor='0', OnDuty='1', Married='0', MarriedTo='None', IP='127.0.0.1', WantedLevel='0', NewMuted='0', NewMutedTotal='0', AdMuted='0', AdMutedTotal='0', HelpMute='0', SpawnPos='1193.648315|-1300.986206|13.386955|190.591552', ReportMuted='0', ReportMutedTotal='0', ReportMutedTime='0', VIPMuted='0', VIPMutedTime='0', GiftTime='-5', AdvisorDutyHours='0', AcceptedHelp='0', AcceptReport='273' WHERE NormalName='Kora_Sama') - An error has occured. (Error ID: 2013, Lost connection to MySQL server during query)
[19:37:07] >> mysql_real_escape_string( Connection handle: 1 )
This is usually why things like database normalisation have been applied and used in computer science.
Here are a few interesting reads on that subject in case you are interested. They should also answer your questions. Introduction to Normalization These are the rules applied to the database usually: Rules of Normalization Stackoverflow, simply because without it this would be an incomplete answer: StackOverflow Topic Another tutorial that might suit your needs: Database normalization in four quick and easy steps What this should do is split up your queries and probably even make sure you don't have to save some data that rarely changes because it's part of a different system etcetera. This should give you a general idea on how to optimize your queries and databases, but I am sure you can also find other elegant solutions. |