摘要:
greenplum基础命令 greenplum数据库连接信息: IP: 10.0.0.11 port: 5432 bigdata schema: app01 账户: dba 密码: 123 -- 安装pg客户端 yum localinstall postgresql postgresql-libs 阅读全文
posted @ 2020-10-22 14:20
捧花大王
阅读(246)
评论(0)
推荐(0)
摘要:
批量导出greenplum表结构 #!/bin/bash export PGPASSWORD=123 for i in `cat table_list.txt` do echo "now begin backup $1" psql -d bigdata -h 10.0.0.11 -p 5432 -U 阅读全文
posted @ 2020-10-22 14:13
捧花大王
阅读(762)
评论(0)
推荐(0)
摘要:
-- 导出greenplum的schema pg_dump --host=10.0.0.11 --port=5432 --username=dba --password=123 --schema-only instance_name --schema=db_name --file=/tmp/1.sq 阅读全文
posted @ 2020-10-22 14:11
捧花大王
阅读(230)
评论(0)
推荐(0)

浙公网安备 33010602011771号