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

Éî¶È¶Ô±ÈOracleÓëSQL Server – µÚÒ»²¿·Ö


²Ù
×÷ϵͳµÄÖ§³Ö
°æ
±¾ºÍ·¢Ðаæ
ʵ
Àý¡¢Êý¾Ý¿âºÍ±í¿Õ¼ä
ʵ
ÀýÃûºÍSID
ϵ
ͳÊý¾Ý¿âºÍϵͳ±í¿Õ¼ä
 
±¾ÒëÎIJÉÓÃ֪ʶ¹²ÏíÊð
Ãû-·ÇÉÌÒµÐÔʹÓÃ-Ïàͬ·½Ê½¹²Ïí 3.0 UnportedÐí¿ÉЭÒé
·¢²¼£¬×ªÔØÇë±£Áô´ËÐÅÏ¢
ÒëÕߣºÂí³ÝÜÈ | Á´½Ó£ºhttp://www.dbabeta.com/2010/oracle-sql-server-comparison-i.html
×÷ÕߣºSadequl Hussain | Ô­ÎÄ£ºhttp://www.sql-server-performance.com/articles/dba/oracle_sql_server_comparison_p1.aspx
Ò»°ãµÄ¹«Ë¾Í¨³£»áÔÚËûÃǵÄÐÅϢϵͳ¼Ü¹¹ÖÐÒýÈë¶àÖÖÊý¾Ý¿âƽ̨£¬Í¬Ê±ÒýÈëÈýµ½ËÄÖÖ²»Í¬µÄRDBMS½â¾ö·½°¸µÄÖдóÐ͹«Ë¾
Ò²²¢²»ÉÙ¼û£¬µ±È»ÕâЩ¹«Ë¾ÀïÃæµÄDBAÃÇͨ³£Ò²ÐèҪͬʱӵÓйÜÀí¶àÖÖ²»Í¬Æ½Ì¨µÄ¼¼ÄÜÁË¡£
Ö»ÔÚÒ»ÖÖƽ̨ÉÏÕ¹¿ª¹¤×÷µÄÊý¾Ý¿âר¼ÒÃÇҲͨ³£»áÆÚ´ý×ÅÔÚËûÃǵÄÏÂÒ»·Ý¹¤×÷ÖÐÄÜѧµ½µã²»Ò»ÑùµÄ¶«Î÷£¬ÄÇЩÓÐÓÂÆøµÄÈËÃÇÔòÔ¸Ò⻨ʱ¼ä¡¢½ðÇ®ºÍ¾«Á¦È¥Ñ§Ï°
еĶ«Î÷£¬Ò²ÓÐÆäËûÒòΪ»»ÁËй«Ë¾»òÕßÊÇΪÁËÕÒÐµĹ¤×÷¶øȥѧϰеÄϵͳµÄÈËÃÇ£¬ÎãÓ¹ÖÃÒɵÄÒ»µã¾ÍÊǹ«Ë¾ÀÏ°åºÍÈËÁ¦×¨¼ÒÃÇ»á¸ü¼ÓÇàíùÓÚÄÇЩӵÓжà¸öÁìÓò¾­
ÑéµÄÇóÖ°Õß¡£
ÒÀÎÒ¸öÈ˵ľ­ÑéÀ´¿´£¬ÔÚѧϰһ¸öеÄÊý¾Ýƽ̨µÄʱºò£¬×îºÃµÄ·½·¨¾ÍÊÇÔÚеĻ·¾³ÖÐÈ¥·¢ÏÖÄÇЩÄãÒÑÖªµÄ¶«Î÷£¬ÕâÑùѧϰÆðÀ´»á¼òµ¥ºÜ¶à¡£µ±È»£¬µ±ÖÐÒ²»á
Óöµ½Ò»Ð©È«ÐµĸÅÄîÐèҪȥѧϰ£¬»òÕßÊÇÍüµôһЩÄãÏÖÔÚÒÑÖªµÄ¸ÅÄµ«²»¹ÜÔõô˵Äã²»ÊÇ´ÓÁ㿪ʼµÄ¡£±ÈÈç˵һ¸ö×öSQL
Server¿ª·¢ÈËÔ±ÔÚҪдOracle´æ´¢¹ý³ÌµÄʱºò¿ÉÄÜ»áÏÈÈ¥ÕÒÄÇЩÄÚÖõĺ¯ÊýÈ»ºó±È½ÏËüÃÇÖ®¼ä²»Í¬µã£¬ËýÒ²¿ÉÄÜ»áÈ¥±È½Ï±äÁ¿ÉùÃ÷ÒÔ¼°´íÎó´¦ÀíµÄÒì
ͬ¡£
±¾ÏµÁÐÎÄÕÂÖÐÎÒ½«³¢ÊÔ¶ÔMicrosoft SQL ServerºÍOracle
RDBMS(ÒÔ10g¼°ÒÔºóµÄ°æ±¾ÎªÖ÷)½øÐÐÒ»¸öÉîÈëµÄ±È½Ï¡£ÎÒ»áÖ÷Òª¼¯ÖÐÓÚÕâÁ½ÖÖÊý¾Ý¿âÖ®¼ä¼Ü¹¹ÉϵıȽϣ¬µ±È»²»ÒªÆÚÍûÎÒ»á¸øÄãÒ»¸öÏ꾡µÄ±È½ÏÇåµ¥£¬µ«
ÊÇÎһᾡÎÒËùÄܵÄÈÃÄã¿´ÇåÕâÁ½ÖÖµ±½ñÊÀÉÏÓ¦ÓÃ×î¹ãµÄÊý¾Ý¿âÖ®¼äµÄÏàͬºÍÏàÒìÖ®´¦¡£±¾ÎÄÊÇÒÔÒ»¸öSQL Server
DBAµÄ½Ç¶ÈÈ¥¹¹Ë¼ºÍд×÷µÄ£¬²»¹ýÏàÐÅÕâ¶ÔOracleר¼ÒÃÅÁ˽âSQL ServerÕâÒ»ÃæÒ²ÊǺÜÓвο¼¼ÛÖµµÄ¡£
·Ï»°ÉÙ˵£¬¿ª¹¤°É¡£
top
²Ù
×÷ϵͳµÄÖ§³Ö
Microsoft SQL
ServerÏòÀ´¶¼´ÓÊôÓÚWindows´ó¼Ò×åÖеÄÒ»Ô±£¬ÒªÈÃMicrosoft·¢²¼Ò»¸öÖ§³ÖÆäËü²Ù×÷ϵͳ°æ±¾µÄ¿ÉÄÜÐÔµ±È»ÊÇС֮ÓÖСµÄÁË¡£µ±Ç°À´Ëµ
SQL Server¿ÉÒÔÔÚXP¡¢Vista¡¢Windows Server
2000¡¢2003¡¢2008ÉÏÔËÐУ¬Í¬Ê±Ò²ÓÐÕë¶ÔÓÚ32λºÍ64λ°æ±¾WindowsµÄÊý¾Ý¿â°æ±¾¡£
¶ÔOracleÀ´Ëµ£¬ËüÖ§³Ö¶àÖÖ²»Í¬µÄ²Ù×


