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

oracle 11gµÄ±í¿Õ¼ä¼ÓÃÜ

ÒòΪÃ÷°Ú×ŵÄÔµ¹Ê£¬10.2Òý³öµÄTDEЧÄܶÔÁмÓÃÜÒÔºó£¬ÕÐÖÂÏà¸ÉĿ¼ɥʧÁ˶Բ»µÈʽµÄÅжÏÄÜÁ¦¡£
鍫룼
ENCRYPTIONDEMO@fmw//scripts> create table tde_table(id number encrypt no salt,na
me varchar¶þ(30))
¶þ ;
Table created.
Elapsed: 00:00:00.11
ENCRYPTIONDEMO@fmw//scripts> begin
¶þ for i in 1..20000 loop
Èý insert into tde_table values (i,i);
ËÄ end loop;
Îå commit;
Áù end;
Æß /
PL/SQL procedure successfully completed.
ENCRYPTIONDEMO@fmw//scripts> create unique index tde_idx on tde_table(id);
Index created.
µÈʽÅжϵ±È»Ã»Êܵ½Ó°Ïì¡£
ENCRYPTIONDEMO@fmw//scripts> select * from tde_table where id=¾Å;
Elapsed: 00:00:00.00
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time
| Áã | SELECT STATEMENT | | Ò» | 64 | Ò» (Áã)| 00:00:01 |
| Ò» | TABLE ACCESS BY INDEX ROWID| TDE_TABLE | Ò» | 64 | Ò» (Áã)| 00:00:01 |
|* ¶þ | INDEX UNIQUE SCAN | TDE_IDX | Ò» | | Ò» (Áã)| 00:00:01 |
²»µÈʽ¾Í¾½ÆÈÁË¡£
ENCRYPTIONDEMO@fmw//scripts> select * from tde_table where id<¶þ;
Elapsed: 00:00:00.06
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
-------------------------------------------------------------------------------
| Áã | SELECT STATEMENT | | Èý | 192 | 69 (¶þ)| 00:00:01 |
|* Ò» | TABLE ACCESS FULL| TDE_TABLE | Èý | 192 | 69 (¶þ)| 00:00:01 |
ºÃÍæ¶ùµÄÊÇ11gÌṩÁËÒ»¸öй¦ÄÜ: ±í¿Õ¼ä¼ÓÃÜ¡£ ¹æ¸ñÉÏ˵ÊÇ¿ÉÒÔ¶Ô±£ÁôÔÚÄÚÖеÄÈ«²¿Êý¾Ý¼ÓÃÜ£¬ÊµÔò£¬²»µ«Èç´Ë£¬Ä¿Â¼Ò²¾ß±¸²»µÈʽÅжÏÄÜÁ¦¡£
鍫룼
´´ÉèÒ»¸ö¼ÓÃܵıí¿Õ¼ä
SYS@fmw//scripts> create tablespace securets datafile 'D:APPDBORACLE11GORADATAFMWSECURETS01.DBF' size 20M autoextend off encryption
using 'AES128' default storage (encrypt);
Tablespace created.
ENCRYPTIONDEMO@fmw//scripts> create table st (id number,name varchar¶þ(30)) tablespace securets;
Table created.
Elapsed: 00:00:00.04
ENCRYPTIONDEMO@fmw//scripts> begin
¶þ for i in 1..20000 loop
Èý insert into st values (i,i);
ËÄ end loop;
Îå commit;
Áù end;
Æß /
PL/SQL procedure successfully completed.
Elapsed: 00:00:01.07


Ïà¹ØÎĵµ£º

oracle ±í¿Õ¼ä²Ù×÷

oracle±í¿Õ¼ä²Ù×÷Ïê½â
  1
  2
  3×÷Õߣº   À´Ô´£º    ¸üÐÂÈÕÆÚ£º2006-01-04 
  5
  6 
  7½¨Á¢±í¿Õ¼ä
  8
  9CREATE TABLESPACE data01
 10DATAFILE '/ora ......

