PostgreSQL优化案例之 反连接与外连接等价改写
直奔主题,原SQL如下ta6_pub11@fund60perf=> explain ANALYZE select ta_code,row_number() over( ) as seq_no , ta6_pub11@fund60perf-> prd_code, targ_pr
PostgreSQL/LightDB 不走并行是为什么?
为何postgresql不能走并行?
LightDB/PostgreSQL 生成可重复执行的脚本
pg_dump/ lt_dump功能生成 PGPASSWORD=workflow12 lt_dump -U workflow12 -d workflow12 -n workflow12 -p 5435 --inserts --if-exists -c --no-owner > workflow12.sql
LightDB/Postgresql 记录客户端启动版本问题导致启动失败问题
The database cluster was initialized with CATALOG_VERSION_NO 202007201, but the server was compiled with CATALOG_VERSION_NO 202204261
LightDB/PostgreSQL 设置LightDB访问白名单pg_hba.conf
ltsql登陆的时候被拒绝了,其实这个问题比较简单,限制了用户ip登陆[lightdb@hs-10-19-36-28 ~]$ PGPASSWORD=benchmarksql ltsql -U benchmarksql -d benchmarksql1000 -h 10.20.30.231 -p&nb
LightDB/PostgreSQL等待事件 Lock transactionid
LightDB等待事件Lock transactionid
LightBD/PostgreSQL数据库设置归档保留时间
需要同时指定lightdb_archive_dir和lightdb_archive_retention_size 两参数 设置LightDB的归档保留策略 https://www.hs.net/lightdb/docs/html/runtime-config-wal.html#RUNTIME-CONFIG-WAL-ARCHIVING
LightDB/PostgreSQL标准业务创建语句【赋予读写权限和只读权限】
LightDB/PostgreSQL标准业务创建语句,赋予读写权限和只读权限,
LightDB-高可用主库常规维护重启操作
高可用的管理操作,主库正常维护重启
LightDB-指定lightdb_syntax_compatible_type切换不同数据引擎
LightDB数据库中设置lightdb_syntax_compatible_type参数,去切换到不同数据引擎
PostgreSQL14在做vacuum时候的逻辑判断是否经过HEAPTUPLE_RECENTLY_DEAD
lightdb=# insert into test_xmin_xmax values(1); INSERT 0 1 lightdb=# insert into test_xmin_xmax values(2); INSERT 0 1 lightdb=# ins
LightDB不记录WAL日志的表
init就是无日志的表,lightdb