Chan Chen Coding...

          Mongo Metadata

          The <dbname>.system.* namespaces in MongoDB are special and contain database system information.  System collections include:
          <dbname>.system.namespaces lists all namespaces.
          <dbname>.system.indexes lists all indexes. Additional namespace / index metadata exists in the database.ns files, and is opaque.
          <dbname>.system.profile stores database profiling information.
          <dbname>.system.users lists users who may access the database.
          Additionally, in the local database only there is replication information in system collections, e.g., local.system.replset contains the replica set configuration.
          Information on the structure of a stored document is stored within the document itself.  See BSON .
          There are several restrictions on manipulation of objects in the system collections. Inserting in system.indexes adds an index, but otherwise that table is immutable (the special drop index command updates it for you). system.users is modifiable. system.profile is droppable.
          Note: $ is a reserved character. Do not use it in namespace names or within field names. Internal collections for indexes use the $character in their names. These collection store b-tree bucket data and are not in BSON format (thus direct querying is not possible).


          -----------------------------------------------------
          Silence, the way to avoid many problems;
          Smile, the way to solve many problems;

          posted on 2012-02-19 16:47 Chan Chen 閱讀(245) 評論(0)  編輯  收藏 所屬分類: DB

          主站蜘蛛池模板: 大名县| 乌恰县| 义乌市| 华亭县| 延长县| 美姑县| 沧源| 哈巴河县| 富平县| 庐江县| 威信县| 吉隆县| 慈溪市| 威宁| 寿宁县| 石嘴山市| 南通市| 乌什县| 隆安县| 宁武县| 通山县| 壤塘县| 塘沽区| 河北区| 绥滨县| 修武县| 邵东县| 仲巴县| 奎屯市| 咸阳市| 柯坪县| 当雄县| 绵阳市| 乡城县| 灵宝市| 台北市| 阿坝县| 玉山县| 承德市| 昭苏县| 凤阳县|