Uploaded on

test

test

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
18
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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'});