| От | Ragnar Hafstað |
|---|---|
| Тема | Re: very slow after a while... |
| Дата | |
| Msg-id | 1112806867.31874.4.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | Re: very slow after a while... (Costin Manda <siderite@madnet.ro>) |
| Список | pgsql-general |
On Wed, 2005-04-06 at 18:18 +0300, Costin Manda wrote: > The script does the following thing: > 1. read the count of rows in two tables from the mssql database > 2. read the count of rows of the 'mirror' tables in postgres > these are tables that get updated rarely and have a maximum of 100000 > records together > 3. if the counts differ, delete from the mirror table everything and > reinsert everything. > 4. THEN do the inserts that get updated on error if you empty the table in step 3, why do you have to test for the duplicate id error? are there duplicates in the mssql table? gnari
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера