<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>东方咖啡屋 - ORACLE</title><link>http://blog.csdn.net/eastcafe/category/312490.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Fri, 18 Jan 2008 17:53:58 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>eastcafe</dc:creator><title>Oracle中捕获问题SQL解决CPU过渡消耗</title><link>http://blog.csdn.net/eastcafe/archive/2008/01/16/2047504.aspx</link><pubDate>Wed, 16 Jan 2008 20:58:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2008/01/16/2047504.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/2047504.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2008/01/16/2047504.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/2047504.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2047504</trackback:ping><description>本文通过实际业务系统中调整的一个案例，试图给出一个常见CPU消耗问题的一个诊断方法.大多数情况下，系统的性能问题都是由不良SQL代码引起的，那么作为DBA，怎样发现和解决这些SQL问题就显得尤为重要. 
&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/2047504.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>Oracle的锁表与解锁</title><link>http://blog.csdn.net/eastcafe/archive/2007/09/03/1770269.aspx</link><pubDate>Mon, 03 Sep 2007 15:14:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/09/03/1770269.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1770269.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/09/03/1770269.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1770269.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1770269</trackback:ping><description>Oracle的锁表与解锁&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1770269.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>Oracle DBA的UNIX袖珍参考手册 </title><link>http://blog.csdn.net/eastcafe/archive/2007/09/03/1770228.aspx</link><pubDate>Mon, 03 Sep 2007 14:50:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/09/03/1770228.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1770228.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/09/03/1770228.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1770228.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1770228</trackback:ping><description>作为一名Oracle DBA，在所难免要接触Unix，但是Unix本身又是极其复杂的，想要深刻掌握同样很不容易。那么到底我们该怎么入手呢？Donald K Burleson 的《Unix for Oracle DBAs Pocket Reference》这本书就比较详细的说明了作为一名Oracle DBA所应该掌握的知识，而且基本上都有例子供实验，因此有选择的翻译出主要的章节：&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1770228.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>查找CPU 过高</title><link>http://blog.csdn.net/eastcafe/archive/2007/09/02/1769234.aspx</link><pubDate>Sun, 02 Sep 2007 15:21:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/09/02/1769234.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1769234.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/09/02/1769234.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1769234.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1769234</trackback:ping><description>青岛&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1769234.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>oracle :性能优化的一个案例</title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765805.aspx</link><pubDate>Thu, 30 Aug 2007 18:32:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765805.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765805.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765805.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765805.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765805</trackback:ping><description>oracle :性能优化的一个案例 &lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765805.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>海量数据库的查询优化及分页算法方案</title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765803.aspx</link><pubDate>Thu, 30 Aug 2007 18:26:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765803.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765803.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765803.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765803.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765803</trackback:ping><description>海量数据库的查询优化及分页算法方案&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765803.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>解决SQL语句过度消耗CPU问题</title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765800.aspx</link><pubDate>Thu, 30 Aug 2007 18:23:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765800.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765800.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765800.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765800.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765800</trackback:ping><description>解决SQL语句过度消耗CPU问题&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765800.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>SQL语句大全—oracle数据库性能监控（六）</title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765319.aspx</link><pubDate>Thu, 30 Aug 2007 13:49:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765319.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765319.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765319.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765319.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765319</trackback:ping><description>1. 监控事例的等待SQL&amp;gt; SELECT EVENT,SUM(DECODE(WAIT_TIME,0,0,1)) "PREV",SUM(DECODE(WAIT_TIME,0,1,0)) "CURR",COUNT(*) "TOT" FROM V$SESSION_WAIT GROUP BY EVENT ORDER BY 4;2. 回滚段的争用情况 SQL&amp;gt; SELECT NAME, WAITS, GETS, WAITS/GETS "RATIO" FROM V$ROLLSTAT A, V$ROLLNAME B WHERE A.USN = B.USN; &lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765319.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>SQL语句大全—查看数据（三）</title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765309.aspx</link><pubDate>Thu, 30 Aug 2007 13:45:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765309.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765309.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765309.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765309.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765309</trackback:ping><description>根据SID找ORACLE的某个进程:
SQL&gt; SELECT PRO.SPID FROM V$SESSION SES,V$PROCESS PRO WHERE SES.SID=21 AND SES.PADDR=PRO.ADDR;

