Qhov txawv ntawm RDBMS thiab OODBMS

Qhov txawv ntawm RDBMS thiab OODBMS
Qhov txawv ntawm RDBMS thiab OODBMS

Video: Qhov txawv ntawm RDBMS thiab OODBMS

Video: Qhov txawv ntawm RDBMS thiab OODBMS
Video: txiv neej hmoob ma lim hiam tiag nyob ua ke tsi pom muaj qig nplam lawm mam quaj thov 2024, Kaum ib hlis
Anonim

RDBMS vs OODBMS

Ib Yam Khoom-Oriented Database Management System (OODBMS), qee zaum hu ua Object Database Management System (ODMS) yog Database Management System (DBMS) uas txhawb kev tsim qauv thiab tsim cov ntaub ntawv ua khoom. OODBMS muab kev txhawb nqa rau cov chav kawm khoom, cov cuab yeej hauv chav kawm thiab txoj kev qub txeeg qub teg los ntawm cov chav kawm thiab lawv cov khoom. Ib Qhov Kev Sib Raug Zoo Database Management System (RDBMS) kuj yog DBMS tab sis, uas yog raws li tus qauv kev sib raug zoo. DBMSs nrov tshaj plaws tam sim no siv yog RDMSs.

Raws li tau hais ua ntej RDBMS yog raws li tus qauv kev sib raug zoo thiab cov ntaub ntawv hauv RDMS tau muab khaws cia rau hauv daim ntawv muaj feem cuam tshuam. Yog li, cov ntaub ntawv sib raug zoo tuaj yeem pom tau yooj yim raws li kev sau ntawm ib lossis ntau qhov kev sib raug zoo lossis cov rooj nrog kab thiab kab. Txhua kem sib raug rau tus cwj pwm ntawm kev sib raug zoo thiab txhua kab sib raug rau cov ntaub ntawv uas muaj cov ntaub ntawv tseem ceeb rau ib qho chaw. RDMSs yog tsim los ntawm kev nthuav dav hierarchical thiab cov qauv hauv network, uas yog ob lub tshuab database yav dhau los. Cov ntsiab lus tseem ceeb ntawm RDBMS yog cov ntsiab lus ntawm kev sib raug zoo ntawm kev ncaj ncees thiab normalization. Cov ntsiab lus no yog ua raws li 13 txoj cai rau kev sib raug zoo uas tsim los ntawm Ted Codd. Ua raws li peb lub hauv paus tseem ceeb yuav tsum ua raws li RDBMS. Ua ntej, tag nrho cov ntaub ntawv yuav tsum muaj nyob rau hauv daim ntawv ntawm lub rooj. Qhov thib ob, txhua tus nqi pom nyob rau hauv kab lus yuav tsum tsis txhob rov qab thiab thaum kawg yuav tsum tau siv Standard Query Language (SQL). Qhov zoo tshaj plaws ntawm RDBMSs yog nws qhov yooj yim rau cov neeg siv los tsim / nkag mus thiab txuas ntxiv cov ntaub ntawv. Tom qab tsim database, tus neeg siv tuaj yeem ntxiv cov ntaub ntawv tshiab rau hauv cov ntaub ntawv yam tsis tau hloov daim ntawv thov uas twb muaj lawm. Muaj qee qhov kev txwv tseem ceeb hauv RDBMSs kuj. Ib qho kev txwv yog tias lawv tsis muaj kev ua tau zoo thaum ua haujlwm nrog cov lus uas tsis yog SQL thiab txhua cov ntaub ntawv yuav tsum nyob hauv cov rooj uas kev sib raug zoo ntawm cov koom haum tau txhais los ntawm qhov tseem ceeb. Tsis tas li ntawd, RDMSs tsis muaj chaw cia txaus los lis cov ntaub ntawv xws li cov duab, suab thiab yees duab. Tam sim no feem ntau ntawm cov tseem ceeb DBMSs xws li IBM's DB2 tsev neeg, Oracle, Microsoft's Access thiab SQL Server yog RDMS.

OODBMS yog DBMS uas tso cai rau cov ntaub ntawv los sawv cev rau hauv daim ntawv ntawm cov khoom raws li siv hauv cov phiaj xwm taw qhia. OODBMSs tau tsim nyob rau xyoo 1980s kom kov yeej cov kev txwv hauv RDMSs xws li tuav cov ntaub ntawv loj thiab nyuaj. OODBMSs muab kev sib koom ua ke ntawm daim ntawv thov kev loj hlob ib puag ncig los ntawm kev koom nrog cov phiaj xwm kev taw qhia nrog cov cuab yeej siv database. OODBMSs tswj cov khoom taw qhia cov ntsiab lus xws li encapsulation, polymorphism thiab qub txeeg qub teg nrog rau cov ntsiab lus tswj hwm database xws li Atomicity, Consistency, Isolation and Durability. Object-oriented hom lus xws li Java, C, Visual Basic. NET thiab C ++ tuaj yeem ua haujlwm zoo nrog OODBMSs. Txij li ob qho tib si cov lus programming thiab OODBMS siv tib yam khoom-taw qhia tus qauv, cov programmers tuaj yeem tswj tau qhov sib xws tau yooj yim ntawm ob qhov chaw.

Txawm tias RDBMS thiab OODBMS yog ob qho tib si DBMS lawv txawv ntawm cov qauv uas lawv siv los sawv cev cov ntaub ntawv. OODBMSs siv cov qauv kev taw qhia thaum lub RDBMSs siv cov qauv kev sib raug zoo. Ob leeg muaj lawv tus kheej zoo thiab drawbacks. OODBMS tuaj yeem khaws / nkag tau cov ntaub ntawv nyuaj dua li RDBMS. Tab sis kev kawm OODBMS tuaj yeem nyuaj vim yog cov khoom siv thev naus laus zis, piv rau kev kawm RDBMS. Yog li xaiv ib qho ntawm lwm qhov yog nyob ntawm hom thiab qhov nyuaj ntawm cov ntaub ntawv uas yuav tsum tau khaws cia / tswj.

Pom zoo: