OracleÈëÃűʼÇ
¸Õ¿ªÊ¼Ê¹ÓÃOracle£¬×öһЩ±Ê¼ÇÒÔ»ýÀÛ¡£
2009Äê11ÔÂ6ÈÕ ÏîÄ¿DSSC£¬·þÎñÆ÷ÉÏ´´½¨Êý¾Ý¿â²¢µ¼ÈëÊý¾Ý¡£
´´½¨±í¿Õ¼ä£º
create tablespace ts_stone
logging
datafile 'xxx.dbf'
size 100m
autoextend on
next 100m maxsize 2048m
extent management local;
ÁÙʱ±í¿Õ¼ä£º
create temporary tablespace temp_ts_stone
tempfile 'xxxxx.dbf'
size 50m
autoextend on
next 50m maxsize 2048m
extent management local;
´´½¨Óû§²¢Ö¸¶¨±í¿Õ¼ä£º
create user stone identified by pwd_stone
default tablespace ts_stone
temporary tablespace temp_ts_stone;
Óû§ÊÚȨ£º
grant connect, resource to stone
µ¼³öÊý¾Ý£º
exp stone/pwd_stone@ts_stone file='D\oracle\data\ts_stone.dmp' full=y
exp stone/pwd_stone@ts_stone file='D\oracle\data\ts_stone.dmp' owner=stone
exp stone/pwd_stone@ts_stone file='D\oracle\data\ts_stone.dmp' tables=(tableA, tableB, tableC)
µ¼ÈëÊý¾Ý£º
imp stone/pwd_stone@ts_stone file=xxx.dmp tables=(tableA, tableB, tableC)
imp stone/pwd_stone@ts_stone file=xxx.dmp full=y ignore=y
Ïà¹ØÎĵµ£º
http://www.diybl.com/course/3_program/java/javajs/2008429/111906.html
Èç¹ûҪʹÓóصϰ,¾Í±ØÐëʹÓÃOracleConnectionCacheImpl,¹²ÓÐÈýÖֳصIJßÂÔ:
DYNAMIC_SCHEME(ÊǶ¯Ì¬Ôö¼Ó.ÓÃÍêÈç¹û³¬¹ýÉÏÏÞÔò¹Øµô)
The cache will create connections above the specified maximum limit
when necessary but ......
Ò».ÎïÀí¶Á(physical read)
µ±Êý¾Ý¿éµÚÒ»´Î¶ÁÈ¡µ½,¾Í»á»º´æµ½buffer cache ÖÐ,¶øµÚ¶þ´Î¶ÁÈ¡ºÍÐ޸ĸÃÊý¾Ý¿éʱ¾ÍÔÚÄÚ´æbuffer cache ÁË ÒÔÏÂÊÇÀý×Ó:
1.1 µÚÒ»´Î¶ÁÈ¡:
C:"Documents and Settings"Paul Yi>sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Thu Feb 28 09:32:04 2008
Copyright (c) 19 ......
oracleÊý¾Ý¿âͬ²½¼¼Êõ
¸ß¼¶¸´ÖÆ
ʲôÊǸ´ÖÆ£¿¼òµ¥µØËµ¸´ÖƾÍÊÇÔÚÓÉÁ½¸ö»òÕß¶à¸öÊý¾Ý¿âϵͳ¹¹³ÉµÄÒ»¸ö·Ö²¼Ê½Êý¾Ý¿â»·¾³Öп½±´Êý¾ÝµÄ¹ý³Ì¡£
¸ß¼¶¸´ÖÆ£¬ÊÇÔÚ×é³É·Ö²¼Ê½Êý¾Ý¿âϵͳµÄ¶à¸öÊý¾Ý¿âÖи´ÖƺÍά»¤Êý¾Ý¿â¶ÔÏóµÄ¹ý³Ì¡£ Oracle ¸ß¼¶¸´ÖÆÔÊÐíÓ¦ÓóÌÐò¸üÐÂÊý¾Ý¿âµÄÈκθ±±¾ ......
to_date() function
1.ÈÕÆÚ¸ñʽ²ÎÊý º¬Òå˵Ã÷
D Ò»ÖÜÖеÄÐÇÆÚ¼¸
DAY ÌìµÄÃû×Ö£¬Ê¹ÓÿոñÌî³äµ½9¸ö×Ö·û
DD ÔÂÖеĵڼ¸Ìì
DDD ÄêÖеĵڼ¸Ìì
DY ÌìµÄ¼òдÃû
IW ISO±ê×¼µÄÄêÖеĵڼ¸ÖÜ
IYYY ISO±ê×¼µÄËÄλÄê·Ý
YYYY ËÄλÄê·Ý
YYY,YY,Y Äê·ÝµÄ×îºóÈýÎ ......