Select Statement Hang...

Поиск
Список
Период
Сортировка
От ttzhang
Тема Select Statement Hang...
Дата
Msg-id 3F1C6D6F@bearmail.berkeley.edu
обсуждение исходный текст
Список pgsql-novice
I was trying to set up a foreign key for an id field but found out that some
of the ids are not in the referenced table.  To look things up, I tried

select id from btable where id not in (select id from atable)

The query just hang.....  My tables are pretty big (200, 000?)  can anyone
help me to pinpoint the problem?

Thanks!



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

Предыдущее
От: Alejandro Fuentes González
Дата:
Сообщение: RE: [NOVICE] I´ve got problems when I try to use de psql
Следующее
От: "Brian Johnson"
Дата:
Сообщение: Cannot insert a duplicate key into unique index?