Re: [SQL] Don't need transaction integrity - can I turn it off
В списке pgsql-sql по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [SQL] Don't need transaction integrity - can I turn it off |
| Дата | |
| Msg-id | 6401.935761511@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [SQL] Don't need transaction integrity - can I turn it off ("Oliver Elphick" <olly@lfix.co.uk>) |
| Список | pgsql-sql |
"Oliver Elphick" <olly@lfix.co.uk> writes:
>> Yes, we have no-fsync option. See FAQ.
> But that has to do with not forcing a sync to disk after every write.
> I've never heard of an ability to disable transactions; isn't every
> operation outside an explicitly-declared transaction made a single
> separate transaction by default?
It is, and I don't think there's any possibility of turning that off.
It's too tightly integrated with the cross-backend interlocking.
If you don't want transactions, and you don't want multiple backends,
maybe mySQL is what you need ;-)
BTW, if you're not too concerned about parallelism, one way to squeeze
a little more speed is to use explicit transactions *more*, not less.
The more stuff you get done between BEGIN and COMMIT, the less the
transaction overhead per useful operation...
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера