How we keep Azure Database for PostgreSQL free of bloat to maximize disk space | Citus Con 2023

Microsoft Developer May 8, 2023
Video Thumbnail
Microsoft Developer Logo

Microsoft Developer

@microsoftdeveloper

About

Official Microsoft Developer YouTube channel! Featuring live events, tips and tutorials, product news and more to help you explore, discover, and build solutions - using your favorite languages, technologies, and open-source frameworks. More information visit https://developer.microsoft.com

Video Description

Video recording of a conference talk about Postgres table bloat given at Citus Con: An Event for Postgres 2023, by Bob Wuisman and Eleni Siampali of Ebiquity. The team at Ebiquity was facing an issue with bloat not being removed effectively, resulting in poor database and server performance. Now they automatically updates the autovacuum settings every week on their Azure Database for PostgreSQL flexible servers. Each week Bob and Eleni add new client database servers to our Azure Database for PostgreSQL Flexible Server subscription. Each database is different in size and activity. Some are less than 300GB with daily insert, update, and delete activities; some are more than 10 GB with little frequent changes; and then we have everything in between. This changes per table in the databases as well. Bob’s and Eleni’s automation of autovacuum has improved and stabilized Postgres query performance significantly—and has saved consistently more than one TB of server disk space. The weekly automatic updates to the following autovacuum parameters, based on segmenting the database tables in different clusters: ■ Autovacuum_vacuum_cost_limit (increase) ■ Autovacuum_vacuum_cost_delay (reduce) They discuss the 7 steps of their workflow: 1. Design the solution 2. Collect database statistics 3. Segment the database tables 4. Determine the autovacuuming factors 5. Automatically update the factors on each table 6. Return diskspace back to the server 7. Analyze results and adjust where needed Bob Wuisman has successfully built business intelligence environments in various businesses. With a holistic vision and process driven mindset, Bob thrives on building teams and sustainably growing data driven operations.. Eleni Siampali is a Data Engineer who has years of experience in automating data processes and running data science projects. She thrives in solving complex projects and trying out new applications by combining and integrating different technologies. At Ebiquity, Eleni has automated many processes and enabled automated query tasks across multiple Postgres databases. ► Video bookmarks: ⏩ 00:00 Introducing Bob and Eleni ⏩ 01:00 Talk begins: Keeping Azure Database for PostgreSQL free of bloat ⏩ 02:31 About Ebiquity ⏩ 03:12 Challenges: scope change, deletes, inserts, and bloat ⏩ 04:57 Client workload types ⏩ 06:21 Ineffective autovacuum settings cause massive bloat ⏩ 08:13 Structural performance improvements ⏩ 09:25 Design principles: automation, monitoring, and vacuum ⏩ 12:06 End-to-end pipeline in Airflow (DAG) ⏩ 16:10 Database table segmentation ⏩ 18:52 Bloat & vacuum learnings ⏩ 21:39 Q&A ✅ Learn more: Watch more Citus Con talks: https://aka.ms/cituscon-playlist 📕 Everything you need to know about Citus Con: An Event for Postgres can be found at: https://aka.ms/cituscon 📌 Let’s connect:   Twitter – @CitusCon, https://twitter.com/CitusCon #CitusCon #PostgreSQL #Database

You May Also Like

Upgrade Your Gaming Setup Now

AI-recommended products based on this video

Loading...
Beelink SER3 Mini Desktop PC with AMD Ryzen 3 3200U 2C/4T, 16GB DDR4 500GB PCIE3.0 X4 SSD, Dual Display Output, WiFi6/BT5.2 W-11 Pro Mini Gaming Computer

Beelink SER3 Mini Desktop PC with AMD Ryzen 3 3200U 2C/4T, 16GB DDR4 500GB PCIE3.0 X4 SSD, Dual Display Output, WiFi6/BT5.2 W-11 Pro Mini Gaming Computer

(239)
$459.00
FREE delivery Sat, Jan 3
Loading...
Beelink SER3 Mini PC, AMD Ryzen 3 3200U(14nm, 2C/4T) up to 3.5GHz, Mini Gaming Computer 16GB DDR4 RAM 500GB PCIE3.0 X4 SSD, Micro PC 4K@60Hz Dual Display, Mini Computer WiFi6/BT5.2/HTPC/W-11 Pro

