Skip to content

Instantly share code, notes, and snippets.

@skarmark
Created September 11, 2015 17:08
Show Gist options
  • Save skarmark/4f62be1f8e2ff78f823c to your computer and use it in GitHub Desktop.
Save skarmark/4f62be1f8e2ff78f823c to your computer and use it in GitHub Desktop.
> db.live_action_d_b.getIndexes()
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"ns" : "st2.live_action_d_b",
"name" : "_id_"
},
{
"v" : 1,
"key" : {
"start_timestamp" : -1
},
"ns" : "st2.live_action_d_b",
"background" : false,
"name" : "start_timestamp_-1",
"dropDups" : false
},
{
"v" : 1,
"key" : {
"action" : 1
},
"ns" : "st2.live_action_d_b",
"background" : false,
"name" : "action_1",
"dropDups" : false
},
{
"v" : 1,
"key" : {
"start_timestamp" : -1,
"action" : 1
},
"ns" : "st2.live_action_d_b",
"name" : "start_timestamp_-1_action_1"
},
{
"v" : 1,
"key" : {
"start_timestamp" : 1
},
"ns" : "st2.live_action_d_b",
"name" : "start_timestamp_1"
},
{
"v" : 1,
"key" : {
"end_timestamp" : 1
},
"ns" : "st2.live_action_d_b",
"name" : "end_timestamp_1"
},
{
"v" : 1,
"key" : {
"status" : 1
},
"ns" : "st2.live_action_d_b",
"name" : "status_1"
}
]
> db.action_execution_d_b.getIndexes()
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"ns" : "st2.action_execution_d_b",
"name" : "_id_"
},
{
"v" : 1,
"key" : {
"parent" : 1
},
"ns" : "st2.action_execution_d_b",
"background" : false,
"name" : "parent_1",
"dropDups" : false
},
{
"v" : 1,
"key" : {
"liveaction.id" : 1
},
"ns" : "st2.action_execution_d_b",
"background" : false,
"name" : "liveaction.id_1",
"dropDups" : false
},
{
"v" : 1,
"key" : {
"start_timestamp" : 1
},
"ns" : "st2.action_execution_d_b",
"background" : false,
"name" : "start_timestamp_1",
"dropDups" : false
},
{
"v" : 1,
"key" : {
"action.ref" : 1
},
"ns" : "st2.action_execution_d_b",
"background" : false,
"name" : "action.ref_1",
"dropDups" : false
},
{
"v" : 1,
"key" : {
"status" : 1
},
"ns" : "st2.action_execution_d_b",
"background" : false,
"name" : "status_1",
"dropDups" : false
},
{
"v" : 1,
"key" : {
"rule.ref" : 1
},
"ns" : "st2.action_execution_d_b",
"name" : "rule.ref_1",
"background" : 1
},
{
"v" : 1,
"key" : {
"end_timestamp" : 1
},
"ns" : "st2.action_execution_d_b",
"name" : "end_timestamp_1",
"background" : 1
},
{
"v" : 1,
"key" : {
"start_timestamp" : -1,
"action.ref" : 1,
"status" : 1
},
"ns" : "st2.action_execution_d_b",
"name" : "start_timestamp_-1_action.ref_1_status_1",
"background" : 1
},
{
"v" : 1,
"key" : {
"start_timestamp" : -1,
"action.ref" : 1
},
"ns" : "st2.action_execution_d_b",
"name" : "start_timestamp_-1_action.ref_1"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment