Chapter 2: Understanding Transactions and Locking What is the purpose of a transaction?



Download 269,62 Kb.
Pdf ko'rish
bet17/19
Sana01.01.2022
Hajmi269,62 Kb.
#290585
1   ...   11   12   13   14   15   16   17   18   19
Bog'liq
Assessment

How does PostgreSQL stream data?

If you are using streaming replication data is streamed over a database

connection. The way this is done is as follows: The PostgreSQL wire protocol

supports a thing called copy mode. The transaction log streaming protocol is

embedded within this copy mode to move data between servers. In other words: A

streaming connection is using standard PostgreSQL means to communicate. No

additional ports are needed. 

Is synchronous replication a lot slower than asynchronous replication?

Yes. In case of short transactions, it definitely does add some performance

penalty. However, there are various flavors of synchronous replication. While

synchronous_commit = remote_apply

 might have a real impact a local

synchronous_commit = remote_write

 setting for a long transaction might

not be too bad. It really depends on network latency, bandwidth, transaction

length, and a lot more.


Download 269,62 Kb.

Do'stlaringiz bilan baham:
1   ...   11   12   13   14   15   16   17   18   19




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish