<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic a lot queries are performed on CoreSession.getChildren(DocumentRef) in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/a-lot-queries-are-performed-on-coresession-getchildren/m-p/327468#M14469</link>
    <description>&lt;P&gt;CoreSession.getChildren(DocumentRef) is used in CMIS Folder.getChildren(...) and I found that multiple SQL are queried on a each child (such as dublincore, acls, misc etc) on first access. It means it will cause a lot of server round-trip for folder with a lot of items.
I read from &lt;A href="http://answers.nuxeo.com/questions/5899/nuxeo-ep-56-coresessiongetchildren-method-doesnt-work-with-a-type-filter-on-a-base-class" target="test_blank"&gt;http://answers.nuxeo.com/questions/5899/nuxeo-ep-56-coresessiongetchildren-method-doesnt-work-with-a-type-filter-on-a-base-class&lt;/A&gt; that "getChildren APIs is discouraged because they do not scale".&lt;/P&gt;
&lt;P&gt;So, my question is that why those queries are not performed in batch (for example 50 items per batch)?&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2013 11:55:02 GMT</pubDate>
    <dc:creator>huionn_</dc:creator>
    <dc:date>2013-09-16T11:55:02Z</dc:date>
    <item>
      <title>a lot queries are performed on CoreSession.getChildren(DocumentRef)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/a-lot-queries-are-performed-on-coresession-getchildren/m-p/327468#M14469</link>
      <description>&lt;P&gt;CoreSession.getChildren(DocumentRef) is used in CMIS Folder.getChildren(...) and I found that multiple SQL are queried on a each child (such as dublincore, acls, misc etc) on first access. It means it will cause a lot of server round-trip for folder with a lot of items.
I read from &lt;A href="http://answers.nuxeo.com/questions/5899/nuxeo-ep-56-coresessiongetchildren-method-doesnt-work-with-a-type-filter-on-a-base-class" target="test_blank"&gt;http://answers.nuxeo.com/questions/5899/nuxeo-ep-56-coresessiongetchildren-method-doesnt-work-with-a-type-filter-on-a-base-class&lt;/A&gt; that "getChildren APIs is discouraged because they do not scale".&lt;/P&gt;
&lt;P&gt;So, my question is that why those queries are not performed in batch (for example 50 items per batch)?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 11:55:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/a-lot-queries-are-performed-on-coresession-getchildren/m-p/327468#M14469</guid>
      <dc:creator>huionn_</dc:creator>
      <dc:date>2013-09-16T11:55:02Z</dc:date>
    </item>
  </channel>
</rss>

