文章分类 -  Oracle

1 2 3 4 5 ··· 9 下一页
摘要:图片,文件,二进制数据既然数据库支持BLOB类型的数据,把文件塞进BLOB字段里一定没有错了!?错,不是这样的!别的先不提,在很多数据库语言里,处理大字段都不是很容易。把文件存放在数据库里有很多问题:对数据库的读/写的速度永远都赶不上文件系统处理的速度数据库备份变的巨大,越来越耗时间对文件的访问需要... 阅读全文
posted @ 2015-06-30 00:54 princessd8251 阅读(329) 评论(0) 推荐(0) 编辑
摘要:转自http://blog.itpub.net/17283404/viewspace-694323/--监控索引是否使用alter index &index_name monitoring usage;alter index &index_name nomonitoring usage;select... 阅读全文
posted @ 2015-06-30 00:48 princessd8251 阅读(322) 评论(0) 推荐(0) 编辑
摘要:The Q-quote delimiter can be any single or multibyte character except space, tab, and return.If the opening quote delimiter is a[,{,, ) character.In a... 阅读全文
posted @ 2015-06-10 01:07 princessd8251 阅读(224) 评论(0) 推荐(0) 编辑
摘要:oracle中extract()函数从oracle 9i中引入,用于从一个date或者interval类型中截取到特定的部分//语法如下: EXTRACT ( { YEAR | MONTH | DAY | HOUR | MINUTE | SECOND } | ... 阅读全文
posted @ 2015-06-08 00:49 princessd8251 阅读(187) 评论(0) 推荐(0) 编辑
摘要:转自http://blog.csdn.net/roland_wg/article/details/4598647http://www.oracleblog.cn/working-case/how-to-deal-with-distributed-transaction/http://2jliu.it... 阅读全文
posted @ 2015-06-08 00:47 princessd8251 阅读(3593) 评论(0) 推荐(0) 编辑
摘要:集合是指在一个程序变量中包含多个值。PL/SQL提供的集合类型如下:Associative Array:TYPE t IS TABLE OF something INDEX BY PLS_INTEGER;Nested Table:TYPE t IS TABLE OF something;VARRAY... 阅读全文
posted @ 2015-06-07 21:02 princessd8251 阅读(483) 评论(0) 推荐(0) 编辑
摘要:分布式事务是指发生在多台数据库之间的事务,Oracle中通过dblink方式进行事务处理,分布式事务比单机事务要复杂的多。大部分的关系型数据库通过两阶段提交(2 Phase Commit 2PC)算法来完成分布式事务,下面重点介绍下2PC算法。1、分布式事务的组成在分布式事务中,主要有以下几个组成部... 阅读全文
posted @ 2015-05-30 02:07 princessd8251 阅读(1594) 评论(0) 推荐(0) 编辑
摘要:转自http://blog.itpub.net/17203031/viewspace-688135/http://blog.itpub.net/17203031/viewspace-688136/http://blog.itpub.net/17203031/viewspace-688137/索引是O... 阅读全文
posted @ 2015-03-27 22:41 princessd8251 阅读(1288) 评论(0) 推荐(0) 编辑
摘要:转自http://blog.csdn.net/tianlesoftware/article/details/48986071. 先通过top命令查看产用资源较多的spid号2.查询当前耗时的会话ID,用户名,sqlID等:select sid,serial#,machine,username,pro... 阅读全文
posted @ 2015-03-27 21:09 princessd8251 阅读(1414) 评论(0) 推荐(0) 编辑
摘要:ORACLE使索引变成不可用的状态:alter index index_name unusable;执行成功后,如果后续需要再用到该索引的话,就必须重建。重建后会自动变成usable。根据ORACLE官方文档的说法(An unusable index must be rebulit , or dro... 阅读全文
posted @ 2015-03-23 17:10 princessd8251 阅读(381) 评论(0) 推荐(0) 编辑
摘要:演示一个TDE的数据加密示例,并用logminer验证加密效果。TDE(Transparent Data Encryption):我们称之为“Oracle 透明数据加密技术”,它属于Oracle数据保护安全策略的一种。有两种数据加密技术,一种是基于列的数据加密,另一种是基于表空间的数据加密。下面分别... 阅读全文
posted @ 2015-03-20 12:30 princessd8251 阅读(379) 评论(0) 推荐(0) 编辑
摘要:转:http://blog.csdn.net/microfhu/article/details/7585174Windows 64位下装Oracle 11g 64位,PLSQL Developer使用出现以下问题:1、Database下拉框为空:2、强制输入用户名、密码及Database,登录弹出:... 阅读全文
posted @ 2015-03-13 23:44 princessd8251 阅读(3040) 评论(0) 推荐(0) 编辑
摘要:Oracle Character SetsUnicode characters are stored in an Oracle database using one of Oracle's Unicode character sets. An Oracle character set defines... 阅读全文
posted @ 2015-03-13 12:05 princessd8251 阅读(349) 评论(0) 推荐(0) 编辑
摘要:本文更多将会介绍三思在日常中经常会用到的,或者虽然很少用到,但是感觉挺有意思的一些函数。分二类介绍,分别是: 著名函数篇 -经常用到的函数 非著名函数篇-即虽然很少用到,但某些情况下却很实用 注:N表示数字型,C表示字符型,D表示日期型,[]表示内中参数可被忽略,fmt表示格式。 单值函... 阅读全文
posted @ 2015-03-11 00:16 princessd8251 阅读(457) 评论(0) 推荐(0) 编辑
摘要:转自 http://blog.chinaunix.net/uid-13437740-id-2891766.html一个客户sysaux已经很大了,sysaux是system的辅助表空间,其中很大一部分是用来存放AWR的数据。在metalink上查到了原因和解决方法,应该是lob segments的高... 阅读全文
posted @ 2015-03-04 14:46 princessd8251 阅读(733) 评论(0) 推荐(0) 编辑
摘要:oracle中trim,ltrim,rtrim函数用法该函数共有两种作用:第一种,即大家都比较熟悉的去除空格。例子:--TRIM去除指定字符的前后空格SQL> SELECT TRIM(' dd df ') FROM dual;TRIM('DDDF')------------dd df--LTRIM去... 阅读全文
posted @ 2015-02-27 21:05 princessd8251 阅读(189) 评论(0) 推荐(0) 编辑
摘要:Oracle has changed the way it derivessessionsandprocessesparameters in database.In 10g, oracle used to derive sessions parameter from processes parame... 阅读全文
posted @ 2015-02-25 18:18 princessd8251 阅读(221) 评论(0) 推荐(0) 编辑
摘要:from http://oracle-base.com/articles/misc/virtual-indexes.phpThe process of tuning SQL statements often requires the testing of alternate indexing str... 阅读全文
posted @ 2015-01-23 16:15 princessd8251 阅读(127) 评论(0) 推荐(0) 编辑
摘要:Virtual index can be created in oracle database which doesn't has any physical body and location. It can create with NOSEGMENT clause for testing purp... 阅读全文
posted @ 2015-01-23 10:59 princessd8251 阅读(103) 评论(0) 推荐(0) 编辑
摘要:Theopen_cursorsparameter is a governor, a block to prevent runaway tasks from consuming too much library cache RAM.Any session may execute many SQL st... 阅读全文
posted @ 2015-01-19 14:34 princessd8251 阅读(217) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 9 下一页
点击右上角即可分享
微信分享提示