Kuv yuav ua li cas thiaj tsim tau qhov Performance index hauv couchbase?
Kuv yuav ua li cas thiaj tsim tau qhov Performance index hauv couchbase?

Video: Kuv yuav ua li cas thiaj tsim tau qhov Performance index hauv couchbase?

Video: Kuv yuav ua li cas thiaj tsim tau qhov Performance index hauv couchbase?
Video: Puas yog luag dag koj xwb | Kawm muas 2024, Kaum ib hlis
Anonim

Hauv hom asynchronous, CREATE INDEX pib ua hauj lwm rau tsim tus qhov ntsuas txhais, thiab rov qab los sai li sai tau thaum txoj haujlwm tiav. Koj ua tau ces tsim tus qhov ntsuas siv cov IB TUG NYIAJ lus txib. GSI indexes muab cov xwm txheej thiab cim qhov ntsuas xwm txheej tseem tos. Nrog GSI indexer, qhov ntsuas raws li txoj cai tseem ceeb tshaj qhia "tseem tos".

Nyob rau hauv txoj kev no, kuv yuav ua li cas los tsim ib qho kev ntsuas tseem ceeb hauv couchbase?

tsim tus thawj index ntawm 'kev mus ncig ua qauv'; Cov thawj index yog qhov yooj yim qhov ntsuas ntawm daim ntawv tseem ceeb ntawm tag nrho lub thoob. Cov Couchbase cov ntaub ntawv txheej enforces lub uniqueness txwv ntawm cov ntaub ntawv tseem ceeb. Cov thawj index , zoo li txhua lwm yam Index hauv Couchbase , yog khaws cia asynchronously.

Ib yam li ntawd, koj ua li cas los tsim ib qho kev ntsuas? Tsim qhov ntsuas

  1. Nyem qhov koj xav ntxiv qhov ntsuas.
  2. Ntawm Cov Ntawv Qhia tab, hauv pawg Index, nyem Insert Index.
  3. Hauv Index dialog box, koj tuaj yeem xaiv hom ntawv nkag, nplooj ntawv tus lej, tabs, thiab cov cim thawj.
  4. Koj tuaj yeem hloov qhov zoo tag nrho ntawm qhov ntsuas los ntawm kev xaiv los ntawm cov ntawv qhia zaub mov poob.

Khaws qhov no hauv kev xav, dab tsi yog qhov ntsuas hauv couchbase?

Ib qhov ntsuas yog cov ntaub ntawv-cov qauv uas muab kev ceev thiab siv tau zoo rau kev nug thiab nkag mus rau cov ntaub ntawv, uas yuav tsum tau luam theej duab ntau cov ntaub ntawv. Couchbase Server muab peb hom indexers uas koj tuaj yeem siv los tsim indexes.

Keyspace hauv couchbase yog dab tsi?

Keyspaces map rau thoob hauv Couchbase Server. A keyspace yog ib txheej ntawm cov ntaub ntawv uas yuav txawv ntawm cov qauv. Nws yog ib chav ntawm kev tso cai thiab kev faib cov peev txheej. Nws yog qhov zoo sib xws rau lub rooj sib tham database.

Pom zoo: