SShortSingh.
Back to feed

PostgreSQL 19's new REPACK CONCURRENTLY command reduces table lock time significantly

0
·1 views

PostgreSQL 19 introduces a new REPACK command with a CONCURRENTLY option designed to reclaim storage space without prolonged table locking. The new feature aims to replace the functionality of VACUUM FULL or the pg_repack extension while allowing other operations to continue. Testing on PostgreSQL 19 beta 4 showed REPACK CONCURRENTLY reduced client blocking time from over 4 seconds to under one second during table reorganization. The improvement occurs because REPACK CONCURRENTLY only briefly locks the table at the end of the operation rather than throughout the entire process.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Open-Source Tool 'Paste-Safe' Masks Client Data Before AI Chat, Restores It After

Paste-Safe is a new open-source web application designed to help professionals protect client confidentiality when using AI chatbots. The tool automatically identifies and replaces personal information like names, organizations, phone numbers, and addresses with placeholders before text is sent to services like ChatGPT or Claude. After receiving the AI-generated response, users can paste it back into the tool to restore the original, unmasked information. The system uses a combination of an open-source named entity recognition model and regular expressions running locally in the user's browser, ensuring no data is transmitted externally. The tool is aimed at freelancers, consultants, and small agencies who need to comply with confidentiality clauses while leveraging AI assistants.

0
ProgrammingDEV Community ·

Taiwan releases key open datasets as clean JSON for developers and businesses

Taiwan publishes several government datasets under an Open Government Data License. A developer has reformatted four of these into clean, English-keyed JSON with standardized dates. The datasets include new company registrations, translated laws and regulations, and drug and product license information. These standardized feeds are designed to be more accessible for international developers, researchers, and businesses. The data can be used for lead generation, compliance checks, and market analysis.

0
ProgrammingDEV Community ·

Ride-hailing data scrapes require contextual handling for accurate pricing models

Ride-hailing price data scraped from competitor apps becomes stale within minutes and can vary based on user account, location, and other factors. Treating these scraped prices as simple, clean facts can lead to inaccurate pricing or forecasting models. A more effective approach is to preserve the full context of each data point, including timestamp, user persona, location, and the status of the request itself. The article suggests structuring raw data in a detailed schema and applying freshness weights to ensure recent observations carry more influence than older ones in any analysis.

0
ProgrammingDEV Community ·

Astro 7 site update triggers IndexNow fix to prevent false change alerts

A site built with Astro 7 underwent a full rebuild that changed technical details like script IDs and file names without altering the visible content. This caused the site's IndexNow script, which alerts search engines to updates by hashing file bytes, to incorrectly flag all 273 pages as changed. To prevent such false alerts, the developer modified the script on October 8, 2026, to hash only the content a web crawler reads, ignoring stylistic and technical code changes. The update, involving changes to three files, ensures search engines are notified only when actual page content is altered.