oracleµÄlicenseºÍÕý°æʹÓÃÎÊÌâ
oracleµÄlicenseºÍÕý°æʹÓÃÎÊÌâ
url:http://blog.csdn.net/outget1/archive/2009/10/15/4675028.aspx
2008-06-30 23:42
1, Õý°æOracle ²úÆ·ºÍµÁ°æµÄÇø±ð
Ö±±¼Ö÷Ì⣬ÕâÊÇÐí¶àÑз¢²»×¢ÒâµÄµØ·½¡£¶ÔÓÚÉÌÓ㨾ÍÊÇÄã²»ÊÇÔÚ¼ÒÀ×Ô¼ºÍ棩£¬ÑϸñÀ´Ëµ£¬¾ÍÊÇÒ»ÕÅÐí¿ÉÖ¤Ö½µÄÇø±ð¡£²»¹ÜÊÇʲôʱºò£¬ÏÂÔصİ汾¶¼¿ÉÒÔ½¨Á¢Êý¾Ý¿â²¢Õý³£¿ª·¢£¬µ«ÊÇÈç¹ûÓÃÓÚÉÌÒµ£¬¾ÍÊôÓÚÎ¥·¨ÐÐΪ£¬ºó¹ûÎÒ²»±Ø˵ÁË¡£ÖÁÓÚ°º¹óµÄ¼Û¸ñ£¬ÆäʵºÜ´ó²¿·ÖÊÇά»¤·ÑÓ㬠ÁíÍâÏÂÔØ°æÊDz»¿ÉÒÔ´ò²¹¶¡µÄ£¨²¢²»ÊÇ˵´ò²»ÉÏ£¬¶øÊÇÄãûÓÐÕ˺ÅÈ¥ÏÂÔØ£¬ÁíÍâÈκζÔÏÂÔØÃâ·Ñ°æ´ò²¹¶¡µÄÐÐΪ¶¼ÊÇ·Ç·¨µÄ£©£¬¶øÕýʽ°æÓвúÆ··þÎñÂ룬¿ÉÓÃÓÚÔÚÏß ·þÎñ¡¢Éý¼¶µÈ£¬ÁíÍâ¸ù¾ÝÄ㹺Âò²»Í¬¿ÉÒÔÌṩ²»Í¬µÄÉÏÃÅ·þÎñ¡£ÖÁÓÚ¸÷¸ö°æ±¾µÄ¼Û¸ñ£¬µÄÈ·ÊDz»Í¬µÄ£¬Äã¿ÉÒÔÏò´úÀí×Éѯ£¬¾ÝÎÒËùÖªÓ¦¸ÃÊÇwin°æ±¾×î±ãÒË£¬²»¹ýÒ²×î²»Îȶ¨
2. ÄÜ·ñ˵˵¸öÈË°æ¡¢±ê×¼°æ1¡¢±ê×¼°æ¡¢ÆóÒµ°æ¸÷×ÔµÄÌصãºÍÇø±ð£¿
A£º¼òµ¥µØ˵£¬
1£¬±ê×¼°æ1£¨Standard Edition One£©ÊÊÓÃÓÚ1-2CPUµÄ·þÎñÆ÷£¬¼Û¸ñÓÐÏ൱µÄÓÅÊÆ£¬µ«½öÏÞµ¥»ú»·¾³£¬ÊÊÓÃÓÚÖÐСÐÍÓû§ÈëÃż¶Ó¦Óã»
2£¬±ê×¼°æ£¨Standard Edition£©ÊÊÓÃÓÚ1-4CPUµÄ·þÎñÆ÷£¬°üÀ¨4CPUµ¥·þÎñÆ÷»ò2̨˫CPU·þÎñÆ÷µÈÅäÖ㬿ÉÒÔ×öË«»úÈȱ¸»òRAC£¬¼Û¸ñÊÊÖУ¬ÊÊÓÃÓÚ¶ÔÊý¾Ý¿âÐÔÄܼ°°²È«ÐÔÓнøÒ»²½ÒªÇóµÄ´óÖÐÐÍÓû§¹¤×÷×鼶¼°²¿Ãż¶Ó¦Óã»
3£¬ÆóÒµ°æ£¨Enterprise Edition£©ÊÊÓÃÓÚµ¥»ú¡¢Ë«»ú¡¢¶àCPU¶à½Úµã¼¯ÈºµÈ¸÷ÖÖ»·¾³£¬¹¦ÄÜÆëÈ«£¬µ«·ÑÓÃÒ²±È½Ï¸ß£¬ÊÊÓÃÓÚ¶ÔÊý¾Ý¿âÐÔÄܼ°¿É¿¿ÐÔÓÐÏ൱¸ßÒªÇóµÄ´óÐÍ¡¢³¬´óÐÍÓû§ÆóÒµ¼¶¡¢¸ß¶ËÆóÒµ¼¶Ó¦Ó᣹¦ÄÜÄ£¿éÉϵıȽÏÇë²Î¿¼¡¶OracleÊý¾Ý¿â°×ƤÊé¡·¡£
3. OracleµÄ¶©¹º·½Ê½£¿
A£ºÓа´Óû§Êý¶©¹ººÍ°´CPU¶©¹ºÁ½ÖÖ·½Ê½£¬ÆäÖа´CPU¶©¹ºÒ²¼´ËùνÎÞÏÞÓû§°æ¡£
4. OracleÓû§ÊýµÄ¹Ù·½¶¨Ò壿
A£ºÃ¿Ò»¸ö·ÃÎÊOracleÊý¾Ý¿âµÄÓû§£¬ÎÞÂÛÊÇ×ÔÈ»ÈË»¹ÊÇÉ豸£¬¶¼Ëã×÷Ò»¸öÓû§(Named User)¡£
Ó¢ ÎĹٷ½¶¨Ò壺Named User Plus: is defined as an individual authorized by you to use the programs which are installed on a single server or multiple servers, regardless of whether the individual is actively using the programs at any given time. A non human operated device will be counted.
5. OracleµÄÓû§ÊýÊÇÔõôËãµÄÄØ£¿
A£ºOracle¹Ù·½ÒªÇóµÄ¸÷Àà°æ±¾µÄ×îµÍÓû§ÊýΪ£º
¸öÈË°æ±¾£º1user*PCÊý
±ê×¼°æ1=·þÎñÆ÷µÄCPUÊý*5
±ê×¼°æ=·þÎñÆ÷µÄCPUÊý*10user
ÆóÒµ°æ=·þÎñÆ÷µÄCPUÊý*25
Ïà¹ØÎĵµ£º
1.
¿ªÊ¼-->ÔËÐÐ-->cmd-->
.µ¼³öÊý¾Ý
exp help=y ²é¿´°ïÖú
exp rbt/rbt@ora10 file=c:\db.dmp full=y °´EnterÖ´ÐÐ
.³É¹¦Ö´ÐС£¡£¡£
.µ¼ÈëÊý¾Ý
imp help=y ²é¿´°ïÖú
impÓÉÓµÓÐDBAȨÏÞµÄÓû§eXPÖ´ÐÐ.
imp kxself2/kxself2@ora10 full=y file=c:\db.dmp
»ò
Imp username/password file=f ......
´´½¨ÁÙʱ±í¿Õ¼ä
CREATE TEMPORARY TABLESPACE test_temp
TEMPFILE 'C:\oracle\product\10.1.0\oradata\orcl\test_temp01.dbf'
SIZE 32M
AUTOEXTEND ON
NEXT 32M MAXSIZE 2048M
EXTENT MANAGEMENT LOCAL;
´´½¨Óû§±í¿Õ¼ä
CREATE TABLESPACE test_data
LOGGING
DATAFILE 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\TE ......
×÷Óãºmerge into ½â¾öÓÃB±í¸úÐÂA±íÊý¾Ý£¬Èç¹ûA±íÖÐûÓУ¬Ôò°ÑB±íµÄÊý¾Ý²åÈëA±í£»
Óï·¨£º
MERGE INTO [your table-name] [rename your table here]
USING ( [write your query here] )[rename your query-sql and using just like a table]
ON ([conditional expression here] AND [...]...)
WHEN MATHED THEN [here ......
oracle ´æ´¢¹ý³ÌµÄ»ù±¾Óï·¨
1.»ù±¾½á¹¹
CREATE OR REPLACE PROCEDURE ´æ´¢¹ý³ÌÃû×Ö
(
²ÎÊý1 IN NUMBER,
²ÎÊý2 IN NUMBER
) IS
±äÁ¿1 INTEGER :=0;
±äÁ¿2 DATE;
BEGIN
END ´æ´¢¹ý³ÌÃû×Ö
2.SELECT INTO STATEMENT
½«select²éѯµÄ½á¹û´æÈëµ½±äÁ¿ÖУ¬¿ÉÒÔͬʱ½«¶à¸ö ......
--´´½¨Óû§
create user iagent identified by ia
--profile default
default tablespace users
temporary tablespace temp;
--account unlock;
--ɾ³ýÓû§
drop user iagent cascade;
--ÐÞ¸ÄÓû§ÃÜÂë
alter user iagent identified by ia;
--¸ø´´½¨µ ......