03 2011 档案
摘要:Oracle并发不只是高效的锁定,它还实现了一种多版本(multi-versioning)体系结构,这种体系结构能提供高度受控的并发数据访问。多版本是指oracle能同时物化多个版本的数据,oracle read consistant means consistant results with respect to a point in time.读取器不会因为写被阻塞。事物的基本作用是将数据库从一种一致状态转变为另一种状态事物隔离级别 transaction isolation levellevel dirty read nonrepeatable phantomread uncommitt
阅读全文
摘要:ORACLE批量绑定FORALL与BULK COLLECT关键字: oracle forall bulk collect FORALL与BULK COLLECT的使用方法:1.使用FORALL比FOR效率高,因为前者只切换一次上下文,而后者将是在循环次数一样多个上下文间切换。2.使用BLUK COLLECT一次取出一个数据集合,比用游标条取数据效率高,尤其是在网络不大好的情况下。但BLUK COLLECT需要大量内存。例子:Sql代码createtabletest_forall(user_idnumber(10),user_namevarchar2(20));select into 中使用bu
阅读全文
摘要:OracleConnection connection = new OracleConnection(connectionString); --连接 connection.Open(); OracleCommand command = new OracleCommand(); command.Connection = connection; command.CommandText = "PACK_SIIT.getFlowTrack";--存储过程名 command.CommandType = CommandType.StoredProcedure;--设置执行为存储过程 c
阅读全文
摘要:1.parallel execution 并行执行2.strength优点 weakness缺点 seed潜能 virtue 品德 competence能力3. variable scn numberexec :scn:=dbms_flashback.get_system_change_number;select * from tablename as of scn :scn;select * from tablename as of timestamp sysdate-1/1440;select timestamp_to_scn(to_date('2010-01-01 10:10:1
阅读全文
摘要:1.位图索引适合低基数(low cardinality)列,该列只有有限个可取值,但是更新或插入位图索引键会将这个键所对应的所有记录和要更新的那条记录一同锁定,从而降低了并发性。对应此问题可以在该列创建B*Tree索引,可以只对感兴趣的值创建索引。2.Property and AttributeProperty是本质上是一对get,set方法,可以进行访问控制 翻译为属性;Attribute是特性,是对程序集、类、方法、属性等对象的描述信息,特性提供的信息也称为元数据,可以通过反射的方式获取特性信息 AnimalTypeTestClass testClass = new AnimalTypeT
阅读全文
浙公网安备 33010602011771号