Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Insert query

komaljain-ee edited this page Dec 2, 2013 · 1 revision

No. Time Source Destination Protocol Length Info
128 183.108413000 127.0.0.1 127.0.0.1 MONGO 128 Request : Query

Frame 128: 128 bytes on wire (1024 bits), 128 bytes captured (1024 bits) on interface 0
Mongo Wire Protocol
Message Length: 62
Request ID: 0x0000000d (13)
Response To: 0x00000000 (0)
OpCode: Query (2004)
Query Flags
.... .... .... .... .... .... .... ..0. = Tailable Cursor: No
.... .... .... .... .... .... .... .0.. = Slave OK: No
.... .... .... .... .... .... .... 0... = Op Log Reply: No
.... .... .... .... .... .... ...0 .... = No Cursor Timeout: No
.... .... .... .... .... .... ..0. .... = AwaitData: No
.... .... .... .... .... .... .0.. .... = Exhaust: No
.... .... .... .... .... .... 0... .... = Partial: No
fullCollectionName: admin.$cmd
Database Name: admin
Collection Name: $cmd
Number To Skip: 0
Number to Return: -1
Query
Document length: 23
Elements
Element: isMaster
Type: Double (0x01)
Value: 1



No. Time Source Destination Protocol Length Info
129 183.108571000 127.0.0.1 127.0.0.1 MONGO 237 Response : Reply

Frame 129: 237 bytes on wire (1896 bits), 237 bytes captured (1896 bits) on interface 0
Mongo Wire Protocol
Message Length: 171
Request ID: 0x0000000d (13)
Response To: 0x0000000d (13)
OpCode: Reply (1)
Reply Flags
.... .... .... .... .... .... .... ...0 = Cursor Not Found: No
.... .... .... .... .... .... .... ..0. = Query Failure: No
.... .... .... .... .... .... .... .0.. = Shared Config Stale: No
.... .... .... .... .... .... .... 1... = Await Capable: Yes
Cursor ID: 0
Starting From: 0
Number Returned: 1
Document
Document length: 135
Elements
Element: ismaster
Type: Boolean (0x08)
Value: True
Element: maxBsonObjectSize
Type: Int32 (0x10)
Value: 16777216
Element: maxMessageSizeBytes
Type: Int32 (0x10)
Value: 48000000
Element: localTime
Type: Datetime (0x09)
Value: 1385975962661
Element: maxWireVersion
Type: Int32 (0x10)
Value: 2
Element: minWireVersion
Type: Int32 (0x10)
Value: 0
Element: ok
Type: Double (0x01)
Value: 1


No. Time Source Destination Protocol Length Info
131 183.109117000 127.0.0.1 127.0.0.1 MONGO 196 Request : Query

Frame 131: 196 bytes on wire (1568 bits), 196 bytes captured (1568 bits) on interface 0
Mongo Wire Protocol
Message Length: 130
Request ID: 0x0000000e (14)
Response To: 0x00000000 (0)
OpCode: Query (2004)
Query Flags
.... .... .... .... .... .... .... ..0. = Tailable Cursor: No
.... .... .... .... .... .... .... .0.. = Slave OK: No
.... .... .... .... .... .... .... 0... = Op Log Reply: No
.... .... .... .... .... .... ...0 .... = No Cursor Timeout: No
.... .... .... .... .... .... ..0. .... = AwaitData: No
.... .... .... .... .... .... .0.. .... = Exhaust: No
.... .... .... .... .... .... 0... .... = Partial: No
fullCollectionName: midas.$cmd
Database Name: midas
Collection Name: $cmd
Number To Skip: 0
Number to Return: -1
Query
Document length: 91
Elements
Element: insert
Type: String (0x02)
Length: 7
Value: demo1K
Element: documents
Type: Array (0x04)
Document
Document length: 46
Elements
Element: 0
Type: Document (0x03)
Document
Document length: 38
Elements
Element: _id
Type: Object ID (0x07)
ObjectID: 529c509a6ddf3c3517ef1268
ObjectID Time: 1385975962
ObjectID Machine: 0x3cdf6d
ObjectID PID: 5941
ObjectID inc: 15667816
Element: name
Type: String (0x02)
Length: 6
Value: midas
Element: ordered
Type: Boolean (0x08)
Value: True


