Re: garbage data back

Поиск
Список
Период
Сортировка
От Brad White
Тема Re: garbage data back
Дата
Msg-id CAA_1=91WcQTdfyHPKu9U2_fEFe-EVSsM-Ra2hOQg7K60bKvtjg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: garbage data back  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
David,

Thanks!
'EXPLAIN ANALYZE' is very slick.
Promises to be very helpful.
As soon as I saw the output, it was obvious where my problem was.

Brad.

On Mon, Mar 6, 2023 at 2:30 PM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Mon, Mar 6, 2023 at 1:18 PM Brad White <b55white@gmail.com> wrote:

As you can see here, when attempting to filter on the FileKey, it is actually filtering on the Order Item ID field.

select "FileKey", "OrderItemID" from "vw_rptInvc_Permits"
where "FileKey" LIKE '%1317'

I'm stumped. Any guesses?

Agreed, what you've shown doesn't make sense.

Try:
EXPLAIN ANALYZE
REINDEX (on any underlying table indexes)

Show the version you are running.

David J.

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

Предыдущее
От: Erik Wienhold
Дата:
Сообщение: Re: psql \conninfo in tabular form?
Следующее
От: Bryn Llewellyn
Дата:
Сообщение: Behavior of PL/pgSQL function following drop and re-create of a table that it uses