Fix OGR2OGR Import – invalid byte sequence for encoding UTF8 Error showing When I use OGR2OGR to import Shapeilfe to PostgreSQL, I got error like this: invalid byte sequence for encoding "UTF8": 0xe2 0x6e 0x20 How to fix invalid byte […]
Góp nhặt của một kẻ mù công nghệ :p
Fix OGR2OGR Import – invalid byte sequence for encoding UTF8 Error showing When I use OGR2OGR to import Shapeilfe to PostgreSQL, I got error like this: invalid byte sequence for encoding "UTF8": 0xe2 0x6e 0x20 How to fix invalid byte […]
Force Drop Database PostgreSQL — Check current activity sessions SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE datname = 'nongnghiepdongnai'; — Drop DB DROP DATABASE nongnghiepdongnai;
Xếp hạng các Database Engines theo mức độ phổ biến (tháng 3/2022) Nguồn: https://db-engines.com/en/ranking Điều thú vị mình thấy là riêng trong lĩnh vực các Database Engines thì các phần mềm mã nguồn mỡ cũng không hề kém cạnh các […]
PostgreSQL for IoT (The Internet Of Strange Things)
Introduction To PostgreSQL As A Time Series Database For IoT Nguồn: https://www.c-sharpcorner.com/article/introduction-to-postgresql-as-a-time-series-database-for-iot/ A time-series database is a database system that is designed to store and load data over time through associated pairs of times and values. Time Series databases were initially […]
PostgreSQL force rename database PostgreSQL ép đổi tên Database — Tắt hết connect đến DB SELECT pg_terminate_backend (pid) FROM pg_stat_activity WHERE datname = 'nongnghiepdongnai2'; — Đổi tên DB ALTER DATABASE nongnghiepdongnai2 RENAME TO nongnghiepdongnai; https://www.geeksforgeeks.org/postgresql-rename-database/
VIẾT LẠI TRUY VẤN ĐỂ SỬ DỤNG KHUNG NHÌN THỰC CÓ HÀM THỐNG KÊ TRONG POSTGRESQL