Re: Setting group_concat_max_len
Please provide
SHOW VARIABLES LIKE '%buffer%'; -- I want to see your cache settings
SHOW TABLE STATUS LIKE 'tbl' \G -- How big? What Engine?
SELECT SUM(LENGTH(xml_piece)) FROM tbl WHERE ...; -- how long does it take to touch the data?
SELECT LENGTH(GROUP_CONCAT(xml_piece)) FROM tbl WHERE ...; -- versus how long the GROUP_CONCAT takes.
I ran an experiment and found GROUP_CONCAT took less than twice as long as it took to fetch the data.
Subject
Views
Written By
Posted
19906
May 25, 2010 04:00PM
3733
May 28, 2010 07:18PM
Re: Setting group_concat_max_len
3199
May 29, 2010 10:33PM
4143
May 30, 2010 04:48PM
2508
May 30, 2010 06:43PM
2373
June 04, 2010 06:27AM
2144
June 04, 2010 07:10AM
4043
June 04, 2010 10:09AM
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.