Re: PG 9 adminstrations

Поиск
Список
Период
Сортировка
От Shaun Thomas
Тема Re: PG 9 adminstrations
Дата
Msg-id 4E79DD0D.3070201@peak6.com
обсуждение исходный текст
Ответ на Re: PG 9 adminstrations  (Hany ABOU-GHOURY <hghoury@gmail.com>)
Список pgsql-performance
On 09/20/2011 11:29 PM, Hany ABOU-GHOURY wrote:

> Thanks but...did not work different error though
>
> ERROR: relation "history" already exists
> ERROR: relation "idx_history_pagegroupid" already exists
> ERROR: constraint "cdocumentid" for relation "history" already exists

Clearly the history table already exists on your second host. This may
or may not matter, if the table definitions are the same. If the table
on host2 was empty, it'll be filled with the data from host1. If not,
you'll need to truncate the table on host2 first. If you don't want the
complaints about tables or indexes or constraints that already exist,
use the -a option for data-only dumps.

Also, might I suggest using the pgsql-novice list? They're more likely
to help with general issues like this.

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@peak6.com

______________________________________________

See http://www.peak6.com/email-disclaimer/ for terms and conditions related to this email

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

Предыдущее
От: Guillaume Cottenceau
Дата:
Сообщение: Show_database_bloat reliability? [was: Re: REINDEX not working for wastedspace]
Следующее
От: Shaun Thomas
Дата:
Сообщение: Re: : Performance Improvement Strategy