Re: Strange problem with index

2004-01-21 Thread Victoria Reznichenko
Grzegorz Paszka <[EMAIL PROTECTED]> wrote: > Hi. > > I use MySQL 4.0.17 from rpm. > When I want insert new row by perl script to one of my table I get such error : > DBD::mysql::st execute failed: Duplicate entry '- Modified the spec file provided by > ...' for key 3 > Table looks : > mysql>

Strange problem with index

2004-01-20 Thread Grzegorz Paszka
Hi. I use MySQL 4.0.17 from rpm. When I want insert new row by perl script to one of my table I get such error : DBD::mysql::st execute failed: Duplicate entry '- Modified the spec file provided by ...' for key 3 Table looks : mysql> desc spak; +--++--+-+-

Speed problem with INDEX

2002-10-15 Thread Mauro Arcolini
Hi all, i have an application writing bulk inserts periodically to a MyISAM table. This table has a multi-column index on two integer fields, in this way i can have an good query speed. Bulk insert are very speed, but when the table grows up to 20/25 MB, almost the inserts have a very slow spe

Re: Problem with index

2002-05-23 Thread [EMAIL PROTECTED]
> Hi, I have a Mysql database with one Master and one slave > I have a problem with the following table "session": > +--+-+--+-+-+---+ > | Field | Type | Null | > Key | Default | Extra | > +---

Problem with index, where clause and order by

2002-03-28 Thread Michael Bonfert
Hi, assume a table as follows: CREATE TABLE Posts ( Board varchar(100) NOT NULL, Number int(11) unsigned NOT NULL auto_increment, Posted int(11) unsigned DEFAULT '0' NOT NULL, Subject text, Body text, PRIMARY KEY (Number), KEY index1 (Number, Board), KEY index2 (Board),

RE: Problem with index, where clause and order by

2002-03-28 Thread Michael C. Neel
t: Problem with index, where clause and order by Hi, assume a table as follows: CREATE TABLE Posts ( Board varchar(100) NOT NULL, Number int(11) unsigned NOT NULL auto_increment, Posted int(11) unsigned DEFAULT '0' NOT NULL, Subject text, Body text, PRIMARY KEY (Nu

Problem with index, where clause and order by

2002-03-28 Thread Michael Bonfert
Hi, assume a table as follows: CREATE TABLE Posts ( Board varchar(100) NOT NULL, Number int(11) unsigned NOT NULL auto_increment, Posted int(11) unsigned DEFAULT '0' NOT NULL, Subject text, Body text, PRIMARY KEY (Number), KEY index1 (Number, Board), KEY index2 (Board),