OracleËø»úÖÆ

Êý¾Ý¿âÊÇÒ»¸ö¶àÓû§Ê¹ÓõĹ²Ïí×ÊÔ´¡£µ±¶à¸öÓû§²¢·¢µØ´æÈ¡Êý¾Ýʱ£¬ÔÚÊý¾Ý¿âÖоͻá²úÉú¶à¸öÊÂÎñͬʱ´æȡͬһÊý¾ÝµÄÇé¿ö¡£Èô¶Ô²¢·¢²Ù×÷²»¼Ó¿ØÖƾͿÉÄÜ»á¶ÁÈ¡ºÍ´æ´¢²»ÕýÈ·µÄÊý¾Ý£¬ÆÆ»µÊý¾Ý¿âµÄÒ»ÖÂÐÔ¡£
¼ÓËøÊÇʵÏÖÊý¾Ý¿â²¢·¢¿ØÖƵÄÒ»¸ö·Ç³£ÖØÒªµÄ¼¼Êõ¡£µ±ÊÂÎñÔÚ¶Ôij¸öÊý¾Ý¶ÔÏó½øÐвÙ×÷Ç°£¬ÏÈÏòϵͳ·¢³öÇëÇ󣬶ÔÆä¼ÓËø¡£¼ÓËøº ......

OracleÈÕÆÚº¯Êý¼¯½õ(Èý)

OracleÈÕÆÚº¯Êý¼¯½õ(Èý)
Èý¡¢Ò»Ð©Êµ¼ùºóµÄÓ÷¨£º
1.ÉÏÔÂÄ©Ì죺
select to_char(add_months(last_day(sysdate),-1),'yyyy-MM-dd') LastDay from dual£»
2.ÉÏÔ½ñÌì
SQL> select to_char(add_months(sysdate,-1),'yyyy-MM-dd') PreToday from dual;
3.ÉÏÔÂÊ×Ìì
SQL> select to_char(add_months(last_day(sysdate ......

ORACLE DATEºÍTIMESTAMPÊý¾ÝÀàÐ͵ıȽÏ

DATEÊý¾ÝÀàÐÍ
¡¡¡¡Õâ¸öÊý¾ÝÀàÐÍÎÒÃÇʵÔÚÊÇÌ«ÊìϤÁË£¬µ±ÎÒÃÇÐèÒª±íʾÈÕÆÚºÍʱ¼äµÄ»°¶¼»áÏëµ½dateÀàÐÍ¡£Ëü¿ÉÒÔ´æ´¢Ô£¬Ä꣬ÈÕ£¬ÊÀ¼Í£¬Ê±£¬·ÖºÍÃë¡£ËüµäÐ͵ØÓÃÀ´±íʾʲ ôʱºòÊÂÇéÒѾ­·¢Éú»ò½«Òª·¢Éú¡£DATEÊý¾ÝÀàÐ͵ÄÎÊÌâÔÚÓÚËü±íʾÁ½¸öʼþ·¢Éúʱ¼ä¼ä¸ôµÄ¶ÈÁ¿Á£¶ÈÊÇÃë¡£Õâ¸öÎÊÌ⽫ÔÚÎÄÕÂÉÔºóÌÖÂÛtimestampµÄʱ ºò±»½â¾ö¡£¿ÉÒ ......

¹ØÓÚOracle SID´æÔÚ½â決°ì·¨

1¡¢   ¿ªÊ¼£­£¾ÉèÖã­£¾¿ØÖÆÃæ°å£­£¾¹ÜÀí¹¤¾ß£­£¾·þÎñ    
Í£Ö¹ËùÓÐOracle·þÎñ¡£    
   
2¡¢   ¿ªÊ¼£­£¾³ÌÐò£­£¾Oracle   -   OraHome81£­£¾Oracle   Installation   Products£­£¾   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