Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

OracleÊý¾Ý¿âËø

 ¡¾×ª¡¿http://topic.csdn.net/t/20031006/10/2327335.html
ÎÄÕÂÀ´×Ô   www.ncn.cn     (¾ÛÏÍׯ)  
  =======================================================  
   
  ORACLEÀïËøÓÐÒÔϼ¸ÖÖģʽ:  
  0£ºnone  
  1£ºnull   ¿Õ  
  2£ºRow-S   Ðй²Ïí(RS)£º¹²Ïí±íËø£¬sub   share    
  3£ºRow-X   ÐжÀÕ¼(RX)£ºÓÃÓÚÐеÄÐ޸ģ¬sub   exclusive    
  4£ºShare   ¹²ÏíËø(S)£º×èÖ¹ÆäËûDML²Ù×÷£¬share  
  5£ºS/Row-X   ¹²ÏíÐжÀÕ¼(SRX)£º×èÖ¹ÆäËûÊÂÎñ²Ù×÷£¬share/sub   exclusive    
  6£ºexclusive   ¶ÀÕ¼(X)£º¶ÀÁ¢·ÃÎÊʹÓã¬exclusive  
   
  Êý×ÖÔ½´óËø¼¶±ðÔ½¸ß,   Ó°ÏìµÄ²Ù×÷Ô½¶à¡£  
   
  1¼¶ËøÓУºSelect£¬ÓÐʱ»áÔÚv$locked_object³öÏÖ¡£  
  2¼¶ËøÓУºSelect   for   update,Lock   For   Update,Lock   Row   Share    
  select   for   updateµ±¶Ô»°Ê¹ÓÃfor   update×Ó´®´ò¿ªÒ»¸öÓαêʱ£¬ËùÓзµ»Ø¼¯ÖеÄÊý¾ÝÐж¼½«´¦ÓÚÐм¶(Row-X)¶ÀռʽËø¶¨£¬ÆäËû¶ÔÏóÖ»ÄܲéѯÕâЩÊý¾ÝÐУ¬²»ÄܽøÐÐupdate¡¢delete»òselect   for   update²Ù×÷¡£  
  3¼¶ËøÓУºInsert,   Update,   Delete,   Lock   Row   Exclusive  
  ûÓÐcommit֮ǰ²åÈëͬÑùµÄÒ»Ìõ¼Ç¼»áûÓз´Ó¦,   ÒòΪºóÒ»¸ö3µÄËø»áÒ»Ö±µÈ´ýÉÏÒ»¸ö3µÄËø,   ÎÒÃDZØÐëÊͷŵôÉÏÒ»¸ö²ÅÄܼÌÐø¹¤×÷¡£  
  4¼¶ËøÓУºCreate   Index,   Lock   Share  
  locked_modeΪ2,3,4²»Ó°ÏìDML(insert,delete,update,select)²Ù×÷,   µ«DDL(alter,dropµÈ)²Ù×÷»áÌáʾora-00054´íÎó¡£  
  00054,   00000,   "resource   busy   and   acquire   with   NOWAIT   specified"  
  //   *Cause:   Resource   interested   is   busy.  
  //   *Action:   Retry   if   necessary.  
  5¼¶ËøÓУºLock &


Ïà¹ØÎĵµ£º

java²Ù×÷oracleÊý¾Ý¿â

 package com.chinacache.boss.queryservice.service.impl;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.chinacache.boss.queryservice.excepti ......

OracleË÷Òý±Ê¼Ç

 Ò».B-TreeË÷Òý(b-tree index)
1. Ñ¡ÏîÔñË÷Òý×ֶεÄÔ­Ôò: 
ÔÚWHERE×Ó¾äÖÐ×îƵ·±Ê¹ÓõÄ×ֶΠ
Áª½ÓÓï¾äÖеÄÁª½Ó×ֶΠ
Ñ¡Ôñ¸ßÑ¡ÔñÐÔµÄ×Ö¶Î(Èç¹ûºÜÉÙµÄ×Ö¶ÎÓµÓÐÏàֵͬ,¼´Óкܶà¶ÀÌØÖµ,ÔòÑ¡ÔñÐԺܺÃ) 
ORACLEÔÚUNIQUEºÍÖ÷¼ü×Ö¶ÎÉÏ×Ô¶¯½¨Á¢Ë÷Òý 
ÔÚÑ¡ÔñÐԺܲîµÄ×Ö¶ÎÉϽ¨Ë÷ÒýÖ»ÓÐÔÚÕâ¸ö×Ö¶ÎµÄ ......

Oracle³£ÓÃɵ¹ÏÎÊÌâ1000ÎÊ


   
´ó¼ÒÔÚÓ¦ÓÃORACLEµÄʱºò¿ÉÄÜ»áÓöµ½ºÜ¶à¿´ÆðÀ´²»ÄѵÄÎÊÌâ, Ìرð¶ÔÐÂÊÖÀ´Ëµ, ½ñÌìÎÒ¼òµ¥°ÑËü×ܽáÒ»ÏÂ, ·¢²¼¸ø´ó¼Ò, Ï£Íû¶Ô´ó¼ÒÓаïÖú! ºÍ´ó¼ÒÒ»Æð̽ÌÖ, ¹²Í¬½ø²½!
¶ÔORACLE¸ßÊÖÀ´ËµÊDz»Óÿ´µÄ.
1. Oracle°²×°Íê³ÉºóµÄ³õʼ¿ÚÁî?
¡¡internal/oracle
¡¡¡¡sys/change_on_install
¡¡¡¡system/manager ......

OracleÈÕ³£Î¬»¤µãµÎ

OracleάÈÕ³£»¤µãµÎ
    ËäÈ»Oracleά»¤²»ÊÇÎÒµÄÖ°Ô𣬵«Æ½Ê±»¹ÊÇÄÑÃâÒª¸úËü´ò½»µÀ£¬Òò´Ë¶ÔÓÚOracleµÄÈÕ³£Î¬»¤ÂÔÖªÒ»¶þ»¹ÊǺÜÓкô¦µÄ¡£
 1. µÇ¼£º
  £¨1£©²ÉÓÃϵͳ¹ÜÀíÔ±Óû§µÇ¼£º
#su - oracle
$ sqlplus / as sysdba
  £¨2£©²ÉÓÃÒ»°ãÓû§µÇ¼£¬¼ÙÉèÓû§ÃûΪoracle£¬ÃÜÂëΪpasswor ......

Oracle 10g ÕýÔò±í´ïʽ


ORACLEÖÕÓÚÔÚ10GÖÐÌṩÁ˶ÔÕýÔò±í´ïʽµÄÖ§³Ö£¬ÒÔÇ°ÄÇЩÐèҪͨ¹ýLIKEÀ´½øÐеĸ´ÔÓµÄÆ¥Åä¾Í¿ÉÒÔͨ¹ýʹÓÃÕýÔò±í´ïʽ¸ü¼òµ¥µÄʵÏÖ¡£
Oracle 10gÕýÔò±í´ïʽÌá¸ßÁËSQLÁé»îÐÔ¡£ÓÐЧµÄ½â¾öÁËÊý¾ÝÓÐЧÐÔ£¬ Öظ´´ÊµÄ±æÈÏ, Î޹صĿհ׼ì²â£¬»òÕß·Ö½â¶à¸öÕýÔò×é³ÉµÄ×Ö·û´®µÈÎÊÌâ¡£
Oracle 10gÖ§³ÖÕýÔò±í´ïʽµÄË ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