Continual uptime while loading data ... COPY vs INSERTS within a transaction.
В списке pgsql-general по дате отправления:
| От | Benjamin Arai |
|---|---|
| Тема | Continual uptime while loading data ... COPY vs INSERTS within a transaction. |
| Дата | |
| Msg-id | 47AE3779.6010101@benjaminarai.com обсуждение исходный текст |
| Ответы |
Re: Continual uptime while loading data ... COPY vs INSERTS within a transaction.
Re: Continual uptime while loading data ... COPY vs INSERTS within a transaction. |
| Список | pgsql-general |
Hello, We are running a system which requires continual uptime while loading data. Currently one particular table receives a large number of inserts per commit (about 10000 inserts). This process works well allowing both end users to access the data as well as loading reasonably quickly. We are thinking of modifying our system to use COPY to replace these large INSERT transactions but we are concerned that it will greatly impact the user experience (i.e., exclusively lock the table during the copy process). First, does COPY grab an exclusive lock? Second, is there a better way to load data? Benjamin
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера