-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmongo_clean.txt
145 lines (99 loc) · 4.33 KB
/
mongo_clean.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
db.runCommand ( { compact: 'host.p3.dfw2'})
db.runCommand ( { compact: 'host.bbr1.dfw30'})
db.runCommand ({ compact: 'host.bbr1.ord1'})
db.runCommand ({ compact: 'host.edge1.dfw1'})
db.runCommand ({ compact: 'host.edge1.ord1'})
db.runCommand ({ compact: 'host.edge1.syd2'})
db.runCommand ({ compact: 'host.edge2.hkg1'})
db.runCommand ({ compact: 'host.edge2.lon'})
db.runCommand ({ compact: 'host.edge2.ord1'})
db.runCommand ({ compact: 'host.edge2.syd2'})
db.runCommand ({ compact: 'host.edge3.lon'})
db.runCommand ({ compact: 'host.edge3.ord1'})
db.runCommand ({ compact: 'host.edge3.syd30'})
db.runCommand ({ compact: 'host.edge4.dfw30'})
db.runCommand ({ compact: 'host.edge4.hkg30'})
db.runCommand ({ compact: 'host.edge4.lon3'})
db.runCommand ({ compact: 'host.edge4.ord1'})
db.runCommand ({ compact: 'host.edge4.syd31'})
db.runCommand ({ compact: 'host.edge5.dfw31'})
db.runCommand ({ compact: 'host.edge5.iad3'})
db.runCommand ({ compact: 'host.edge5.lon3'})
db.runCommand ({ compact: 'host.edge6.iad2'})
db.runCommand ({ compact: 'host.edge6.lon3'})
db.runCommand ({ compact: 'host.edge7.iad30'})
db.runCommand ({ compact: 'host.edge7.lon31'})
db.runCommand ({ compact: 'host.edge8.iad30'})
db.runCommand ({ compact: 'host.p1.dfw1'})
db.runCommand ({ compact: 'host.p1.iad3'})
db.runCommand ({ compact: 'host.p1.lon3'})
db.runCommand ({ compact: 'host.p1.ord1'})
db.runCommand ({ compact: 'host.p2.dfw1'})
db.runCommand ({ compact: 'host.p2.iad2'})
db.runCommand ({ compact: 'host.p2.lon3'})
db.runCommand ({ compact: 'host.p2.ord1'})
db.runCommand ({ compact: 'host.p3.dfw2'})
db.runCommand ({ compact: 'host.p3.iad1'})
db.runCommand ({ compact: 'host.p4.dfw2'})
db.runCommand ({ compact: 'host.p4.iad1'})
db.host.edge1.hkg1.drop()
db.host.edge1.iad1.drop()
db.host.edge1.iad3.drop()
db.host.edge1.lon.drop()
db.host.edge1.odr1.drop()
db.host.edge2.dfw1.drop()
db.host.edge2.iad1.drop()
db.host.edge2.odr1.drop()
db.host.edge3.dfw1.drop()
db.host.edge3.dfw30.drop()
db.host.edge3.hkg1.drop()
db.host.edge3.iad1.drop()
db.host.edge3.odr1.drop()
db.host.edge4.dfw1.drop()
db.host.edge4.iad2.drop()
db.host.edge4.odr1.drop()
db.host.edge5.dfw1.drop()
db.host.edge5.odr1.drop()
db.host.edge5.ord1.drop()
db.host.edge6.dfw1.drop()
db....find({'_id' => {:$lt => 1391113575})
db.host.bbr1.dfw30.find({'_id': {$lt: 1391113575}}).count()
use zpoller_dev
db.host.bbr1.dfw30.remove({'_id': {$lt: 1391113575}})
test db.host.bbr1.ord1.find({'_id': {$lt: 1391114575}}).count()
db.host.bbr1.ord1.remove({'_id': {$lt: 1391113575}})
db.host.edge1.dfw1.remove({'_id': {$lt: 1391113575}})
db.host.edge1.ord1.remove({'_id': {$lt: 1391113575}})
db.host.edge1.syd2.remove({'_id': {$lt: 1391113575}})
db.host.edge2.hkg1.remove({'_id': {$lt: 1391113575}})
db.host.edge2.lon.remove({'_id': {$lt: 1391113575}})
db.host.edge2.ord1.remove({'_id': {$lt: 1391113575}})
db.host.edge2.syd2.remove({'_id': {$lt: 1391113575}})
db.host.edge3.lon.remove({'_id': {$lt: 1391113575}})
db.host.edge3.ord1.remove({'_id': {$lt: 1391113575}})
db.host.edge3.syd30.remove({'_id': {$lt: 1391113575}})
db.host.edge4.dfw30.remove({'_id': {$lt: 1391113575}})
db.host.edge4.hkg30.remove({'_id': {$lt: 1391113575}})
db.host.edge4.lon3.remove({'_id': {$lt: 1391113575}})
db.host.edge4.ord1.remove({'_id': {$lt: 1391113575}})
db.host.edge4.syd31.remove({'_id': {$lt: 1391113575}})
db.host.edge5.dfw31.remove({'_id': {$lt: 1391113575}})
db.host.edge5.iad3.remove({'_id': {$lt: 1391113575}})
db.host.edge5.lon3.remove({'_id': {$lt: 1391113575}})
db.host.edge6.iad2.remove({'_id': {$lt: 1391113575}})
db.host.edge6.lon3.remove({'_id': {$lt: 1391113575}})
db.host.edge7.iad30.remove({'_id': {$lt: 1391113575}})
db.host.edge7.lon31.remove({'_id': {$lt: 1391113575}})
db.host.edge8.iad30.remove({'_id': {$lt: 1391113575}})
db.host.p1.dfw1.remove({'_id': {$lt: 1391113575}})
db.host.p1.iad3.remove({'_id': {$lt: 1391113575}})
db.host.p1.lon3.remove({'_id': {$lt: 1391113575}})
db.host.p1.ord1.remove({'_id': {$lt: 1391113575}})
db.host.p2.dfw1.remove({'_id': {$lt: 1391113575}})
db.host.p2.iad2.remove({'_id': {$lt: 1391113575}})
db.host.p2.lon3.remove({'_id': {$lt: 1391113575}})
db.host.p2.ord1.remove({'_id': {$lt: 1391113575}})
db.host.p3.dfw2.remove({'_id': {$lt: 1391113575}})
db.host.p3.iad1.remove({'_id': {$lt: 1391113575}})
db.host.p4.dfw2.remove({'_id': {$lt: 1391113575}})
db.host.p4.iad1.remove({'_id': {$lt: 1391113575}})