Cov txheej txheem:

Vim li cas cov ntaub ntawv tsis raug cai yog teeb meem?
Vim li cas cov ntaub ntawv tsis raug cai yog teeb meem?

Video: Vim li cas cov ntaub ntawv tsis raug cai yog teeb meem?

Video: Vim li cas cov ntaub ntawv tsis raug cai yog teeb meem?
Video: Ib tug neeg yuav tsum raug 3 nqi no. Ntsib lawm yuav ua li cas ? 02/10/2021 2024, Kaum ib hlis
Anonim

Ib tug tsis zoo normalized database thiab cov rooj ua haujlwm tsis zoo tuaj yeem ua rau teeb meem xws li los ntawm ntau lub disk I / O thiab cov kev ua haujlwm tsis zoo tom ntej kom tsis raug cov ntaub ntawv . Ib qho xwm txheej tsis raug cai tuaj yeem ua rau muaj qhov dav cov ntaub ntawv redundancy, uas tso lub nra rau tag nrho cov kev pab cuam uas hloov cov cov ntaub ntawv.

Nyob rau hauv no txoj kev, dab tsi characterizes unnormalized ntaub ntawv?

Unnormalized daim ntawv (UNF), tseem hu ua ib tsis zoo li qub Kev sib raug zoo lossis tsis yog thawj daim ntawv (NF2), yog ib qho yooj yim database cov ntaub ntawv qauv (lub koom haum ntawm cov ntaub ntawv nyob rau hauv ib tug database) tsis muaj cov efficiency ntawm database normalization.

Tom qab, lo lus nug yog, yuav ua li cas yog tias koj tsis normalize lub database? Tsis- normalized cov ntxhuav feem ntau txhais tau hais tias tib cov ntaub ntawv khaws cia hauv ntau dua ib qho chaw. Yog Qhov no yog qhov teeb meem, tsis tuaj yeem thov code los tiv thaiv nws, nws muaj peev xwm heev uas ib qho ntawm cov txiaj ntsig yuav raug hloov kho yam tsis tau hloov kho tag nrho cov ntawv luam ntawm tus nqi tib yam hauv lwm cov ntxhuav.

Cov neeg kuj nug, dab tsi yog qhov zoo ntawm normalizing ib tug database?

Cov cov txiaj ntsig ntawm normalization suav nrog: Kev tshawb nrhiav, txheeb xyuas, thiab tsim cov indexes sai dua, vim cov ntxhuav yog nqaim, thiab ntau kab haum rau ntawm nplooj ntawv cov ntaub ntawv. Koj feem ntau muaj rooj ntau dua. Koj tuaj yeem muaj ntau pawg ntsuas (ib lub rooj), yog li koj tau txais kev hloov pauv ntau dua hauv cov lus nug.

Dab tsi yog qhov tsis zoo ntawm normalization?

Nov yog qee qhov tsis zoo ntawm normalization:

  • Txij li cov ntaub ntawv tsis yog duplicated, lub rooj koom yuav tsum tau. Qhov no ua rau cov lus nug nyuaj, thiab yog li kev nyeem ntawv qeeb qeeb.
  • Txij li kev koom nrog yuav tsum tau ua, indexing tsis ua haujlwm zoo.

Pom zoo: