上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 80 下一页
摘要: 一. 官网说明Memory Architecturehttp://download.oracle.com/docs/cd/B28359_01/server.111/b28318/memory.htm#i10221 The database buffer cache is the portion of the SGA that holds copies of data blocks read from datafiles. All users concurrently connected to the instance share access to the database buffer ca 阅读全文
posted @ 2011-06-28 19:40 sqlite例子 阅读(182) 评论(0) 推荐(0)
摘要: 一. B-Tree Index 原理官网说明: No index structure can satisfy all needs, but the self-balancing B-tree index comes closest to optimizing the performance of searches on large sets of data. Each B-tree node holds multiple keys and pointers. The maximum number of keys in a node supported by a specific B-tree 阅读全文
posted @ 2011-06-27 19:50 sqlite例子 阅读(289) 评论(0) 推荐(0)
摘要: 一. Bug 问题表现 2011年安装Oracle 10.2.0.4 和10.2.0.5 版本时,在配置OEM的时候会报错。 忽略这个错误后,DB 可以成功创建或者升级。 MOS 上关于这个bug的说明,参考:[ID 1222603.1] 该bug 的表现为DBCA和DBUA 配置失败: Database Configuration Assistant (DBCA) and Database Upgrade Assistant (DBUA) will report the following error in the console:Could not complete the Enterp. 阅读全文
posted @ 2011-06-26 16:02 sqlite例子 阅读(133) 评论(0) 推荐(0)
摘要: 一. 说明 如果对大表进行大规模的delete 和update,那么可以注意一下如下说明: (1) 查看执行计划,如果说删除的记录很多,走索引的成本会比全表扫描更大,因为更新数据时还需要做一些约束校验和创建index entry。而且对于多CPU 情况,全表扫描还可以使用并行的特性。 Oracle Parallel Execution(并行执行) http://blog.csdn.net/tianlesoftware/archive/2010/09/01/5854583.aspx (2)如果表上有索引,B-Tree 索引可以unusable索引,函数索引则disable 索引,等操作结束之后在 阅读全文
posted @ 2011-06-25 15:40 sqlite例子 阅读(246) 评论(0) 推荐(0)
摘要: 从AWR报告里发现一个SQL存在大量的version_count. SYS@xezf(qs-xezf-db1)> select sql_id,version_count from v$sqlarea where version_count> 500 order by 2 desc ;SQL_ID VERSION_COUNT------------- -------------9rwd4wkwm4bsy 3046cpqsn8zak6sw4 298566x4djqka2ppy 9760z7n7sst85222 617 在v$sqlarea 中保存了SQL的cursor,当有大量的ver 阅读全文
posted @ 2011-06-24 22:01 sqlite例子 阅读(173) 评论(0) 推荐(0)
摘要: PHP的php.ini时区设置问题2009-09-10 15:40从php5.1.0开始,php.ini里加入了date.timezone这个选项,默认情况下是关闭的,也就是显示的时间(无论用什么php命令)都是格林威治标准时间,和我们的时间(北京时间)差了正好8个小时,有以下3中方法可以恢复正常的时间。1、最简单的方法就是不要用php5.1以上的版本;2、如果要用5.1以上版本,而且不修改php.ini,则需要在关于时间的初始化的语句的上面加上date_default_timezone_set (XXX),或者使用date('Y-m-d G:i:T', strtotime(& 阅读全文
posted @ 2011-06-23 15:42 sqlite例子 阅读(373) 评论(0) 推荐(0)
摘要: 一. 官网说明1.1 v$session_longops V$SESSION_LONGOPS displays the status of various operations that run for longer than 6 seconds (in absolute time). These operations currently include many backup and recovery functions, statistics gathering, and query execution, and more operations are added for every Or 阅读全文
posted @ 2011-06-22 21:42 sqlite例子 阅读(143) 评论(0) 推荐(0)
摘要: php语法学习一例: 邻村有个姑娘叫小芳,小明与小芳有五年的恋爱历史, 小明由于性格内向,五年内没有向小芳表达过什么, 有这么一天,小明来到小芳家,就对小芳说:“你可以嫁给我吗”? 由于他们有五年的恋爱历史,小芳理所当然的答应小明了, 但小芳又说:“小明,你知道我家里很穷,我嫁给你,你要给我父母一定的彩礼钱”, 小明这时很高兴的说,我父亲早已为我们准备了10万元,够我们结婚用的了。 小芳说,我不管你要10万那么多,我只管你要一个月的零花钱。 下面我们看看小芳是如何向小明要这一个月的零花钱的, 小芳说:一个月的 第一天你给我1分钱, 第二天给我2分钱, 第三天给我4分钱, 第四天给我8分钱, 以 阅读全文
posted @ 2011-06-22 18:35 sqlite例子 阅读(208) 评论(0) 推荐(0)
摘要: 一. Recursive Calls 说明在执行计划的统计信息里有如下信息:SYS@anqing2(rac2)> set autot trace statisticsSYS@anqing2(rac2)> select * from ta,tb where ta.id=tb.id and ta.id <10; 9 rows selected.Statistics---------------------------------------------------------- 5 recursive calls 0 db block gets 2081 consistent g 阅读全文
posted @ 2011-06-22 17:15 sqlite例子 阅读(145) 评论(0) 推荐(0)
摘要: 一. Shared Pool 概述 在之前的blog对Oracle 的内存架构也做了一个概述,参考: Oracle 内存 架构 详解 http://blog.csdn.net/tianlesoftware/archive/2010/05/15/5594080.aspx 在网上搜到一篇介绍shared pool 非常详细的pdf资料。 原文链接以找不到,但还是要感谢作者Kamus的辛勤劳动。 结合Kamus 的pdf和csdn 网友的blog,重新整理了一下,链接如下: http://blog.csdn.net/robinson1988/archive/2010/11/26/6037925... 阅读全文
posted @ 2011-06-22 14:30 sqlite例子 阅读(222) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 80 下一页