Cov ntaub ntawv pov tseg RDB yog dab tsi?
Cov ntaub ntawv pov tseg RDB yog dab tsi?

Video: Cov ntaub ntawv pov tseg RDB yog dab tsi?

Video: Cov ntaub ntawv pov tseg RDB yog dab tsi?
Video: PAB COV HMOOB TSI MUAJ NTAUB NTAWV- 2|HMONG/VNCRP 2024, Kaum ib hlis
Anonim

pov tseg . rdb file yog lub neej ntawd ntaub ntawv nyob rau hauv uas redis yuav txuag cov ntaub ntawv rau disk yog tias koj pab rdb ib raws persistence nyob rau hauv lub redis. conf ntaub ntawv . Qhov chaw ntawm pov tseg . rdb ib tuaj yeem tau txais los ntawm ob qho tib si. nyeem tus nqi "dir" hauv redis.conf ntaub ntawv pom los ntawm qhov chaw ntawm redis.conf.

Ib yam li ntawd, tib neeg nug, qhov chaw pov tseg RDB nyob qhov twg?

qhov chaw ntawm pov tseg . rdb ib yog ntawm /usr/local/etc/ pov tseg . rdb ib . qhov chaw ntawm redis.

Ib yam li ntawd, Redis config file nyob qhov twg? Cov Redis kev teeb tsa ntaub ntawv nyob rau ntawm installdir/ redis /etc/ redis . conf.

Tsis tas li ntawd kom paub yog, qhov kev teeb tsa twg teev qhia cov ntaub ntawv uas RDB snapshot pov tseg tau khaws cia rau _?

Los ntawm lub neej ntawd Redis txuag snapshots ntawm cov ntaub ntawv ntawm disk, hauv binary ntaub ntawv hu ua pov tseg . rdb ib . Koj ua tau teeb tsa Redis kom muaj nws cawm dataset txhua N vib nas this yog tias muaj tsawg kawg M hloov hauv dataset, lossis koj tuaj yeem hu rau tus kheej Txuag los yog BGSAV cov lus txib. Lub tswv yim no hu ua snapshotting.

Dab tsi yog AOF hauv Redis?

AOF stands rau Append Only File. Nws yog qhov hloov-log style persistent hom. RDB yog rau Redis Cov ntaub ntawv database. Nws yog lub snapshot style persistence hom.

Pom zoo: