Acid hauv Hadoop yog dab tsi?
Acid hauv Hadoop yog dab tsi?

Video: Acid hauv Hadoop yog dab tsi?

Video: Acid hauv Hadoop yog dab tsi?
Video: Pub thawj sib tua tuag ua dab scary 3/17/2020 2024, Kaum ib hlis
Anonim

ACID sawv cev rau Atomicity, Consistency, Isolation, thiab Durability. Kev sib raug zoo ua kom ntseeg tau tias txhua qhov kev hloov pauv yuav coj cov ntaub ntawv los ntawm ib lub xeev siv tau mus rau lwm lub xeev. Kev cais tawm hais tias txhua qhov kev lag luam yuav tsum muaj kev ywj pheej ntawm ib leeg, piv txwv li ib qho kev lag luam yuav tsum tsis txhob cuam tshuam lwm tus.

Cov lus nug tseem yog, dab tsi yog acid nyob rau hauv cov ntaub ntawv loj?

Ua ntej, ACID yog ib qho acronym rau atomicity, sib xws, kev sib cais, thiab durability. Kev lag luam tswj xyuas qhov sib xws ntawm lub xeev ntawm cov cov ntaub ntawv . Hauv lwm lo lus, tom qab khiav kev lag luam, tag nrho cov ntaub ntawv nyob rau hauv lub database yog "yog." Kev rho tawm txhais tau hais tias kev lag luam tuaj yeem khiav tib lub sijhawm.

Tsis tas li ntawd, vim li cas acid ua raws li tseem ceeb? Ntawm no yog ib qho piv txwv ntawm lub ntiaj teb tiag: Kev ua raws li ACID Nws yog ib qho tseem ceeb rau cov tuam txhab nyiaj txiag vim tias nws tiv thaiv qhov teeb meem tsis zoo ntawm kev them nyiaj tib ob zaug vim kev ua lag luam tsis sib haum.

Tom qab ntawd, ib tus tuaj yeem nug, dab tsi yog ACID cov khoom hauv DBMS?

Kev lag luam hauv a database system yuav tsum tuav Atomicity, Consistency, Isolation, thiab Durability - feem ntau hu ua ACID cov khoom - txhawm rau xyuas kom raug, ua tiav, thiab cov ntaub ntawv ncaj ncees. Consistency - Kev database yuav tsum nyob twj ywm nyob rau hauv ib tug zoo lub xeev tom qab ib qho kev sib pauv.

Dab tsi yog acid thiab base hauv databases?

Database developers txhua tus paub cov ACID acronym. Nws hais tias database Kev hloov pauv yuav tsum yog: Atomic: Txhua yam hauv kev sib pauv ua tiav lossis tag nrho cov kev hloov pauv tau rov qab. Consistent: Ib qho kev sib pauv tsis tuaj yeem tawm ntawm qhov database nyob rau hauv ib qho kev tsis sib haum xeeb. Kev cais tawm: Kev lag luam tsis tuaj yeem cuam tshuam ib leeg.

Pom zoo: