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
4818
November 12, 2014 07:41PM
2416
November 13, 2014 06:40PM
2248
November 14, 2014 03:02AM
1702
November 15, 2014 12:05AM
1721
November 16, 2014 07:39PM
1703
November 17, 2014 04:21PM
1760
November 17, 2014 07:48PM
1736
November 18, 2014 02:00AM
1808
November 18, 2014 11:35PM
1795
November 22, 2014 06:44AM
1677
November 18, 2014 01:13AM
2117
November 19, 2014 12:27AM
1877
November 19, 2014 06:01PM
2025
November 22, 2014 08:39AM
1975
November 14, 2014 03:04AM
2015
November 14, 2014 03:05AM
2017
November 15, 2014 12:32AM
Re: large InnoDB table partitioning without explicit PK
2052
November 16, 2014 08:31PM
1813
November 19, 2014 12:12AM
1718
November 22, 2014 09:07AM
1734
November 23, 2014 09:00PM
1898
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.