代码改变世界

评论排行榜

psql还原数据的时候报"invalid command \N"错误

2021-08-06 08:44 by abce, 3437 阅读, 收藏,
摘要: 一个开发环境被开发同学误删除了表数据,通过pg_dump的文本备份文件,执行psql进行异机还原的时候,发生了报错: $ psql -U postgres -W abce < abce.sql .... invalid command \N invalid command \N invalid co 阅读全文

PostgreSQL中的template0和template1库

2020-11-11 09:48 by abce, 2121 阅读, 收藏,
摘要: postgresql中默认会有三个数据库:postgres、template0、template1。 postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges + + + 阅读全文

Tomcat启动时报错,Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext

2016-12-13 19:59 by abce, 108665 阅读, 收藏,
摘要: 解决方法: 修改tomcat配置文件catalina.properties 阅读全文

rhel7 ifconfig command not found

2017-06-14 17:31 by abce, 1031 阅读, 收藏,
摘要: 同事扔过来一个rhel7.2的系统,登录后发现没有安装ifconfig命令: 先看看环境变量: 在查看ifconfig命令是否存在:结果没有发现命令 安装ifconfig命令: OK! 阅读全文

Rman备份的保留策略(retention policy)

2016-07-08 14:41 by abce, 13199 阅读, 收藏,
摘要: 什么是备份的保留策略(retention policy) 保留策略就是指某份备份是否要保留以及保留多久。可以使用configure retention policy命令来创建一个一致的、自动的备份保留策略。 当一个备份策略生效后,rman就认为数据文件、控制文件的备份是obsolete的,也就是说根 阅读全文
1 2 3 4 5 ··· 9 下一页