forked from laiweijian4/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
245 lines
14 KiB
HTML
245 lines
14 KiB
HTML
<a name="dds_faq_0033"></a><a name="dds_faq_0033"></a>
|
|
|
|
<h1 class="topictitle1">Which Commands are Supported or Restricted by DDS?</h1>
|
|
<div id="body1537427591522"><p id="dds_faq_0033__p62749467111453">The following tables list the commands supported and restricted by DDS.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dds_faq_0033__table5003377115556" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Commands supported and restricted by DDS</caption><thead align="left"><tr id="dds_faq_0033__row13067384161429"><th align="left" class="cellrowborder" valign="top" width="34.92%" id="mcps1.3.2.2.4.1.1"><p id="dds_faq_0033__p50497597161429">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="34.92%" id="mcps1.3.2.2.4.1.2"><p id="dds_faq_0033__p63773557161429">Supported Command</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="30.159999999999997%" id="mcps1.3.2.2.4.1.3"><p id="dds_faq_0033__p13684958115813">Restricted Command</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dds_faq_0033__row4354929615556"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p3783205015556">Aggregates Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p4449722515556">aggregate</p>
|
|
<p id="dds_faq_0033__p2489632915556">count</p>
|
|
<p id="dds_faq_0033__p3003093815556">distinct</p>
|
|
<p id="dds_faq_0033__p6667436928">group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p8764258408">mapReduce</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row184298815556"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p1506436715556">Geospatial Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p1225419415556">geoNear</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p168495819582">geoSearch</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row4317888315556"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p782861715556">Query and Write Operation Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p3013827715556">find</p>
|
|
<p id="dds_faq_0033__p2620547415556">insert</p>
|
|
<p id="dds_faq_0033__p4487372915556">update</p>
|
|
<p id="dds_faq_0033__p3093208415556">delete</p>
|
|
<p id="dds_faq_0033__p91128615556">findAndModify</p>
|
|
<p id="dds_faq_0033__p6034810615556">getMore</p>
|
|
<p id="dds_faq_0033__p3746386815556">getLastError</p>
|
|
<p id="dds_faq_0033__p6496098915556">resetError</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p169418187114">getPrevError</p>
|
|
<p id="dds_faq_0033__p9273182213515">eval</p>
|
|
<p id="dds_faq_0033__p01348298515">parallelCollectionScan</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row4777799215556"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p4481216915556">Query Plan Cache Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p590711115556">planCacheListFilters</p>
|
|
<p id="dds_faq_0033__p1131708015556">planCacheSetFilter</p>
|
|
<p id="dds_faq_0033__p6286994715556">planCacheClearFilters</p>
|
|
<p id="dds_faq_0033__p6394654915556">planCacheListQueryShapes</p>
|
|
<p id="dds_faq_0033__p4348280015556">planCacheListPlans</p>
|
|
<p id="dds_faq_0033__p2357743815556">planCacheClear</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p11193105312111">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row1087035815556"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p808383715556">Authentication Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p5081102315556">logout</p>
|
|
<p id="dds_faq_0033__p6425220515556">authenticate</p>
|
|
<p id="dds_faq_0033__p5843953715556">getnonce</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p71491802213">authSchemaUpgrade</p>
|
|
<p id="dds_faq_0033__p5336153141918">copydbgetnonce</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row2022411425614"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p192243421568">User Management Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p57147136211">createUser</p>
|
|
<p id="dds_faq_0033__p10714213142117">updateUser</p>
|
|
<p id="dds_faq_0033__p1573091317215">dropUser</p>
|
|
<p id="dds_faq_0033__p97301813182114">dropAllUsersFromDatabase</p>
|
|
<p id="dds_faq_0033__p11730111342117">grantRolesToUser</p>
|
|
<p id="dds_faq_0033__p1374641332117">revokeRolesFromUser</p>
|
|
<p id="dds_faq_0033__p1474651322111">usersInfo</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p8755192718813">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row5619379215556"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p5540330215556">Role Management Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p5848244815556">invalidateUserCache</p>
|
|
<p id="dds_faq_0033__p12949193611213">createRole</p>
|
|
<p id="dds_faq_0033__p1694912368219">updateRole</p>
|
|
<p id="dds_faq_0033__p494919360214">dropRole</p>
|
|
<p id="dds_faq_0033__p4964113622119">dropAllRolesFromDatabase</p>
|
|
<p id="dds_faq_0033__p1696463612120">grantPrivilegesToRole</p>
|
|
<p id="dds_faq_0033__p11964113618213">revokePrivilegesFromRole</p>
|
|
<p id="dds_faq_0033__p9964836182116">grantRolesToRole</p>
|
|
<p id="dds_faq_0033__p69801336122120">revokeRolesFromRole</p>
|
|
<p id="dds_faq_0033__p1598053622110">rolesInfo</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p876144115812">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row5657998615556"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p1957615815556">Replication Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p4216496215556">isMaster</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p89913198153">replSetElect</p>
|
|
<p id="dds_faq_0033__p119971921511">replSetUpdatePosition</p>
|
|
<p id="dds_faq_0033__p91007193158">appendOplogNote</p>
|
|
<p id="dds_faq_0033__p2100141915159">replSetFreeze</p>
|
|
<p id="dds_faq_0033__p21001819101510">replSetGetStatus</p>
|
|
<p id="dds_faq_0033__p610013191150">replSetInitiate</p>
|
|
<p id="dds_faq_0033__p141002019181515">replSetMaintenance</p>
|
|
<p id="dds_faq_0033__p310021913151">replSetReconfig</p>
|
|
<p id="dds_faq_0033__p410051916155">replSetStepDown</p>
|
|
<p id="dds_faq_0033__p010018196155">replSetSyncFrom</p>
|
|
<p id="dds_faq_0033__p310011192157">resync</p>
|
|
<p id="dds_faq_0033__p161003191156">applyOps</p>
|
|
<p id="dds_faq_0033__p1210021981520">replSetGetConfig</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row4394034515556"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p239821315556">Sharding Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p6003759815556">enableSharding</p>
|
|
<p id="dds_faq_0033__p1243002515556">getShardVersion</p>
|
|
<p id="dds_faq_0033__p179193915556">mergeChunks</p>
|
|
<p id="dds_faq_0033__p3125550315556">shardCollection</p>
|
|
<p id="dds_faq_0033__p3535730515556">split</p>
|
|
<p id="dds_faq_0033__p567157015556">splitChunk</p>
|
|
<p id="dds_faq_0033__p4093413415556">splitVector</p>
|
|
<p id="dds_faq_0033__p115986115556">moveChunk</p>
|
|
<p id="dds_faq_0033__p4023262115556">movePrimary</p>
|
|
<p id="dds_faq_0033__p300740415556">isdbgrid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p08117321004">flushRouterConfig</p>
|
|
<p id="dds_faq_0033__p1581111321909">addShard</p>
|
|
<p id="dds_faq_0033__p198113323017">cleanupOrphaned</p>
|
|
<p id="dds_faq_0033__p19811113213013">checkShardingIndex</p>
|
|
<p id="dds_faq_0033__p08111332106">listShards</p>
|
|
<p id="dds_faq_0033__p108113321805">removeShard</p>
|
|
<p id="dds_faq_0033__p1381113321102">getShardMap</p>
|
|
<p id="dds_faq_0033__p281113321102">setShardVersion</p>
|
|
<p id="dds_faq_0033__p7811203220013">shardingState</p>
|
|
<p id="dds_faq_0033__p681115329016">unsetSharding</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row2706663915556"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p4491416515556">Administration Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p1416875515556">renameCollection</p>
|
|
<p id="dds_faq_0033__p4198273815556">dropDatabase</p>
|
|
<p id="dds_faq_0033__p377416715556">listCollections</p>
|
|
<p id="dds_faq_0033__p6701354815556">drop</p>
|
|
<p id="dds_faq_0033__p6473303715556">create</p>
|
|
<p id="dds_faq_0033__p1285292415556">convertToCapped</p>
|
|
<p id="dds_faq_0033__p4164960315556">filemd5</p>
|
|
<p id="dds_faq_0033__p2935474315556">createIndexes</p>
|
|
<p id="dds_faq_0033__p5898952215556">listIndexes</p>
|
|
<p id="dds_faq_0033__p5368924015556">dropIndexes</p>
|
|
<p id="dds_faq_0033__p1498830615556">fsync</p>
|
|
<p id="dds_faq_0033__p5483938015556">connectionStatus</p>
|
|
<p id="dds_faq_0033__p4813452215556">collMod</p>
|
|
<p id="dds_faq_0033__p5923978215556">reIndex</p>
|
|
<p id="dds_faq_0033__p63193746104927">getParameter</p>
|
|
<p id="dds_faq_0033__p232014103914">currentOp</p>
|
|
<p id="dds_faq_0033__p3480153815556">killOp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p17971418118">clone</p>
|
|
<p id="dds_faq_0033__p20971847120">cloneCollection</p>
|
|
<p id="dds_faq_0033__p8971741414">clean</p>
|
|
<p id="dds_faq_0033__p1397941015">connPoolSync</p>
|
|
<p id="dds_faq_0033__p1898141514">compact</p>
|
|
<p id="dds_faq_0033__p99816412118">setParameter</p>
|
|
<p id="dds_faq_0033__p59813413115">repairDatabase</p>
|
|
<p id="dds_faq_0033__p1998442112">repairCursor</p>
|
|
<p id="dds_faq_0033__p1398941814">touch</p>
|
|
<p id="dds_faq_0033__p1598164411">shutdown</p>
|
|
<p id="dds_faq_0033__p10981647119">cloneCollectionAsCapped</p>
|
|
<p id="dds_faq_0033__p398164618">copydb</p>
|
|
<p id="dds_faq_0033__p098741414">logRotate</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row4477839315556"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p317120315556">Diagnostic Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p5554091015556">availableQueryOptions</p>
|
|
<p id="dds_faq_0033__p2267886615556">buildInfo</p>
|
|
<p id="dds_faq_0033__p2411309015556">collStats</p>
|
|
<p id="dds_faq_0033__p6302936915556">dataSize</p>
|
|
<p id="dds_faq_0033__p4594732215556">dbStats</p>
|
|
<p id="dds_faq_0033__p827502415556">explain</p>
|
|
<p id="dds_faq_0033__p5980423915556">features</p>
|
|
<p id="dds_faq_0033__p4363771215556">listCommands</p>
|
|
<p id="dds_faq_0033__p229112815556">listDatabases</p>
|
|
<p id="dds_faq_0033__p5961995315556">ping</p>
|
|
<p id="dds_faq_0033__p4351095815556">serverStatus</p>
|
|
<p id="dds_faq_0033__p4410474615556">whatsmyuri</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p72761543211">connPoolStats</p>
|
|
<p id="dds_faq_0033__p18276104318116">cursorInfo</p>
|
|
<p id="dds_faq_0033__p327612434110">dbHash</p>
|
|
<p id="dds_faq_0033__p1127654314113">diagLogging</p>
|
|
<p id="dds_faq_0033__p1327612431918">driverOIDTest</p>
|
|
<p id="dds_faq_0033__p17276124311112">getCmdLineOpts</p>
|
|
<p id="dds_faq_0033__p42769433119">getLog</p>
|
|
<p id="dds_faq_0033__p927684313119">hostInfo</p>
|
|
<p id="dds_faq_0033__p6276184314119">isSelf</p>
|
|
<p id="dds_faq_0033__p1527610431715">netstat</p>
|
|
<p id="dds_faq_0033__p92769436112">profile</p>
|
|
<p id="dds_faq_0033__p112766430111">shardConnPoolStats</p>
|
|
<p id="dds_faq_0033__p227624315120">top</p>
|
|
<p id="dds_faq_0033__p102767439117">validate</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row166321419126"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p1427611559213">Internal Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p25498442216">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p9549044722">handshake</p>
|
|
<p id="dds_faq_0033__p125495441120">_recvChunkAbort</p>
|
|
<p id="dds_faq_0033__p054917442026">_recvChunkCommit</p>
|
|
<p id="dds_faq_0033__p354918442212">_recvChunkStart</p>
|
|
<p id="dds_faq_0033__p105491044329">_recvChunkStatus</p>
|
|
<p id="dds_faq_0033__p1054916449219">_replSetFresh</p>
|
|
<p id="dds_faq_0033__p1354994411211">mapreduce.shardedfinish</p>
|
|
<p id="dds_faq_0033__p155491944422">_transferMods</p>
|
|
<p id="dds_faq_0033__p2549644826">replSetHeartbeat</p>
|
|
<p id="dds_faq_0033__p154994413219">replSetGetRBID</p>
|
|
<p id="dds_faq_0033__p5549544628">_migrateClone</p>
|
|
<p id="dds_faq_0033__p7549134413214">replSetElect</p>
|
|
<p id="dds_faq_0033__p854914441528">writeBacksQueued</p>
|
|
<p id="dds_faq_0033__p155496442024">writebacklisten</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dds_faq_0033__row112685241823"><td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.1 "><p id="dds_faq_0033__p132821255729">System Events Auditing Commands</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.92%" headers="mcps1.3.2.2.4.1.2 "><p id="dds_faq_0033__p1549174416214">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.159999999999997%" headers="mcps1.3.2.2.4.1.3 "><p id="dds_faq_0033__p95491443212">logApplicationMessage</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dds_faq_0100.html">FAQs</a></div>
|
|
</div>
|
|
</div>
|
|
|