摘要:
Table Lock ModesThese table lock modes are automatically assigned by the Oracle server:Row Exclusive(RX):INSERT,UPDATE,DELETERow Share(RS):SELECT ... FOR UPDATEManually Locking a TableManually acquired in LOCK TABLE StatementSQL>LOCK TABLE HR.employees IN share MODE;Share(S)No DML operations allo 阅读全文
摘要:
ObjectivesAfter completing this lesson,you should be able to do the following:Define levels of lockingIdentify causes of contentionPrevent locking problemsUse Oracle utilities to detect lock contentionResolve contention in an emergencyResovle deadlock conditionsModes of LockingOracle Database uses t 阅读全文
摘要:
Partition table 三种基本类型:ranage、hash、list partition table,另外composite partition就是对以上三种类型的组合类型.Composite PartitioningIdeal for both historical data and data placementProvides high availability and manageability,like range partitioningImproves performance for parallel DML and supports partition-wise joi 阅读全文
摘要:
Hash Partitioning OverviewEasy to ImplementEnables better performance for PDML and partion-wise joinsPDML->P DML并发的修改数据partition-wise join只能的Join,只需要有用的Partition 进行Join,没用的partition就不参加JoinInserts rows into partitions automatically based on the hash of the partion keySupports(hash) local indexesp 阅读全文
摘要:
Data Access MethodsTo enhance performance ,you can use the following data access methods:ClustersIndexesB-tree(nomal or reverse key)BitmapFunction basedIndex-organized tablesMaterialized viewsClustersCluster TypesHash Clustered TablesExample创建Index ClusterCREATE CLUSTER mycluster(deptno number(2)) s 阅读全文