02 2022 档案
摘要:导出整个库 .\pg_dump.exe -h 127.0.0.1 -p 5432 -U postgres -c -C -f db.sql dbname 恢复 .\psql.exe -h 127.0.0.1 -p 5432 -U postgres -f .\dbname.sql 导出单个数据库下的模式
阅读全文
摘要:1. 查看数据库大小 select pg_size_pretty(pg_database_size('database')); 2. 查看表大小 select pg_table_size('table');
阅读全文
摘要:1. docker pull postgres:12.5 2. 启动 docker run --name postgres -e POSTGRES_PASSWORD=123456 -p 5432:5432 -d postgres:12.5docker run --name postgres --ne
阅读全文
摘要:连接mysql 8.x 版本 https://blog.csdn.net/qq_42891999/article/details/104880596 Linux 执行ktr 文件 https://www.jianshu.com/p/fa398f104e5d 后台执行job https://www.c
阅读全文