eld itself.
Regards,
Mikhail Berman
-Original Message-
From: Michael Stassen [mailto:[EMAIL PROTECTED]
Sent: Friday, November 18, 2005 12:11 PM
To: Mikhail Berman
Cc: Jeremy Cole; Jasper Bryant-Greene; mysql@lists.mysql.com
Subject: Re: A "key" question
Mikhail Berman wrote:
, November 18, 2005 12:11 PM
To: Mikhail Berman
Cc: Jeremy Cole; Jasper Bryant-Greene; mysql@lists.mysql.com
Subject: Re: A "key" question
Mikhail Berman wrote:
> Dear Jeremy,
>
> Thank you for your help.
>
> I do have an exact situation you have assume I have. Here
Mikhail Berman wrote:
Hi Jeremy,
This is still "work in progress" but here are some samples of queries we
will be running, that involved this table and this date field:
==
#this fails -- join on is horrible
What do you mean by "fails"? Takes too long
Mikhail Berman wrote:
Dear Jeremy,
Thank you for your help.
I do have an exact situation you have assume I have. Here is the output
of SHOW CREATE TABLE
CREATE TABLE `TICKER_HISTORY_PRICE_DATA` (
`price_data_ticker` char(8) NOT NULL default '',
`price_data_date` date NOT NULL default '00
.mysql.com
Subject: Re: A "key" question
Hi Mikhail,
> Thank you for your help.
>
> I do have an exact situation you have assume I have. Here is the
> output of SHOW CREATE TABLE
>
> `price_data_ticker` char(8) NOT NULL default '',
> `price_data_d
Hi Mikhail,
Thank you for your help.
I do have an exact situation you have assume I have. Here is the output
of SHOW CREATE TABLE
`price_data_ticker` char(8) NOT NULL default '',
`price_data_date` date NOT NULL default '-00-00',
...
UNIQUE KEY `tidadx` (`price_data_ticker`,`pric
+
180 rows in set (0.00 sec)
Mikhail Berman
-Original Message-
From: Jeremy Cole [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 5:23 PM
To: Mikhail Berman
Cc: Jasper Bryant-Greene; mysql@lists.mysql.com
Subject: Re: A "k
Hi Mikhail,
I may not have been precise in my question, but the Unique Index in
question is a two fields index, and I was looking to find out wisdom
from the List if there is sense and/or experience in keying second(left)
field on in the Unique Index to speed up a search.
If you have a UNIQUE(
Mikhail,
>Is it possible or makes sense to key a field that is a part of
Unique
>Index already?
MySQL won't stop you, but it's a waste of space & cpu cycles unless
there's a high-priority query performance need for it.
PB
-
Mikhail Berman wrote:
Hello everyone,
Is it possible or
bother the List without a good reason and doing what you
said before
Regards,
Mikhail Berman
-Original Message-
From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 4:19 PM
To: Mikhail Berman
Cc: mysql@lists.mysql.com
Subject: Re: A "key" ques
Mikhail Berman wrote:
Is it possible or makes sense to key a field that is a part of Unique
Index already?
It's possible, but it doesn't make sense. A unique index is a normal
index with an added unique constraint. Adding another index on the same
field would make no sense (unless the field
11 matches
Mail list logo