Re: large InnoDB table partitioning without explicit PK
Posted by:
Miko M
Date: November 16, 2014 08:31PM
Many thanks for your hints again.
It seems that query_cache_size does not work the way it is supposed to. However I did not even try to check/analyse it since 8MB seems to be nothing with the all RAM available.
Regarding Select_scan / Com_select - (relatively high) number of full table scans, there was a select statement such as select count(*) from table1.... executed on a regular basis (from application) but I've finally managed to disabled it. Having checked the slow query log I think the problem with table scans has disappeared.
At the moment every ten minutes the most recent ten minute record set is spooled in to a file, compressed and transferred onto another system.
So these selects are almost the only (slow) queries reported into the slow query log.
Basically all the queries/aggregations are executed on another machine (Oracle DB).
My idea it to change it and perform aggregations on MySQL directly (either on a heap table / temp or on a slave or both).
Finally, there was one strange behaviour I observed during my testing. I think it is worth to be mentioned about.
With 10k+ inserts per sec, the volume of data that was spooled into a file was definitely much higher.
Once I decreased amount of available RAM, and extended the spool volume from 10 min to 1 hour (just for testing purposes), I quickly noticed that all available RAM was eaten up and MySQL started crashing.
I have not observed such behaviour with 10 min spools but it still made me think.
Regarding "thread_handling = one-thread-per-connection" - definitely I will check it during performance testing. Thanks for letting me know.
Subject
Views
Written By
Posted
5596
November 12, 2014 07:41PM
2620
November 13, 2014 06:40PM
2495
November 14, 2014 03:02AM
1904
November 15, 2014 12:05AM
2030
November 16, 2014 07:39PM
1902
November 17, 2014 04:21PM
1940
November 17, 2014 07:48PM
1948
November 18, 2014 02:00AM
2013
November 18, 2014 11:35PM
2025
November 22, 2014 06:44AM
1849
November 18, 2014 01:13AM
2398
November 19, 2014 12:27AM
2120
November 19, 2014 06:01PM
2218
November 22, 2014 08:39AM
2274
November 14, 2014 03:04AM
2223
November 14, 2014 03:05AM
2232
November 15, 2014 12:32AM
Re: large InnoDB table partitioning without explicit PK
2221
November 16, 2014 08:31PM
2143
November 19, 2014 12:12AM
1966
November 22, 2014 09:07AM
1948
November 23, 2014 09:00PM
2083
December 01, 2014 11:16AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.