If you can't read please download the document
text
Embed Size (px)
DESCRIPTION
test
Citation preview
- 1. How to access Mongo in nQA: =========================== 1.
Login to access server 2. ssh-perl1 with your username and password
3. /mnt/mongo/bin/mongo 10.0.1.185:27017 Different DBs in Mongo:
======================= 1. SPR-1 - client schema 1 2. SPR_GLOBAL -
Scheduler specific GRL 3. SPR_PARTNER1 - Partner Schema 1 4.
SPR_LOCAL - ???? Different collections: ======================
auditLog -- Audit log table conversation -- Universal profile
conversations customField -- Custom Fields mediaAsset -- DAM media
Asset, Content Suggestion profileTaggingRule - Profile tagging
universalMessage - Searchable data of inbox universalProfile -
Profile information for twitter, Facebook and Feedback calendarData
- Social APPs formData - Social APPs formDetails - Social APPs
permission - Geo Targetting poll_widget_results - Social Apps
sweepstake - Sweepstake sweepstakeActionRecord - Sweepstake
sweepstakeParticipants - Sweepstake sweepstakeWinner - Sweepstake
universalProfileConversations - Not used any more, Replaced by
Conversation collection quiz_widget_data - Social Apps comment -
Content Suggestion To get clarity from dev:
======================== measurement_metadata note searchQuery
userActivity Sample Queries: ===============
db.universalProfile.findOne(); db.universalProfile.find();
db.sweepstake.distinct('name')
db.conversation.findOne({_id:ObjectId("4f5742098906b3c4aa2af93c")})
db.universalProfile.find({'socialProfiles.type':'TWITTER'}).count();
db.universalProfile.find({'socialProfiles.type': 'TWITTER',
'socialProfiles.username': 'SprinklrMalar'});