监控当前数据库谁在运行什么SQL语句:
SQL&gt;SELECT OSUSER, USERNAME, SQL_TEXT FROM V$SESSION A, V$SQLTEXT B 
WHERE A.SQL_ADDRESS =B.ADDRESS ORDER BY ADDRESS, PIECE;
&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765309.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>SQL语句大全—查看表空间（二）</title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765306.aspx</link><pubDate>Thu, 30 Aug 2007 13:44:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765306.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765306.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765306.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765306.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765306</trackback:ping><description>数据库各个表空间增长情况的检查：
SQL&gt;SELECT A.TABLESPACE_NAME,(1-(A.TOTAL)/B.TOTAL)*100 USED_PERCENT
FROM (SELECT TABLESPACE_NAME,SUM(BYTES) TOTAL FROM DBA_FREE_SPACE GROUP BY TABLESPACE_NAME) A,(SELECT TABLESPACE_NAME,SUM(BYTES) TOTAL FROM DBA_DATA_FILES GROUP BY TABLESPACE_NAME) B WHERE A.TABLESPACE_NAME=B.TABLESPACE_NAME;
&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765306.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>SQL语句大全—查看表空间（一）</title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765298.aspx</link><pubDate>Thu, 30 Aug 2007 13:41:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765298.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765298.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765298.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765298.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765298</trackback:ping><description>查看表空间的名称及大小: 
SQL&gt; SELECT T.TABLESPACE_NAME, ROUND(SUM(BYTES/(1024 * 1024)), 0) TS_SIZE
FROM DBA_TABLESPACES T, DBA_DATA_FILES D
WHERE T.TABLESPACE_NAME = D.TABLESPACE_NAME
GROUP BY T.TABLESPACE_NAME;

查看表空间物理文件的名称及大小:

&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765298.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>ipcs ,ipcrm </title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765282.aspx</link><pubDate>Thu, 30 Aug 2007 13:28:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765282.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765282.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765282.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765282.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765282</trackback:ping><description>当你需要终止一个UNIX服务器上的一个Oracle实例（instance）时，执行下面的步骤：

终止与ORACLE_SID有关的所有Oracle过程。 
用ipcs ?pmb命令来识别所有占用的RAM内存片断。 
用ipcrm -m 命令来从UNIX中释放占用的RAM内存。 
只对Non-AIX：用ipcs -sa命令来显示占用标记，用ipcrm ?s命令来释放该实例的占用标记。&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765282.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>ORACLE监控数据库性能的SQL(包括监控谁正在执行什么SQL语句)</title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765273.aspx</link><pubDate>Thu, 30 Aug 2007 13:24:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765273.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765273.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765273.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765273.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765273</trackback:ping><description>ORACLE监控数据库性能的SQL(包括监控谁正在执行什么SQL语句)&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765273.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>v$sqltext,v$sql</title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765260.aspx</link><pubDate>Thu, 30 Aug 2007 13:18:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765260.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765260.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765260.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765260.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765260</trackback:ping><description>v$sqltext    存储的是完整的SQL,SQL被分割。&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765260.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>eastcafe</dc:creator><title>oracle数据库开发的一些经验</title><link>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765254.aspx</link><pubDate>Thu, 30 Aug 2007 13:16:00 GMT</pubDate><guid>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765254.aspx</guid><wfw:comment>http://blog.csdn.net/eastcafe/comments/1765254.aspx</wfw:comment><comments>http://blog.csdn.net/eastcafe/archive/2007/08/30/1765254.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/eastcafe/comments/commentRss/1765254.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1765254</trackback:ping><description>1、不安装Oracle客户连接Oracle 8的方法。ctl3d32.dll msvcrt40.dll odbc16gt.dll odbc32.dll odbc32gt.dll odbccp32.dll odbccr32.dll odbcint.dll.Tnsnames.ora CORE35O.DLL NASNSNT.DLL NAUNTSNT.DLL NCRNT.DLL Nlnt.dll NLSRTL32.DLL Nnfdnt.dll NNFNNT.DLL NSNT.DLL NTNT.DLL NTTNT.DLL CIW32.(2).复制此客户端oracle目录下的所有文件作为独立的oracle安装文件；&lt;img src ="http://blog.csdn.net/eastcafe/aggbug/1765254.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>