MSSQL vs MySQL vs Oracle

Posted by 알 수 없는 사용자
2015. 4. 10. 00:05 프로그래밍/데이터베이스


대표적인 DBMS MSSQL, MySQL, Oracle을 비교해보자.


 

Microsoft SQL Server 

MySQL

Oracle 

 사용 빈도( Rank )

 [ 그래프보기 ] 

 Web Site

www.microsoft.com/sqlserver

www.mysql.com

www.oracle.com/us/products/database

기술문서

Click

Click

Click

 Developer

MicroSoft*(1989)

Oracle(1995) 

Oracle(1980) 

 최신버전

SQL Server2014 (2014.4) 

5.6.23 (2015.2) 

12.1.0.2 (2014.7)

 라이센스

commercial 

open source 

commercial 

 dbaas

no 

no 

no 

 구현언어

C++ 

C or C++ 

C or C++ 

OS

Windows 

freeBSD
Linux
OS X
Solaris
Windows

AIX
HP-UX
Linux
OS X
Solaris
Windows
Z/OS 

 DB Scheme

yes 

yes 

yes 

 Typing

yes 

yes 

yes 

 SQL

yes 

yes 

yes 

APIs and other access methods

OLE DB
Tabular Data Stream (TDS)
ADO.NET
JDBC
ODBC

ADO.NET
JDBC
ODBC

ADO.NET
JDBC
ODBC
Oracle Call Interface(OCI)

지원하는언어

 .net
JAVA
php
python
ruby
VB

C
C#
C++
Eiffel
Haskell
JAVA
Objective-C
OCaml
Perl
php
python
ruby
Tcl

 C
C#
C++
Clojure
Cobol
Eiffel
Erlang
Fortran
Groovy
Haskell
JAVA
JavaScript
Lisp
Objective-C
OCaml
Perl
php
python
ruby
Scala
Tcl
VB

트리거

yes 

yes 

yes 

MapReduce 

no 

no 

no 

Foreign Key 

yes 

yes 

yes 

트랜젝션 개념

acid

acid 

acid 

*acid(원자성 Atomicity, 일관성 Consistency, 고립성 Isolation, 지속성 Durability)
데이터베이스 트랜잭션이 안전하게 수행된다는 것을 보장한다는 성질을 가리키는 약어

Concurrency

yes 

yes 

yes 


위에 DBMS들은 모두 RDBMS로써 관계형 데이터베이스 관리 시스템이다.
즉 관계형 데이터베이스를 생성하고, 수정하고 관리 할 수 있는 소프트웨어라고 정의 할 수 있다.


DBMS 별 function 비교

 

Microsoft SQL Server

MySQL 

Oracle 

NULL값 처리 

ISNULL(colum,value) 

IFNULL(colum,value) 

 NVL(colum,value)

Select Insert

 (테이블 데이터 복사 ) 

Select 컬럼명
into 신규테이블
from 기존테이블 

insert into 신규테이블명(컬럼명)
select 컬럼명
from 기존테이블

insert into 신규테이블명(컬럼명)
select 컬럼명
from 기존테이블

다중조건

( case문 )

case
when 조건 then 값
when 조건 then 값
else 값
end 

단일조건

case문 사용 

 DECODE(컬럼,값,일치,불일치)
IF(조건,조건일치,불일치)

DECODE(컬럼,값,일치,불일치) 
IF(조건,조건일치, 불일치)

 문자열 합치기

concat('a','&','b','&','c')
concat_ws('&','a','b','c') 

 || - 2개이상
concat('a','b') - 2개



출처 : http://db-engines.com/

'프로그래밍 > 데이터베이스' 카테고리의 다른 글

NOSQL  (320) 2015.11.06
[ MSSQL ] 데이터의 물리적 구조  (2) 2015.06.02
[ MSSQL ] 데이터 파일(.mdf/.ndf)과 로그파일(.ldf)  (2) 2015.06.02
[ MSSQL ] Page와 Extend  (2) 2015.05.27