Bug #20310 | too high memory consumption by a trigger while load data infile... | ||
---|---|---|---|
Submitted: | 7 Jun 2006 7:52 | Modified: | 8 Jun 2006 16:14 |
Reporter: | Tomek Gajewski | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.1.9 beta | OS: | Linux (Debian sarge) |
Assigned to: | CPU Architecture: | Any |
[7 Jun 2006 7:52]
Tomek Gajewski
[7 Jun 2006 11:24]
Tonci Grgin
Hi Tomek. Thanks for your problem report. Sorry, I was unable to verify it. As you can see I tried both load data and mysqldump with 200000 records which is about 60Mb file. Test environment and results (host OS Suse 10, both servers bk build): ---------------------- mysql> select version(); +-------------------+ | version() | +-------------------+ | 5.1.12-beta-debug | +-------------------+ 1 row in set (0.03 sec) mysql> select version(); +-------------------+ | version() | +-------------------+ | 5.0.23-debug | +-------------------+ 1 row in set (0.03 sec) mysql> LOAD DATA INFILE "20310.dat" INTO TABLE testtable fields terminated by "" lines terminated by "\n"; Query OK, 200000 rows affected, 65535 warnings (1 min 24.33 sec) Records: 200000 Deleted: 0 Skipped: 0 Warnings: 4000009 C:\mysql507\bin>mysql -uroot -hmunja --port=3307 test < 20310dump.dat C:\mysql507\bin>mysql -uroot -hmunja --port=3307 test ---------------------- Tomek, can you please try with latest MySQL server and inform me of result?
[8 Jun 2006 16:14]
Tomek Gajewski
I have just tested 5.1.11 binary release and looks like the problem does not exist there.