RE: Help optimizing settings?

2010-02-05 Thread Ilya Kazakevich
Which MySQL server do you use? What is your storage engine? -Original Message- From: Ken D'Ambrosio [mailto:k...@jots.org] Sent: Friday, February 05, 2010 5:26 PM To: mysql@lists.mysql.com Subject: Help optimizing settings? I've got a fairly large -- 100+ GB -- MySQL database. It isn't

RE: how things get messed up

2010-02-10 Thread Ilya Kazakevich
Hello John, There was a joke in russian PHP club: "why strore images in database? Are you going to have a full text search on them?" IMHO: Storing files in DB is probably bad idea. Here are some advantages of storing files on filesystem: 1) Theoretically it takes more time to load data from data

Mesaure query speed and InnoDB pool

2013-04-16 Thread Ilya Kazakevich
several ideas: * Count 'Innodb_rows_read' or 'Innodb_pages_read' instead of actual time * Set pool as small as possible to reduce its effect on query speed * Set pool larger than my db and run query to load all data into pool and measure speed then How do you measure your queries'

RE: Mesaure query speed and InnoDB pool

2013-04-17 Thread Ilya Kazakevich
_pool should be set to about 70% of available >RAM. I will increase it now. But I will need to disable swapping also to prevent my OS from swapping out InnoDB pages. Ilya. > >> -Original Message- >> From: Ananda Kumar [mailto:anan...@gmail.com] >> Sent: Tuesday, Apri

RE: Query Help

2013-04-19 Thread Ilya Kazakevich
Hello Richard, >the count(*) for each week of 2013 so that I end up with: http://dev.mysql.com/doc/refman/5.1/en/group-by-functions.html Ilya. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

RE: Troubleshoot excessive memory usage in InnoDB

2013-04-19 Thread Ilya Kazakevich
Hello, Try to use "tuning-primer.sh": this scripts reads your variables and prints memory size you need for that. Here is example of its output: MEMORY USAGE Max Memory Ever Allocated : 2.86 G Configured Max Per-thread Buffers : 1.80 G Configured Max Global Buffers : 2.10 G Configured Max Memory

RE: Design help

2013-04-21 Thread Ilya Kazakevich
Hello, >Many thanks for your response. Can yo u offer any advice with regards usage >of country_codes eg gb and regions, cities etc ? I've been reading up on >http://en.wikipedia.org/wiki/ISO_3166 etc. Should I be looking to use a >Surrogate key for countries ? Or the country code like fr for

5.1 to 5.6 upgrade: is it possible?

2013-12-04 Thread Ilya Kazakevich
Hello, Have anybody tried to upgrade 5.1 to 5.6? I believe running mysql_upgrade should be enough, but does there are some caveats? Ilya Kazakevich.