MySQL Forums
Forum List  »  Newbie

Re: Mysql long text field - slow performance
Posted by: Rick James
Date: August 01, 2010 10:18AM

Strange. Would you care to give some more details. A simple test case that, I think, meets your description does not show the problem:

mysql> CREATE TABLE f378680m ( x LONGTEXT NOT NULL ) ENGINE=MyISAM;
Query OK, 0 rows affected (1.07 sec)

mysql> CREATE TABLE f378680i ( x LONGTEXT NOT NULL ) ENGINE=InnoDB;
Query OK, 0 rows affected (0.81 sec)

mysql> INSERT INTO f378680m VALUES ('abcd');
Query OK, 1 row affected (0.04 sec)

mysql> INSERT INTO f378680i VALUES ('abcd');
Query OK, 1 row affected (0.10 sec)

Also, what language are you using to do the INSERTs? The API may be involved (unlikely).

Options: ReplyQuote


Subject
Written By
Posted
Re: Mysql long text field - slow performance
August 01, 2010 10:18AM


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.