Ïà¹ØÎĵµ£º

Oracle job ¹ÜÀí

SVRMGR> select * from dba_jobs;
³õʼ»¯Ïà¹Ø²ÎÊýjob_queue_processes
alter system set job_queue_processes=39 scope=spfile;//×î´óÖµ²»Äܳ¬¹ý1000  ;job_queue_interval = 10  //µ÷¶È×÷ҵˢÐÂƵÂÊÃëΪµ¥Î»
DBA_JOBS describes all jobs in the database.
USER_JOBS describes all jobs owned by the c ......

OracleÊý¾Ý¿âWhereÌõ¼þÖ´ÐÐ˳Ðò

1.ORACLE²ÉÓÃ×Ô϶øÉϵÄ˳Ðò½âÎöWHERE×Ó¾ä,¸ù¾ÝÕâ¸öÔ­Àí,±íÖ®¼äµÄÁ¬½Ó±ØÐëдÔÚÆäËûWHEREÌõ¼þ֮ǰ, ÄÇЩ¿ÉÒÔ¹ýÂ˵ô×î´óÊýÁ¿¼Ç¼µÄÌõ¼þ±ØÐëдÔÚWHERE×Ó¾äµÄĩβ.
¡¡¡¡ÀýÈç:
¡¡¡¡(µÍЧ)
¡¡¡¡SELECT … from EMP E WHERE SAL > 50000 AND JOB = ‘MANAGER’ AND 25 < (SELECT COUNT(*) from EMP WH ......

orale tablespace&datafile oracle±í¿Õ¼ä

ÔÚÇ°ÃæѧϰOracleÊý¾Ý¿â»ù´¡¼Ü¹¹Ê±£¬ÒѾ­Á˽âÁËOracleµÄ´æ´¢½á¹¹£¬Âß¼­ÉÏ£¬OracleµÄÊý¾Ý´æ·ÅÔÚtablespacesÖУ¬ÎïÀíÉÏ´æ·ÅÔÚdatafilesÖС£Ò»¸ötablespaceÖ»ÄÜÊôÓÚÒ»¸öÊý¾Ý¿â(Ò»¸öÊý¾Ý¿â¿É°üÀ¨¶à¸ötablespace)£¬°üÀ¨ÁË1¸ö»ò¶à¸öÊý¾ÝÎļþ¡£Tablespace¿É½øÒ»²½·ÖΪsegments¡¢extentsºÍblocks¡£Ò»¸ödatafileÖ»ÊôÓÚÒ»¸öÊý¾Ý¿âµÄÒ» ......

oracle²éѯÁ·Ï°

empÔ±¹¤±í
(empnoÔ±¹¤ºÅ/enameÔ±¹¤ÐÕÃû/job¹¤×÷/mgrÉϼ¶±àºÅ/hiredateÊܹÍÈÕÆÚ/salн½ð/commÓ¶½ð/deptno²¿ÃűàºÅ)
------1.Ñ¡Ôñ²¿ÃÅ30ÖеÄËùÓÐÔ±¹¤.
select ename
from emp
where deptno = 30;
------2.ÁгöËùÓаìÊÂÔ±(CLERK)µÄÐÕÃû£¬±àºÅºÍ²¿ÃűàºÅ.
select ename,empno,deptno
from emp
where job='CLERK';
--- ......

ORACLE 10gÏÂÔصØÖ·

Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip
http://download.oracle.com/otn/nt/oracle10g/10201/10201_client_win32.zip
http://download.oracle.com/otn/nt/oracle10g/10 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