Re: Select not using primary key index

Поиск
Список
Период
Сортировка
От Carl van Tast
Тема Re: Select not using primary key index
Дата
Msg-id o2k19uk4gsd26fsmd8q26v9ld46bqjpacg@4ax.com
обсуждение исходный текст
Ответ на Select not using primary key index  (Sergio Freue <sfreue@yahoo.com>)
Список pgsql-general
On Thu, 14 Mar 2002 00:07:54 -0300, Sergio Freue <sfreue@yahoo.com>
wrote:
>create table testBig (id1 smallint not null,id2 smallint not
>null,primary key (id1, id2));
>
>Add about 1,500,000 records
>[...]
>select * from testBig where id1 = 1585 and id2 = 42;

select *
from testBig
where id1 = 1585::smallint and id2 = 42::smallint;

HTH,
 Carl van Tast

В списке pgsql-general по дате отправления:

Предыдущее
От: Andre Radke
Дата:
Сообщение: problem with array of boxes
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: JDBC Prepared Statement Bug