Heim > Datenbank > MySQL-Tutorial > MongoDB中级----关联多表查询

MongoDB中级----关联多表查询

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Freigeben: 2016-06-07 17:03:56
Original
1392 Leute haben es durchsucht

相关数据存放在一起,针对性的查询可以消除join,性能比分散存储要高且方便

MongoDB中级---->关联多表查询

[日期:2011-08-19] 来源:Linux社区  作者:crazyjixiang [字体:]

DBRef is a more formal specification for creating references between documents.  DBRefs (generally) include a collection name as well as an object id.  Most developers only use DBRefs if the collection can change from one document to the next.  If your referenced collection will always be the same, the manual references outlined above are more efficient.

相关数据存放在一起,针对性的查询可以消除join,性能比分散存储要高且方便

linux

  • 0
  • MongoDB之DBref(关联插入,查询,删除) 实例深入

    MongoDB 1000W级数据 Insert和Query和Delete性能测试

    Verwandte Etiketten:
    Erklärung dieser Website
    Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
    Aktuelle Ausgaben
    Parameterverständnis von Mongodb
    Aus 1970-01-01 08:00:00
    0
    0
    0
    Verwendung von Symfony2 Mongodb
    Aus 1970-01-01 08:00:00
    0
    0
    0
    mongodb _id umbenennen
    Aus 1970-01-01 08:00:00
    0
    0
    0
    MongoDB schließt Verbindung – Stapelüberlauf
    Aus 1970-01-01 08:00:00
    0
    0
    0
    Beliebte Tutorials
    Mehr>
    Neueste Downloads
    Mehr>
    Web-Effekte
    Quellcode der Website
    Website-Materialien
    Frontend-Vorlage