修改数据库名称 teledb=# alter database teledb_db rename to teledb_db_new; ALTER DATABASE 修改连接数 teledb=# alter database teledb_db_new connection limit 50; ALTER DATABASE 修改数据库所有者 teledb=# alter database teledb_db_new owner to teledb; ALTER DATABASE 设置search_path
修改数据库名称teledb=# alter database teledb_db rename to teledb_db_new; ALTER DATABASE修改连接数teledb=# alter database teledb_db_new connection limit 50; ALTER DATABASE修改数据库所有者teledb=# alter database teledb_db_new owner to teledb; ALTER DATABASE配置数据默认search_pathteledb
修改数据库名称teledb=# alter database teledb_db rename to teledb_db_new; ALTER DATABASE修改连接数teledb=# alter database teledb_db_new connection limit 50; ALTER DATABASE修改数据库所有者teledb=# alter database teledb_db_new owner to teledb; ALTER DATABASE配置数据默认search_pathteledb
修改数据库名称teledb=# alter database teledb_db rename to teledb_db_new; ALTER DATABASE修改连接数teledb=# alter database teledb_db_new connection limit 50; ALTER DATABASE修改数据库所有者teledb=# alter database teledb_db_new owner to teledb; ALTER DATABASE配置数据默认search_pathteledb
检查服务所在某一个主机的空间是否不足 10.执行命令 vi ${BIGDATA_LOG_HOME}/controller/scriptlog/getLogs.log ,检索关键字 "Collect log failed, no enough space on hostIp "。是否能够检索到此关键字。 是,获取hostIp作为异常主机IP,执行步骤11。 否,执行步骤14。
禁止root从SSH直接登录可以提高服务器安全性。经过以下操作后即可实现。 新建用户 useradd test 配置密码 #使用passwd命令即可给相应帐户设置或修改密码。 passwd test #根据图示,设置或修改密码需要填写两次,第二次为效验密码,输入完毕后请回车确认。 Changing password for user test.