Posts: 366
Name: Steve
Location: Miami, FL, Earth
|
Unless you're talking in excess of 1000 databases, I wouldn't be worried. There are few maintenance tasks that run, and so the number of DBs shouldn't noticeably impact performance. If they store a lot of information, they may impact your file system space, but not read/write performance.
The main factors you'll have to consider in DB performance are indexing, query optimization, conf file tweaking, stored procedure development, and UDFs where necessary to decrease query complexity (e.g. addition of a MEDIAN UDF will greatly improve performance over calculating medians in SQL).
You can install iotop and mytop on your server to gauge your I/O activity and MySQL activity respectively. Both will show the top processes for each. If MySQL is your top I/O process, you'll want to review why (e.g. you may have to tweak your my.conf file). MyTop will show queries that are queued up. Should typicaly be 0-1. If you have dozens or more, you'll see which queries are holding up your queue. Fix those problems by indexing columns and tweaking queries.
__________________
- Steve
President, Please login or register to view this content. Registration is FREE
Last edited by smoseley; 09-15-2010 at 08:23 AM..
|