2018-02-06 · 681 words · 4 mins
Data migration typically involves stopping services for updates. Zero-downtime data migration is a relatively advanced operation.
2018-02-06 · 301 words · 2 mins
Although PostgreSQL provides pgbench, sometimes you need sysbench to outperform MySQL.
2018-02-06 · 335 words · 2 mins
FIO is a convenient tool for testing disk I/O performance
2018-02-06 · 660 words · 4 mins
It’s recommended to configure PostgreSQL’s log format as CSV for easy analysis, and it can be directly imported into PostgreSQL data tables.
2018-02-04 · 376 words · 2 mins
Indexes are useful, but they’re not free. Unused indexes are a waste. Use these methods to identify unused indexes.
2018-01-07 · 297 words · 2 mins
Quick configuration for passwordless login to all machines
2018-01-05 · 982 words · 5 mins
Wireshark is a very useful tool, especially suitable for analyzing network protocols. Here’s a simple introduction to using Wireshark for packet capture and PostgreSQL protocol analysis.
2017-12-01 · 846 words · 4 mins
With file_fdw, you can easily view operating system information, fetch network data, and feed various data sources into your database for unified viewing and management.
2017-09-07 · 629 words · 3 mins
PostGIS is PostgreSQL’s killer extension, but compiling and installing it isn’t easy.
2017-09-07 · 2379 words · 12 mins
top, free, vmstat, iostat: Quick reference for four commonly used CLI tools
2017-08-24 · 4248 words · 20 mins
Similar to JDBC, Go also has a standard database access interface. This article details how to use database/sql in Go and important considerations.
2017-08-03 · 1234 words · 6 mins
Cleverly utilizing PostgreSQL’s Notify feature, you can conveniently notify applications of metadata changes and implement trigger-based logical replication.
2017-06-09 · 477 words · 3 mins
Sometimes we want to record important metadata changes for audit purposes. PostgreSQL triggers can conveniently solve this need automatically.
2017-04-05 · 411 words · 2 mins
Five minutes, PostgreSQL, and the MovieLens dataset—that’s all you need to implement a classic item-based collaborative filtering recommender.
2016-11-06 · 1683 words · 8 mins
UUID properties, principles and applications, and how to manipulate UUIDs using PostgreSQL stored procedures.
2016-05-28 · 707 words · 4 mins
Recently had business requirements to access MongoDB through PostgreSQL FDW, but compiling MongoDB FDW is really a nightmare.