No. Time Source Destination Protocol Length Info
132 183.129293000 127.0.0.1 127.0.0.1 MONGO 122 Response : Reply

Frame 132: 122 bytes on wire (976 bits), 122 bytes captured (976 bits) on interface 0
Mongo Wire Protocol
Message Length: 56
Request ID: 0x0000000e (14)
Response To: 0x0000000e (14)
OpCode: Reply (1)
Reply Flags
.... .... .... .... .... .... .... ...0 = Cursor Not Found: No
.... .... .... .... .... .... .... ..0. = Query Failure: No
.... .... .... .... .... .... .... .0.. = Shared Config Stale: No
.... .... .... .... .... .... .... 1... = Await Capable: Yes
Cursor ID: 0
Starting From: 0
Number Returned: 1
Document
Document length: 20
Elements
Element: ok
Type: Int32 (0x10)
Value: 1
Element: n
Type: Int32 (0x10)
Value: 1


No. Time Source Destination Protocol Length Info
133 183.131200000 127.0.0.1 127.0.0.1 MONGO 146 Request : Query

Frame 133: 146 bytes on wire (1168 bits), 146 bytes captured (1168 bits) on interface 0
Mongo Wire Protocol
Message Length: 80
Request ID: 0x0000000f (15)
Response To: 0x00000000 (0)
OpCode: Query (2004)
Query Flags
.... .... .... .... .... .... .... ..0. = Tailable Cursor: No
.... .... .... .... .... .... .... .0.. = Slave OK: No
.... .... .... .... .... .... .... 0... = Op Log Reply: No
.... .... .... .... .... .... ...0 .... = No Cursor Timeout: No
.... .... .... .... .... .... ..0. .... = AwaitData: No
.... .... .... .... .... .... .0.. .... = Exhaust: No
.... .... .... .... .... .... 0... .... = Partial: No
fullCollectionName: midas.$cmd
Database Name: midas
Collection Name: $cmd
Number To Skip: 0
Number to Return: -1
Query
Document length: 41
Elements
Element: isMaster
Type: Double (0x01)
Value: 1
Element: forShell
Type: Double (0x01)
Value: 1


No. Time Source Destination Protocol Length Info
134 183.131334000 127.0.0.1 127.0.0.1 MONGO 237 Response : Reply

Frame 134: 237 bytes on wire (1896 bits), 237 bytes captured (1896 bits) on interface 0
Mongo Wire Protocol
Message Length: 171
Request ID: 0x0000000f (15)
Response To: 0x0000000f (15)
OpCode: Reply (1)
Reply Flags
.... .... .... .... .... .... .... ...0 = Cursor Not Found: No
.... .... .... .... .... .... .... ..0. = Query Failure: No
.... .... .... .... .... .... .... .0.. = Shared Config Stale: No
.... .... .... .... .... .... .... 1... = Await Capable: Yes
Cursor ID: 0
Starting From: 0
Number Returned: 1
Document
Document length: 135
Elements
Element: ismaster
Type: Boolean (0x08)
Value: True
Element: maxBsonObjectSize
Type: Int32 (0x10)
Value: 16777216
Element: maxMessageSizeBytes
Type: Int32 (0x10)
Value: 48000000
Element: localTime
Type: Datetime (0x09)
Value: 1385975962684
Element: maxWireVersion
Type: Int32 (0x10)
Value: 2
Element: minWireVersion
Type: Int32 (0x10)
Value: 0
Element: ok
Type: Double (0x01)
Value: 1
Clone this wiki locally