|
| quote: | Originally posted by Swamper
IP trace may not take a lot of CPU but it takes up a lot of disk I/O since it has to go through the whole post table and find matching IPs across a range and then join that with the user table. It's not worth adding an index to speed things up because then the overall size of the post table would increase adding bottlenecks to other things.
MMCache has been installed since 2003 - however it hasn't been updated since 2004 and most sites now have moved to eAccelerator (especially vB 3.x sites since certain functions run into problems with mmcache installed)
When there is an error about the site being busy it is due to bottlenecking and table locking issues when big queries are done on a table -- which is why search has been modified -- to help resolve those.
Currently one big problem is when someone uploads an Unknown Track - the hash list (matching attachmentID with the corresponding filename/mp3 sample) is updated and for that it goes through the whole thread/post table looking for unclosed threads + ones with samples attached - to speed up playback from the threadlist in that forum -- problem is that while it's updating all other actions on the post/thread table (browsing/updating view count/replying) are put on hold, and sometimes it can take a minute for it to update.
|
when i posted this, and for months before, mmcache was not installed, or at least not loaded, because it didn't show up in http://www.tranceaddict.com/phpinfo.php
and the fact that it has only cached 83 scripts at this point, means it hasn't been running long, u trying to make me look stupid or what ?
and, by adding more indexes to the database, u definetly would not decrease the speed of the server, it would just slightly increase mem load, and would make any queries that use that index go insanely faster
as for the last bit, if thats the case, then u need to add some more indexes to speed it up, the easiest way to find out what needs an index, is to find the queries that take the longest, and then do a query EXPLAIN(query here) and it will tell you which indexes it uses, and also if there should be an extra index
___________________
Proud moderator of the Trance Empire and Generation Trance Forums
Last edited by ddominey86 on Nov-29-2005 at 01:53
|