Beelink SER3 Mini PC, AMD Ryzen 3 3200U(14nm, 2C/4T) up to 3.5GHz, Mini Gaming Computer 16GB DDR4 RAM 500GB PCIE3.0 X4 SSD, Micro PC 4K@60Hz Dual Display, Mini Computer WiFi6/BT5.2/HTPC/W-11 Pro

(1,251)
$329.00
FREE delivery Sat, Jan 3
Loading...
Beelink SER3 Mini PC, AMD Ryzen 3 3200U(up to 3.5GHz) 2C/4T, Mini Computer 16GB DDR4 RAM 500GB SSD, Mini Desktop Computer 4K@60Hz Dual HDMI Display WiFi6/BT5.2/WOL/HTPC/W-11 Pro

Beelink SER3 Mini PC, AMD Ryzen 3 3200U(up to 3.5GHz) 2C/4T, Mini Computer 16GB DDR4 RAM 500GB SSD, Mini Desktop Computer 4K@60Hz Dual HDMI Display WiFi6/BT5.2/WOL/HTPC/W-11 Pro

(815)
$329.00
FREE delivery Sat, Jan 3
50+ bought in past month
Loading...
Corsair Vengeance LPX 32GB (2 X 16GB) DDR4 3200 (PC4-25600) C16 1.35V Desktop Memory - Black
Best Seller

Corsair Vengeance LPX 32GB (2 X 16GB) DDR4 3200 (PC4-25600) C16 1.35V Desktop Memory - Black

(16,675)
$112.99$101.69
FREE delivery Sun, Aug 10
500+ bought in past month
Loading...
Beelink EQR5 Mini Desktop PC with AMD Ryzen 7 5825U 8C/16T, 32GB DDR4 500G NVMe M.2 SSD, Dual Display Output, Built in PSU, WiFi 6, 1000M RJ45, Bluetooth 5.2 W-11 Mini Computer

Beelink EQR5 Mini Desktop PC with AMD Ryzen 7 5825U 8C/16T, 32GB DDR4 500G NVMe M.2 SSD, Dual Display Output, Built in PSU, WiFi 6, 1000M RJ45, Bluetooth 5.2 W-11 Mini Computer

(459)
$539.00
FREE delivery Sat, Jun 21
Loading...
2PCS 95mm 7PIN T129215SU FDC10U12S9-C 12V 0.5A RTX3070 3060Ti Graphic Card Cooler Fan for ASUS GeForce RTX 3060 Ti 3070 Dual OC Fan

2PCS 95mm 7PIN T129215SU FDC10U12S9-C 12V 0.5A RTX3070 3060Ti Graphic Card Cooler Fan for ASUS GeForce RTX 3060 Ti 3070 Dual OC Fan

(4)
$46.40$46.00
FREE delivery Feb 19 - 20
Loading...
87MM FDC10U12S9-C for Cooling Fan for ASUS for GeForce RTX 2080 2070 2060 Dual for Advanced OC for Gaming Graphics Card Cooler(Black B-Fan)

87MM FDC10U12S9-C for Cooling Fan for ASUS for GeForce RTX 2080 2070 2060 Dual for Advanced OC for Gaming Graphics Card Cooler(Black B-Fan)

(0)
$23.22
FREE delivery Mar 19 - Apr 10
Loading...
Asus Prime GeForce RTX 5080 16GB GDDR7 Prime-RTX5080-16G Pci-Express 5.0 Dlss 4.0 Graphics Card Gaming

Asus Prime GeForce RTX 5080 16GB GDDR7 Prime-RTX5080-16G Pci-Express 5.0 Dlss 4.0 Graphics Card Gaming

(543)
$1,809.99
FREE delivery Thu, Feb 19
Loading...
The SFF-Ready ASUS Prime GeForce RTX™ 5070 12GB GDDR7 White OC Edition Graphics Card (PCIe® 5.0, 12GB GDDR7, HDMI®/DP 2.1, 2.5-Slot, Axial-tech Fans, Dual BIOS)

The SFF-Ready ASUS Prime GeForce RTX™ 5070 12GB GDDR7 White OC Edition Graphics Card (PCIe® 5.0, 12GB GDDR7, HDMI®/DP 2.1, 2.5-Slot, Axial-tech Fans, Dual BIOS)

