<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:42:14 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-16779] kind of store / batch query  procedure</title>
                <link>https://jira.mongodb.org/browse/SERVER-16779</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;relating to my last post &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16735?filter=-2&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-16735?filter=-2&lt;/a&gt;&lt;br/&gt;
concerning the no solutions to embed big size items array , and the non sens to post thousands of $in reference ,&lt;br/&gt;
i was thinking of an alternative solution, i guess its a common pb so..&lt;/p&gt;

&lt;p&gt;If a kind of stored procedure was possible , it should solve this problematic, example:&lt;/p&gt;

&lt;p&gt;I put my blacklist items in another collections, great,&lt;br/&gt;
now i want to make a 2 step query to retrieve my elements with blacklist id ref without posting tons  of ref _id in the second query.&lt;/p&gt;

&lt;p&gt;Its possible if i can call  localy (avoid post size pb) a procedure / batch querys  were the first result query  stored in a temp variable, then perform the second query. example:&lt;/p&gt;

&lt;p&gt;myprocedur(param,option){&lt;/p&gt;

&lt;p&gt;//query1&lt;br/&gt;
$var = get all id ref in blacklist collection ;&lt;/p&gt;

&lt;p&gt;//query2&lt;br/&gt;
get all id in profile collection $in ($var)&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;Sorry for the long post but i think its very important problematic, there is actually no other solution to my pb, and im sure im not alone..&lt;/p&gt;</description>
                <environment></environment>
        <key id="177685">SERVER-16779</key>
            <summary>kind of store / batch query  procedure</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="pulsar">guipulsar</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Jan 2015 19:08:11 +0000</created>
                <updated>Fri, 9 Jan 2015 17:02:21 +0000</updated>
                            <resolved>Fri, 9 Jan 2015 05:43:33 +0000</resolved>
                                                                    <component>Usability</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="801259" author="asya" created="Fri, 9 Jan 2015 17:02:21 +0000"  >&lt;p&gt;First time posters must be approved by the moderator, hence the delay.&lt;/p&gt;

&lt;p&gt;Your post is visible on google groups now.&lt;/p&gt;</comment>
                            <comment id="801155" author="pulsar" created="Fri, 9 Jan 2015 15:42:58 +0000"  >&lt;p&gt;so i posted to google group and my message was simply filtered..I guess the fact you have no options avaible to solve my status pb can explain that .. I have to say i&apos;m very suprised because the non answers for a serious pb is anti profetional grade ..not serious at least..&lt;/p&gt;</comment>
                            <comment id="800981" author="pulsar" created="Fri, 9 Jan 2015 11:39:28 +0000"  >&lt;p&gt;yes i understand, gona post in google group&lt;/p&gt;</comment>
                            <comment id="800865" author="stennie" created="Fri, 9 Jan 2015 05:43:33 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;The SERVER project is for reporting bugs or feature suggestions for the MongoDB server.&lt;/p&gt;

&lt;p&gt;Given the related discussion in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16735&quot; title=&quot;capped document fields&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16735&quot;&gt;&lt;del&gt;SERVER-16735&lt;/del&gt;&lt;/a&gt;, I would suggest your underlying issue is trying to work out an appropriate schema for your use case, which is a much more appropriate discussion to have in the mongodb-user community support forum: &lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user&lt;/a&gt;. MongoDB team members are active in this forum, and you can also benefit from the experience of other MongoDB users.&lt;/p&gt;

&lt;p&gt;I appreciate your frustration that you cannot take the approach you intuit as correct, however trying to store unbounded data in a document is a definite performance and scaling anti-pattern. For more background see: &lt;a href=&quot;http://askasya.com/post/largeembeddedarrays&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Why shouldn&apos;t I embed large arrays in my documents?&lt;/a&gt;. Stored procedures will not solve the underyling schema challenges.&lt;/p&gt;

&lt;p&gt;If you can continue this discussion in the mongodb-user forum, hopefully we can arrive at a better understanding of your requirements and provide recommendations on how best to address these.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Stephen&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="177120">SERVER-16735</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 9 Jan 2015 05:43:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 5 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 5 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>pulsar</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlfa7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs5adj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>155869</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsgcfb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>