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


It is possible to write custom aggregates?



Download 269,62 Kb.
Pdf ko'rish
bet6/19
Sana01.01.2022
Hajmi269,62 Kb.
#290585
1   2   3   4   5   6   7   8   9   ...   19
Bog'liq
Assessment

It is possible to write custom aggregates?

Yes, this is possible. PostgreSQL offers the CREATE AGGREGATE command to do

that. All you need is a set of stored procedures to write your custom business

logic. 


What is the difference between ordered sets and normal aggregates?

The main difference is that an ordered set requires data to be processed in a

certain order. A normal aggregate such as sum, count, avg, and so on does not

care about the order. The result of a count does not change if data is fed in a

different order. However, if you want to rank data using a hypothetical aggregate

(= some kind of ordered set) order does matter. You want to rank according to

some field and thus this order has to be specified.



Assessment


Download 269,62 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   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