(670)
$909.99
FREE delivery Sat, Jan 3
50+ bought in past month
Loading...
CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit – Hardline Water Cooling Loop – XC7 Elite CPU Water Block – XD5 Elite D5 Pump Res – XR5 360mm Radiator – 3X QX120 RGB Fans

CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit – Hardline Water Cooling Loop – XC7 Elite CPU Water Block – XD5 Elite D5 Pump Res – XR5 360mm Radiator – 3X QX120 RGB Fans

(235)
$879.99
FREE delivery Sun, Aug 24
Loading...
CeraVe AM Face Moisturizer SPF 50, Facial Moisturizing Lotion with Sunscreen, Hyaluronic Acid & Niacinamide, Broad Spectrum UVA+UVB Protection, No White Cast, Recommended by Dermatologists, 89mL

CeraVe AM Face Moisturizer SPF 50, Facial Moisturizing Lotion with Sunscreen, Hyaluronic Acid & Niacinamide, Broad Spectrum UVA+UVB Protection, No White Cast, Recommended by Dermatologists, 89mL

(12)
$19.99
FREE delivery Sun, Mar 29 on your first order
1K+ bought in past month
Loading...
Portable Air Conditioners, wobuzhi Evaporative Air Cooler with LCD Screen, Fan Speed&Spray, 7 RGB Lights,USB Powered,1-8H Timer, Personal Air Conditioners, Portable Air Conditioners for Home Office

Portable Air Conditioners, wobuzhi Evaporative Air Cooler with LCD Screen, Fan Speed&Spray, 7 RGB Lights,USB Powered,1-8H Timer, Personal Air Conditioners, Portable Air Conditioners for Home Office

(32)
$39.99
FREE delivery Sun, Aug 10
200+ bought in past month
Loading...
llano RGB Laptop Cooling Pad with Powerful Turbofan Gaming Cooler Radiator with Infinitely Variable Speed, Touch Control, LCD Screen, 3-Port USB Hub, Seal Foam for Notebook Computer 15-19in

llano RGB Laptop Cooling Pad with Powerful Turbofan Gaming Cooler Radiator with Infinitely Variable Speed, Touch Control, LCD Screen, 3-Port USB Hub, Seal Foam for Notebook Computer 15-19in

(1,404)
$129.99
Prime
200+ bought in past month
Loading...
Neck Fan with Cooling Plate,Portable Neck Fan Rechargeable Battery Powered,Bladeless Personal Air Conditioner Wearable Neck Cooler Fans,USB Electric Quiet Necklace AC Fans for Travel Outdoor Black

Neck Fan with Cooling Plate,Portable Neck Fan Rechargeable Battery Powered,Bladeless Personal Air Conditioner Wearable Neck Cooler Fans,USB Electric Quiet Necklace AC Fans for Travel Outdoor Black

(35)
$39.99
600+ bought in past month
Loading...
MSI MAG CORELIQUID A15 240 - AIO ARGB CPU Liquid Cooler - 240mm Radiator - AM5, LGA 1851 Ready - Dual 120mm ARGB PWM Fans, Black

MSI MAG CORELIQUID A15 240 - AIO ARGB CPU Liquid Cooler - 240mm Radiator - AM5, LGA 1851 Ready - Dual 120mm ARGB PWM Fans, Black

(21)
$89.99$85.49
FREE delivery Sat, Jan 3
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Redragon M612 Predator RGB Gaming Mouse, 8000 DPI Wired Optical Mouse with 11 Programmable Buttons & 5 Backlit Modes, Software Supports DIY Keybinds Rapid Fire Button

Redragon M612 Predator RGB Gaming Mouse, 8000 DPI Wired Optical Mouse with 11 Programmable Buttons & 5 Backlit Modes, Software Supports DIY Keybinds Rapid Fire Button

(8,052)
$22.49
FREE delivery Thu, Aug 21 on your first order
500+ bought in past month
Loading...
HyperX CloudX Stinger 2 Core - Gaming Headset for Xbox, Lightweight Over-Ear headsets with mic, Swivel-to-Mute Function, 40mm Drivers - White

HyperX CloudX Stinger 2 Core - Gaming Headset for Xbox, Lightweight Over-Ear headsets with mic, Swivel-to-Mute Function, 40mm Drivers - White

(5,595)
$44.99
PrimeFREE delivery Sat, Jun 14