<?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 Re: Loading 20k Users in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/loading-20k-users/m-p/238043#M191173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can set this in your alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;index.tracking.disableInTransactionIndexing=true&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Oct 2010 16:21:54 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2010-10-21T16:21:54Z</dc:date>
    <item>
      <title>Loading 20k Users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loading-20k-users/m-p/238040#M191170</link>
      <description>A third party created a java application to load users using the api (/api/people/).&amp;nbsp; Currently we building out a QA environment and loading about 20k users.&amp;nbsp; This is after create 20+ share sites, loading content, creating groups, and setting up categories.Right now the script is loading users at a</description>
      <pubDate>Thu, 21 Oct 2010 15:13:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loading-20k-users/m-p/238040#M191170</guid>
      <dc:creator>martyphee</dc:creator>
      <dc:date>2010-10-21T15:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Loading 20k Users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loading-20k-users/m-p/238041#M191171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why is a third party application pushing users into Alfresco and not Alfresco pulling users from a directory (Synchronization subsystem)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the application loading users into Alfresco using multiple processes/threads? We run a user/group synchronisation job at one of our customers with about 20 parallel threads and have observed a nearly linear increase in throughput, meaning that no contention actually took place and the server mostly waited on other resources to complete (mostly DB and ORM mapping)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As users are just content to the repository, creating them involves the usual content related DB interaction and indexing (which in turn also talks to the DB). The application server usually idles merrily along, mostly waiting on queries to the DB to return. This is especially true if due to some policies, rules or group constellations, the amount of DB interactions grows far beyond what is actually necessary to create a user (e.g. running into the Hibernate non-lazy fetch and cache or "shallow-container-with-lots-of-stuff" problem [descending into a container with a couple k objects as direct children which get preloaded into the transactional cache]). Depending on what your rules and policies do in that scenario, moving content from NFS to local (or using an asynchronously replicating content store) may or may not improve your user import significantly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a rule I always try to follow this sequence:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) synch with LDAP/AD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) setup categories&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) setup sites&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) either through patch or client application bulk-associate users with groups (if not already associated through LDAP/AD synch)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) setup/activate rules and content policies&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) load content&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suggestions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) use parallel import if not already performed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) disable indexing completely during bulk load and rebuild your indices after bulk load completed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) isolate and disable inefficient policies/rules that are not required for the buik load (in my experience, quite a lot of policies/rules get evaluated but actually do nothing due to the developer forgetting to properly check applicability before the logic is executed)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 15:48:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loading-20k-users/m-p/238041#M191171</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2010-10-21T15:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Loading 20k Users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loading-20k-users/m-p/238042#M191172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The users are actually coming form OID (Oracle).&amp;nbsp; Not sure why they designed it this way.&amp;nbsp; I came in later to help figure out the problems they were having.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I disable the indexing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 16:08:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loading-20k-users/m-p/238042#M191172</guid>
      <dc:creator>martyphee</dc:creator>
      <dc:date>2010-10-21T16:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loading 20k Users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loading-20k-users/m-p/238043#M191173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can set this in your alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;index.tracking.disableInTransactionIndexing=true&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 16:21:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loading-20k-users/m-p/238043#M191173</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2010-10-21T16:21:54Z</dc:date>
    </item>
  </channel>
</rss>

