To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/bcac486d-c06e-4e60-8e59-7474237416c1%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-sql-discuss/-JHM_F405jM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-cloud-sql-discuss+unsub...@googlegroups.com.
The maximum size of internal in-memory temporary tables. This variable does not apply to user-created
The actual limit is determined from whichever of the values ofMEMORY
tables.tmp_table_size
andmax_heap_table_size
is smaller. If an in-memory temporary table exceeds the limit, MySQL automatically converts it to an on-disk temporary table. As of MySQL 5.7.5, theinternal_tmp_disk_storage_engine
option defines the storage engine used for on-disk temporary tables. Prior to MySQL 5.7.5, theMyISAM
storage engine is used.
Hi Nick,yes, I DECREASED the values. Initially, I had max_heap_table_size and tmp_table_size set to maximum possible value.There is an old bug filed related to "out of memory" and "count(distinct)" on mysql site:Someone in the thread mentioned that it helped him to reduce max_heap_table_size and tmp_table_size (at least that's how I interpreted his answer) to avoid allocating more memory that system can handle.That would lead me to two conclusions1) there could be a bug causing misallocation of memory (too much of it) to perform count(distinct)2) there could be a configuration issue on your servers that disallows allocating more memory than 2.5Gwhich were to some extent confirmed by the fact, that decreasing the limits actually helped me.cheers,Lukasz
To unsubscribe from this group and all its topics, send an email to google-cloud-sql-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/bcac486d-c06e-4e60-8e59-7474237416c1%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-sql-discuss/-JHM_F405jM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-cloud-sql-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/7f2a5f33-1407-45e0-8776-8dbbbc82098b%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to google-cloud-sql-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/bcac486d-c06e-4e60-8e59-7474237416c1%40googlegroups.com.