Quote:
Originally Posted by muukis
Make sure your database table engine is InnoDB. This could make things faster and a little lighter for you, if it's not that already.
|
Code:
select table_name, table_schema, engine from information_schema.tables where table_schema not in ('mysql','information_schema') and engine <> 'memory' order by table_schema, engine, table_name;
+----------------------+--------------+--------+
| table_name | table_schema | engine |
+----------------------+--------------+--------+
| ip2country | l4dstats | MyISAM |
| ip2country_blocks | l4dstats | MyISAM |
| ip2country_locations | l4dstats | MyISAM |
| maps | l4dstats | MyISAM |
| players | l4dstats | MyISAM |
| timedmaps | l4dstats | MyISAM |
+----------------------+--------------+--------+
6 rows in set (0.22 sec)
>ALTER TABLE ip2country ENGINE = INNODB;ALTER TABLE ip2country_blocks ENGINE = INNODB;ALTER TABLE ip2country_locations ENGINE = INNODB;ALTER TABLE maps ENGINE = INNODB;ALTER TABLE players ENGINE = INNODB;ALTER TABLE timedmaps ENGINE = INNODB;
Now I wait for it to go to InnoDB, hopefully it makes it quicker
Edit: It is innodb now, and it actually is running worse it seems like ...... now it won't load at all, even with cities disabled.
Edit2: Dropped ip2country_blocks and ip2country_locations, and the flags work now (sadly that breaks the maps, but at least it will load now.)