Re: Some frustrations with admin tasks on PGSQL database

Поиск
Список
Период
Сортировка
От Phoenix Kiula
Тема Re: Some frustrations with admin tasks on PGSQL database
Дата
Msg-id e373d31e0708170732i53b789ecgd81a698cc615db3@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Some frustrations with admin tasks on PGSQL database  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-general
On 17/08/07, hubert depesz lubaczewski <depesz@depesz.com> wrote:
> On Fri, Aug 17, 2007 at 10:22:55PM +0800, Phoenix Kiula wrote:
> > Wow, smartest advice of the day! Yes, a lot of our data in that column
> > has dots and numbers (800,000 compared to 6 million), so I wanted to
> > get only to the stuff that was pure alphabets, but just didn't think
> > of how.
>
> what i really meant was: check how many record will actually be modified
> - i.e. contain upper-case letters.
>
> the fact that some records contain only dots and digits is nice, but i
> suspect that you also have a lot of record with only lower-case letters
> in the field. or am i wrong?
>



You guessed it right. The query makes perfect sense. Only update those
records that have uppercase, and therefore require updating! Many
thanks.

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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Some frustrations with admin tasks on PGSQL database
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: PostgreSQL clustering (shared disk)