Bug #29921 MYSQLparse uses 3X more CPU in MySQL 5.0 than yyparse in MySQL 4.0
Submitted: 20 Jul 2007 3:39 Modified: 4 Mar 2008 22:29
Reporter: Mark Callaghan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Parser Severity:S5 (Performance)
Version:5.0.37 OS:Any
Assigned to: Marc ALFF CPU Architecture:Any
Tags: bfsm_2007_08_02, bfsm_2007_10_18, Contribution, parser, performance, regression

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[13 Aug 2007 19:05] Mark Callaghan
Patch for changes to sql_yacc.yy in MySQL 5.0.37

Attachment: yacc.c (text/x-csrc), 16.88 KiB.

[11 Sep 2007 0:07] Marc ALFF
GPROF profiling for 4.1

Attachment: perf-4.1.txt.gz (application/x-gzip, text), 127.24 KiB.

[11 Sep 2007 0:08] Marc ALFF
GPROF profiling for 5.0.45

Attachment: perf-5.0.45.txt.gz (application/x-gzip, text), 144.20 KiB.

[11 Sep 2007 0:08] Marc ALFF
GPROF profiling for 5.0.50

Attachment: perf-5.0.txt.gz (application/x-gzip, text), 144.70 KiB.

[11 Sep 2007 0:10] Marc ALFF
time with gprof, 4.1

Attachment: time-4.1-gprof.log (text/x-log), 1.23 KiB.

[11 Sep 2007 0:11] Marc ALFF
time with gprof, 5.0.45

Attachment: time-5.0.45-gprof.log (text/x-log), 1.38 KiB.

[11 Sep 2007 0:12] Marc ALFF
time with gprof, 5.0.50

Attachment: time-5.0-gprof.log (text/x-log), 1.35 KiB.

[11 Sep 2007 0:14] Marc ALFF
time results, 4.1

Attachment: time-4.1.log (text/x-log), 1.28 KiB.

[11 Sep 2007 0:14] Marc ALFF
time results, 5.0.45

Attachment: time-5.0.45.log (text/x-log), 1.43 KiB.

[11 Sep 2007 0:15] Marc ALFF
time results, 5.0.50

Attachment: time-5.0.log (text/x-log), 1.43 KiB.