Guest User

Untitled

a guest
Jan 18th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. _id: "MongoDB id"
  2. userid: "user id" (int)
  3. mobile: "users mobile number" (int)
  4. transaction: "transaction id" (int)
  5. sms: "message sent to user mobile" (text)
  6. created_dt: "unix timestamp of the transaction"
  7.  
  8. {
  9. mobile:<users mobile number>
  10. }
  11.  
  12. {
  13. "cursor" : "BasicCursor",
  14. "nscanned" : 37145516,
  15. "nscannedObjects" : 37145516,
  16. "n" : 37145516,
  17. "millis" : 296040,
  18. "nYields" : 1343,
  19. "nChunkSkips" : 0,
  20. "isMultiKey" : false,
  21. "indexOnly" : false,
  22. "indexBounds" : {
  23. }
  24. }
  25.  
  26. insert query update delete getmore command flushes mapped vsize res faults locked % idx miss % qr|qw ar|aw netIn netOut conn time
  27. 13 2 0 0 0 1 0 168g 336g 6.86g 1 1 0 0|0 1|0 21k 1k 19 11:30:04
  28. 16 0 0 0 0 1 0 168g 336g 6.88g 0 0.1 0 0|0 1|0 21k 1k 19 11:30:05
  29. 14 0 0 0 0 1 0 168g 336g 6.86g 0 0 0 0|0 1|0 29k 1k 19 11:30:06
  30. 10 0 0 0 0 1 0 168g 336g 6.86g 0 0 0 0|0 1|0 19k 1k 19 11:30:07
  31. 16 0 0 0 0 1 0 168g 336g 6.88g 0 0.1 0 0|0 1|0 21k 1k 19 11:30:08
  32. 9 0 0 0 0 1 0 168g 336g 6.89g 0 0 0 0|0 1|0 13k 1k 19 11:30:09
  33. 19 0 0 0 0 1 0 168g 336g 6.89g 0 0 0 0|0 1|0 27k 1k 19 11:30:10
  34. 12 0 0 0 0 1 0 168g 336g 6.89g 1 1.2 0 0|0 1|0 24k 1k 19 11:30:11
  35. 17 0 0 0 0 1 0 168g 336g 6.89g 1 1.7 0 0|0 1|0 31k 1k 19 11:30:12
  36. 15 0 0 0 0 1 0 168g 336g 6.89g 0 0 0 0|0 1|0 19k 1k 19 11:30:13
  37.  
  38. [
  39. {
  40. "v" : 1,
  41. "key" : {
  42. "_id" : 1
  43. },
  44. "ns" : "mymongodb.transaction_sms_details",
  45. "name" : "_id_"
  46. },
  47. {
  48. "v" : 1,
  49. "key" : {
  50. "_transaction_mobile_" : 1
  51. },
  52. "ns" : "mymongodb.transaction_sms_details",
  53. "background" : 1,
  54. "name" : "mobile"
  55. },
  56. {
  57. "v" : 1,
  58. "key" : {
  59. "_transaction_transaction_" : 1
  60. },
  61. "ns" : "mymongodb.transaction_sms_details",
  62. "background" : 1,
  63. "name" : "transaction"
  64. }
  65. ]
  66.  
  67. "_transaction_mobile_" : 1
  68. "_transaction_transtion_" : 1
  69.  
  70. db.xxx.dropIndexes();
  71. db.xxx.ensureIndex({mobile: 1});
  72. db.xxx.ensureIndex({transaction: 1});
Add Comment
Please, Sign In to add comment