Chúng tôi không thể tìm thấy kết nối internet
Đang cố gắng kết nối lại
Có lỗi xảy ra!
Hãy kiên nhẫn trong khi chúng tôi khắc phục sự cố
5mins of Postgres E32: Đánh giá và cải thiện độ trễ mạng truy vấn bằng tc, COPY và chế độ pipeline
Tóm tắt nội dung
Mô tả
Today, we're gonna talk about network latency, how it impacts your query performance and how to improve it by using pipeline mode or COPY in Postgres. We also take a look at traffic control with the Linux tc tool.
*Find the article on our blog here:*
*Learn more about pganalyze:*
https://pganalyze.com/newsletter
https://twitter.com/pganalyze/
*Check out the pganalyze library for eBooks, webinars, and more:*
https://pganalyze.com/resources
📑 *What we have discussed in this episode of 5mins of Postgres:*
*Adding latency: one step, two step, oops - by Lawrence Jones*
https://blog.lawrencejones.dev/latency/
*Lawrence Jones on Twitter*
*Linux traffic control*
https://en.wikipedia.org/wiki/Tc_(Linux)
*How to use \timing in postgres*
https://stackoverflow.com/questions/40593723/how-to-use-timing-in-postgres
*What does \timing measure? - PostgreSQL mailing list thread*
*How does COPY work and why is it so much faster than INSERT?*
*Pipeline mode on postgresql.org*
https://www.postgresql.org/docs/current/libpq-pipeline-mode.html
Dịch Vào Lúc: 2025-07-06T04:29:53Z