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

ÓÃoracle¶ÁÈ¡±¾µØÎļþ

ÓÃoracle¶ÁÈ¡±¾µØÎļþ
Ê×ÏÈÒªÔÚoracleÖд´½¨Îļþ¼Ð£¬È»ºó¸³ÓèÏàÓ¦µÄ¶ÁдȨÏÞ£¬È»ºóÊý¾Ý¿â²ÅÄܶÁȡϵͳÖеÄÎļþ
--´´½¨Îļþ¼Ð ²¢¸³ÓèȨÏÞ¸øÓû§
create or replace directory DIRNAME as 'D:\skybook2';
grant read,write on directory DIRNAME as to USERNAME;
GRANT EXECUTE ON utl_file TO USERNAME;
´´½¨³É¹¦¿ÉÒԲ鿴һÏÂ
--²é¿´ÏµÍ³ËùÓд´½¨µÄÎļþ¼Ð
select * from ALL_DIRECTORIES;
±àдһ¸ö¼òµ¥µÄ¶ÁÈ¡ÎļþµÄ´æ´¢¹ý³Ì
create or replace procedure loadfiledata(p_path varchar2,  --ÎļþµÄ·¾¶ (ÉÏÎÄÖн¨Á¢µÄÎļþÃû DIRNAME)
                                                                p_filename varchar2 --ÎļþµÄÃû×Ö(Èç text.txt, test.jsp)
) as
  v_filehandle utl_file.file_type; --¶¨ÒåÒ»¸öÎļþ¾ä±ú
  v_text varchar2(100); --´æ·ÅÎı¾
  v_name test_loadfile.name%type;
  v_addr_jd test_loadfile.addr_jd%type;
  v_region test_loadfile.region%type;
  v_firstlocation number;
  v_secondlocation number;
  v_totalinserted number;
  begin
  if (p_path is null or p_filename is null) then
  goto to_end;
  end if;
  v_totalinserted:=0;
  /*open specified file*/
  v_filehandle:=utl_file.fopen(p_path,p_filename,'r');
  loop
  begin
  utl_file.get_line(v_filehandle,v_text);----½«ÎļþдÈëv_text
 
  exception
  when no_data_found then
  exit;
  end ;
  v_firstlocation:=instr(v_text,',',1,1);
  v_secondlocation:=instr(v_text,',',1,2);
  v_name:=substr(v_text,1,v_firstlocation-1);
  v_addr_jd:=substr(v_text,v_firstlocation+1,v_secondlocation-v_firstlocation-1);
  v_region:=substr(v_text,v_secondlocation+1);
  /*²åÈëÊý¾Ý¿â²


Ïà¹ØÎĵµ£º

ORACLEÊý¾Ý×Öµä

²é¿´µ±Ç°Óû§µÄȱʡ±í¿Õ¼ä
 SQL>select username,default_tablespace from user_users;
        ²é¿´µ±Ç°Óû§µÄ½ÇÉ«
        SQL>select * from user_role_privs;
        ²é¿´µ±Ç°Óû§µÄÏµÍ³È ......

·ÃÎÊoracleÊý¾Ý¿â

1¡£web.config ----appSettings--<add key="LimsConnection" value="data source=yzlims;user id=lims;password = lims"/>
2.  c#´úÂëÖÐ
using System.Data.OracleClient;     
public DataTable  GetLimsTimeInSpace(string S_SAMPLE_NAME, string S_SAMPLING_P_N,Date ......

11gµÄOracle Grid Infrastructure

2010Äê05ÔÂ2ºÅ  | 
23:59·ÖÀࣺLinux&Unix
, ¹ÜÀíά»¤
  |  ±à¼­
  |  ±êÇ©£º11g
¡¢grid

±¾Îijö×Ô “inthirties£¨ÄÐ
ÈËÈýÊ®£©
”²©¿Í£¬×ªÔØÇëÎñ±Ø×¢Ã÷×÷Õߺͱ£Áô³ö´¦¡£
11gÀï³öÏÖÁËÒ»¸öнÇÉ«¡£
Oracle Grid Infrastructure
http://downlo ......

Oracle LATCHѧϰ

latchÊÇÓÃÓÚ±£»¤Äڴ棨ϵͳȫ¾ÖÇø£¬SGA£©ÖеĹ²ÏíÄÚ´æ½á¹¹µÄ»¥³â»úÖÆ¡£Latch¾ÍÏñÊÇÄÚ´æÉϵÄËø£¬¿ÉÒÔÓÉÒ»¸ö½ø³Ì·Ç³£¿ìËٵؼ¤»îºÍÊÍ·Å£¬ÓÃÓÚ·ÀÖ¹¶ÔÒ»¸ö¹²ÏíÄÚ´æ½á¹¹½øÐв¢ÐзÃÎÊ¡£Èç¹ûlatch²»¿ÉÓã¬ÄÇô½«¼Ç¼latchÊÍ·Åʧ°Ü¡£¾ø´ó¶àÊýlatchÎÊÌⶼÓëûÓÐʹÓð󶨱äÁ¿£¨library-cache latch£¨¿â»º´ælatch£©£©¡¢ÖØ×öÈÕÖ¾Éú³ÉÎÊÌâ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