CAP理论和BASE模型
CAP (Eric Brewer)Web服务无法同时满足以下3个属性Consistency(一致性),数据一致更新,所有数据变动都是同步的Availability(可用性),每个操作都必须以可预期的响应结束Partition tolerance(分区容...
[ORACLE] Tuning Oracle Database 10g for ext3 file systems
Tuning Oracle Database 10g for ext3 file systems Introduction:by Joseph Salisbury and D. John ShakshoberRed Hat® Enterprise Linux® 4 enables Oracle® Database 10g fi...
50 things to know before migrating Oracle to MySQL
摘自 http://www.xaprb.com/blog/2009/03/13/50-things-to-know-before-migrating-oracle-to-mysql/50 things to know before migrating Oracle to MySQLA while back I was at a seminar on migrating ...
Shell向SQL传递参数
PURPOSE ------- We often get question about how to pass a UNIX environment variable to PLSQL. Basically, how to set a variable value in a UNIX, and somehow run PL/SQL code which recognizes the...
[ORACLE] Killing Oracle Sessions
- 摘自 ORACLE-BASEIdentify the offending session using the V$SESSION or GV$SESSION view as follows.SET LINESIZE 100COLUMN spid FORMAT A10COLUMN username FORMAT A10COLUMN program FORMAT A45SELECT s.in...
SQL Server Logins and Users
Although the terms login and user are often used interchangeably, they are very different. * A login is used for user authentication * A database user account i...
[ORACLE] 清除statspack数据
1) 修改sppurge.sql脚本prompt Snapshots for this database instanceprompt ====================================select s.snap_id , s.snap_level &nbs...
[ORACLE] RMAN异机恢复记录
工作记录。另:备份脚本参见我的下载。bash-3.00$ rman target / catalog rman/rman@inst1002 Recovery Manager: Release 9.2.0.8.0 - 64bit ProductionCopyright (c) 1995, 2002, Oracle Corporation. Al...
[Oracle] 分区表
Range PartitioningCREATE TABLE sales_range ( salesman_id NUMBER(5), salesman_name VARCHAR2(30), sales_amount NUMBER(10), &nbs...
《Oracle DBA 手记》
《Oracle DBA手记》- 第一章PDF版本下载《Oracle DBA手记》- 第二章PDF版本下载
[Oracle] RAC实验
拓扑图后端的iSCSI服务器可以选openfiler或FreeNASMetalink: RAC Assurance Support Team: RAC / CRS Starter Kit and Best Practices (Generic) [ID 810394.1]RAC安装指南: http://www.oracle.com/tec...
[Oracle] Oracle中的位图索引
Oracle中的位图索引使用与常规索引相同的B+树结构来存储条目,位图索引的条目如下:<col1><start row-id><end row-id><compressed bitmap>如果不同的码值数目比表中的行数的一半少少时,位图索引比正常...
[基础]事务
事务的概念事务是访问并可能更新各种数据项的一个程序执行单元。Atomicity, Consistency, Isolation, Durability要求事务集的并发执行所产生的任何调度的执行效果等价于这些事务按某种串行...
[基础]索引
索引的评价因素:1) 访问类型,如records with a specified value in the attributeor records with an attribute value falling in a specified range of values.2)访问时间3)插入时间4)删除时间5)空间开销索...
[基础]数据文件中记录的组织
数据文件中记录的组织堆文件组织(heap file organization)顺序文件组织(sequential file organization)散列文件组织(hasing file organization)聚簇文件组织(clustering file organization)...