首页


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 (Page 39 of 47)



不更改代码的情况下如何优化数据库系统

这个问题很多DBA可能都碰到过吧:比如刚接手一个旧有系统,原来的厂商不允许对代码修改,或者是系统应用比较关键。不允许作修改,或者是源代码出于商业目的,进行了一定程度的加密,还有的时候可能是行政因素--领导为了避免责任,不允许你这样做,但这个时候,系统的性能上的问题还比较严重,还有其他办法怎么对系统进行优化么?

在这里我尝试总结一下可能有的途径。

针对特定的SQL进行"外科手术" (Metalink 122812.1),改进执行计划

  • 更新统计信息 (调整采样率/柱状图统计)
  • 调整索引 (添加或调整合适的索引,删除不必要的索引)
  • 创建物化试图(用空间开销来换取时间收益)

Continue reading "不更改代码的情况下如何优化数据库系统" »

January 12, 2005

Tomcat 空间占用增长异常分析一例

有朋友问:

RHEL AS 3.0 上,df -k发现 /opt 在不断增长,而在 /home 里面 du -sh 却发现空间大小没有变化, /opt 下面是一个网站,把 tomcat 停了就不会增长了。这是怎么回事?

Continue reading "Tomcat 空间占用增长异常分析一例" »

January 11, 2005

Another tool for 'Command Line History'

看到 Tom 在介绍 rlwrap --另一个可以用来在 Linux 上回调命令行的工具。

rlwrap is a 'readline wrapper' that uses the GNU readline library to allow the editing of keyboard input for any other command. Input history is remembered across invocations, separately for each command; history completion and search work as in bash and completion word lists can be specified on the command line.

Howard J.Rogers 写了一篇介绍文档,并把该工具打包为 RPM 文件。

Continue reading "Another tool for 'Command Line History'" »

January 5, 2005

Job Number 最大为多少?(FAQ)

有朋友问:我的 Oracle 据库每周要重建很多 JOB,导致 JOB 的编号不断增大。Oracle的数据库 JOB 编号的上限是多少?会不会哪一天数据库的 JOB 编号到了最大值,而无法新建JOB?

Continue reading "Job Number 最大为多少?(FAQ)" »

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 (Page 39 of 47)