代码改变世界

推荐排行榜

关于ORACLE通过file_id与block_id定位数据库对象遇到的问题的一点思考

2017-03-19 00:15 by 潇湘隐者, 4331 阅读, 收藏,
摘要: 在ORACLE中,我们可以通过file_id(file#)与block_id(block#)去定位一个数据库对象(object)。例如,我们在10046生成的trace文件中file#=4 block#=266 blocks=8,那么我可以通过下面两个SQL去定位对象 SQL 1:此SQL效率较差,执行时间较长。 SELECT OWNER, SEGMENT_NAME, ... 阅读全文

The server principal "sa" is not able to access the database "xxxx" under the current security context

2017-03-07 17:30 by 潇湘隐者, 4787 阅读, 收藏,
摘要: 在SQL Server服务器上一个作业执行时,遇到下面错误信息: Message: Executed as user: dbo. The server principal "sa" is not able to access the database "xxxx" under the current 阅读全文

Reporting Service 2008 “报表服务器数据库内出错。此错误可能是因连接失败、超时或数据库中磁盘空间不足而导致的”

2017-03-02 12:23 by 潇湘隐者, 3775 阅读, 收藏,
摘要: 今天遇到了两个关于Reporting Service的问题, 出现问题的环境为Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64) 。具体情况请见下面描述。 1:在修改报表的订阅后,保存时出现下面错误: 提示:报表服务器数据库内出错。此错误可能是因连接失败、超时或数据库中磁盘空间不足而导致的。 (rsReportServerDataba... 阅读全文

SQL Agent Job 报“Access to the remote server is denied because the current security context is not trusted”

2017-02-24 11:41 by 潇湘隐者, 1757 阅读, 收藏,
摘要: SQL Server 2005(Microsoft SQL Server 2005 - 9.00.5000.00)下的一个作业执行一个存储过程,存储过程中动态SQL语句使用链接服务器(Linked Servers),从另外一台SQL Server服务器获取数据。但是执行时报“Access to the remote server is denied because the current secu... 阅读全文

XtraBackup备份出现"Can't locate Digest/MD5.pm in @INC"

2017-02-23 13:34 by 潇湘隐者, 7658 阅读, 收藏,
摘要: 在CentOS 7上安装了Xtrabackup 2.4.5(innobackupex version 2.4.5 Linux (x86_64) (revision id: e41c0be)),然后做备份时遇到下面错误信息“Can't locate Digest/MD5.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/loca... 阅读全文
上一页 1 ··· 103 104 105 106 107 108 109 110 111 ··· 133 下一页