-
Fix OGR2OGR Import – invalid byte sequence for encoding UTF8
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 sequence for encoding UTF8 I run this command first SET PGCLIENTENCODING=LATIN1 My full command to import Shapefile to PostgreSQL set path=C:/OSGeo4W/bin/ SET PGCLIENTENCODING=LATIN1 ogr2ogr -f "PostgreSQL" PG:"host=localhost user=postgres dbname=**** password=**** port=**** schemas=import_data" D:\WebData\nongnghiepvungtau\file_system\map_upload\soi1301202235231pm_t3.shp -skipfailures -overwrite -nln import_data.map_upload -lco ENCODING=UTF-8
-
Force Drop Database PostgreSQL
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)
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 công lớn khác. Bản thân mình cũng đang dùng PostgreSQL và thấy rất hài lòng, đặc biệt trong việc lưu trữ dữ liệu không gian thì kinh nghiệm của mình là chưa có Database Engines qua được PostgreSQL, kể cả các phần mềm trả phí. Một điểm thú vị nữa là theo xu thế thì PostgreSQL đang ngày càng mở rộng thị phần của mình trong khi 2 ông top…
-
PostgreSQL for IoT (The Internet Of Strange Things)
PostgreSQL for IoT (The Internet Of Strange Things)
-
[Sưu tầm] Introduction To PostgreSQL As A Time Series Database For IoT
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 founded for the Stock market but later used in many fields like health monitoring, performance monitoring, and many statistics. In this article, I will talk about the main features in the Time Series databases with examples by using Postgres. Choosing a good time-series database is an important issue when developing IoT applications. So, you must have a good understanding of the basics of time series databases. For this article, you…
-
PostgreSQL force rename database
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/
-
Fix Unable to connect to PostgreSQL server: SCRAM authentication requires libpq version 10 or above
-
Postgres convert empty string to NULL
-
PostgreSQL Window – Tạo Password File để dùng pg_dump
-
Postgresql cast array text to array
-
Getting PostgreSQL Installation Path From Query
-
VIẾT LẠI TRUY VẤN ĐỂ SỬ DỤNG KHUNG NHÌN THỰC CÓ HÀM THỐNG KÊ TRONG POSTGRESQL
VIẾT LẠI TRUY VẤN ĐỂ SỬ DỤNG KHUNG NHÌN THỰC CÓ HÀM THỐNG KÊ TRONG POSTGRESQL
-
Cách xem lại log file của PostgreSQL
-
Note một số đặc điểm của PostgreSQL
-
So sánh tốc độ truy vấn giữa PostgreSQL Table, View, materialized Views