List:General Discussion« Previous MessageNext Message »
From:gerald_clark Date:August 13 2004 5:44pm
Subject:Re: Replace delayed locks table
View as plain text  

matt ryan wrote:

> matt ryan wrote:
>
>>
>>> Replace does a delete followed by an insert.
>>>
>> Ahh, I'm testing innodb on our tables with this problem
>>
> I've switched to innodb but performance isnt very good
>
> while the insert runs, here's what I get for performance
>
> select count(*) from rondon;
> 1 row in .13 sec
>
> select count(*) from rondon;
> 1 row in 21.88 sec
>
> select count(*) from rondon;
> 1 row in 42.47 sec
>
> select count(*) from rondon;
> 1 row in 1 min 47.69 sec
>
> not sure why the first was so fast, the rest SUCK 

Well, this a particularly bad command to use to test innodb performance.
With MyISAM table, the record count is immediately available.
With Innodb, the server has to actually count records.  Different users 
will get
different counts depending on the transaction isolation mode and number 
of uncommitted records.

>
>
>


Thread
Replace delayed locks tablematt ryan12 Aug
  • Re: Replace delayed locks tablegerald_clark12 Aug
    • Re: Replace delayed locks tablematt ryan13 Aug
  • Re: Replace delayed locks tableSGreen12 Aug
  • Re: Replace delayed locks tablegerald_clark13 Aug
    • Re: Replace delayed locks tablematt ryan13 Aug
      • Re: Replace delayed locks tablematt ryan13 Aug
      • Re: Replace delayed locks tablematt ryan13 Aug
        • Re: Replace delayed locks tableSGreen13 Aug
  • Re: Replace delayed locks tablegerald_clark13 Aug