rz2014 / gpmagic Goto Github PK
View Code? Open in Web Editor NEWThis project forked from krun2010/gpmagic
Greenplum小工具
License: GNU Lesser General Public License v3.0
This project forked from krun2010/gpmagic
Greenplum小工具
License: GNU Lesser General Public License v3.0
# gpmagic 不得将代码用于任何商业目的 旨在分享----个人行为 作者: 陈淼 邮箱: [email protected] 使用备份恢复命令,请将 gpddlbackup gpddlrestore gpmcbackup gpmcrestore 四个文件直接拷贝到$GPHOME/bin/目录下,修改owner为gpadmin和mod为755: [gpadmin@mdw ~]$ cd $GPHOME/bin [gpadmin@mdw bin]$ chown gpadmin. gp{mc,ddl}* [gpadmin@mdw bin]$ chmod 755 gp{mc,ddl}* 使用说明可以参考命令的help信息和word文档 gpddlbackup已经经过较大范围验证,欢迎试用 使用跨集群数据传输命令,请将 gpdbtransfer 文件直接拷贝到$GPHOME/bin/目录下,修改owner为gpadmin和mod为755: [gpadmin@mdw ~]$ cd $GPHOME/bin [gpadmin@mdw bin]$ chown gpadmin. gpdbtransfer [gpadmin@mdw bin]$ chmod 755 gpdbtransfer 使用说明可以参考命令的help信息或readme目录中查看 gpdbcluster命令暂未经过大规模验证 建议慎重用于生产环境 目前已经强化了Standby激活的逻辑,如果无法判断Master的状态就不切换, 因为,如果gpactivatestandby命令本身也无法判断Master状态的话, 可能会出现Master和Standby都活着的冲突状态, 目前进行了进一步强化,常规的Master状态判断使用pg_sleep进行长时间保持, 如果第一次检测到异常,将会马上再进行3次简单测试,只有4次都异常才认为Master访问异常, 这一机制的完善主要用于避免可能出现检测SQL被误杀的情况, 对于出现连接数超过限制的情况,将认为数据库状态是正常的,不会予以切换
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.