<?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: Query regarding referential integrity and performance issues in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220883#M174013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Our concern is how would the relational database integrity be maintained in Alfresco database as it stores just the metadata for records&lt;BR /&gt;and the data being stored in the file system&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Are you asking how Alfresco keeps the metadata it stores about content linked to the actual binaries on the file system? If so, this is Alfresco's job. You don't have to worry about it. You'll never let anyone touch Alfresco's data directory directly. They'll always go through Alfresco, either through the web client, FTP, webDAV, CIFS, SMTP, IMAP, etc. Alfresco keeps them tied together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are asking how you might keep Alfresco content tied to records in your external systems, you'll have to do that yourself. You can have columns in those systems store the UUID of the object in Alfresco, or you can have a piece of metadata on the Alfresco object that stores a reference to the external systems, or both. Obviously, it will be up to you to make sure those stay in sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Also, if there are too many records for an application, wont the metadata table contain a lot many records affecting the performance in turn?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the more content you have in Alfresco, the more records you'll have in your Alfresco tables. For the most part, Alfresco, the ORM layer, and the database are going to work to keep everything humming along. With large datasets you'll want your DBA to see if he/she can tune performance by making database tweaks, just like you would with any other app that has a relational back-end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;if we have to generate some complex reports on this data, where each field(Metadata) is stored in a other row,how it will affect the performance&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I wouldn't write reports against the Alfresco tables directly for two reasons: First, that schema isn't public. It could change without notice. (The auditing tables are the exception). Second, as you point out, you don't want to adversely affect the performance of your Alfresco server. A better approach would be to ETL that data out of the Alfresco tables and into another database and report against that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2009 19:28:38 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2009-07-10T19:28:38Z</dc:date>
    <item>
      <title>Query regarding referential integrity and performance issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220882#M174012</link>
      <description>We are planning to integrate Alfresco DMS and RMS with our existing system.Our HR, Payroll and other common modules have a lot of complex applications.Our concern is how would the relational database integrity be maintained in Alfresco database as it stores just the metadata for recordsand the data</description>
      <pubDate>Wed, 08 Jul 2009 06:29:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220882#M174012</guid>
      <dc:creator>itsard</dc:creator>
      <dc:date>2009-07-08T06:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding referential integrity and performance issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220883#M174013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Our concern is how would the relational database integrity be maintained in Alfresco database as it stores just the metadata for records&lt;BR /&gt;and the data being stored in the file system&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Are you asking how Alfresco keeps the metadata it stores about content linked to the actual binaries on the file system? If so, this is Alfresco's job. You don't have to worry about it. You'll never let anyone touch Alfresco's data directory directly. They'll always go through Alfresco, either through the web client, FTP, webDAV, CIFS, SMTP, IMAP, etc. Alfresco keeps them tied together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are asking how you might keep Alfresco content tied to records in your external systems, you'll have to do that yourself. You can have columns in those systems store the UUID of the object in Alfresco, or you can have a piece of metadata on the Alfresco object that stores a reference to the external systems, or both. Obviously, it will be up to you to make sure those stay in sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Also, if there are too many records for an application, wont the metadata table contain a lot many records affecting the performance in turn?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the more content you have in Alfresco, the more records you'll have in your Alfresco tables. For the most part, Alfresco, the ORM layer, and the database are going to work to keep everything humming along. With large datasets you'll want your DBA to see if he/she can tune performance by making database tweaks, just like you would with any other app that has a relational back-end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;if we have to generate some complex reports on this data, where each field(Metadata) is stored in a other row,how it will affect the performance&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I wouldn't write reports against the Alfresco tables directly for two reasons: First, that schema isn't public. It could change without notice. (The auditing tables are the exception). Second, as you point out, you don't want to adversely affect the performance of your Alfresco server. A better approach would be to ETL that data out of the Alfresco tables and into another database and report against that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 19:28:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220883#M174013</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2009-07-10T19:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding referential integrity and performance issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220884#M174014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have another query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the DMS WebServices API for uploading and manipulating the content and other things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wish to provide the username and password just once to start the session and use the ticket that is generated for subsequent calls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the AuthenticationUtils.startSession method initiates the session but how do i provide the ticket to other subsequent calls&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to validate if the ticket is valid.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2009 06:59:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220884#M174014</guid>
      <dc:creator>itsard</dc:creator>
      <dc:date>2009-07-13T06:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding referential integrity and performance issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220885#M174015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can get the ticket at any time by calling AuthenticationUtils.getTicket. Note that you don't have to manage the ticket or ensure it is getting passed back in to subsequent calls–the AuthenticationUtils class sets up a callback handler that does that for you. If you want/need to do it yourself, you should be able to take a look at the source for AuthenticationUtils as an example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 20:17:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220885#M174015</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2009-08-25T20:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding referential integrity and performance issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220886#M174016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;But I do need to pass the authentication details in the next service call right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As, if I dont do that, it throws error of password callback failed. no ticket found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I call the below method once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AuthenticationDetails ad=AuthenticationUtils.startSession(uname,pwd);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I store this authentication details object in my session and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;before every webservice call I set AuthenticationUtils.setAuthenticationDetails(ad);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so that the ticket passes correctly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 09:15:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-regarding-referential-integrity-and-performance-issues/m-p/220886#M174016</guid>
      <dc:creator>itsard</dc:creator>
      <dc:date>2009-08-28T09:15:03Z</dc:date>
    </item>
  </channel>
</rss>

