MySQL Forums
Forum List  »  Performance

Re: Setting group_concat_max_len
Posted by: Rick James
Date: May 29, 2010 10:33PM

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.

Options: ReplyQuote


Subject
Views
Written By
Posted
18809
May 25, 2010 04:00PM
3520
May 28, 2010 07:18PM
Re: Setting group_concat_max_len
3002
May 29, 2010 10:33PM
3968
May 30, 2010 04:48PM
2364
May 30, 2010 06:43PM
2240
June 04, 2010 06:27AM
2034
June 04, 2010 07:10AM
3869
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.