<?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: does alfresco store documents as files or in db? any limits? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11797#M4716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;True, and there are good reasons for that. Changing the names means that we don't have to worry about the underlying filesystem storing utf-8 or similar filenames that may cause problems, it's also good for security of the files.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Security through obscurity is no security at all.&amp;nbsp; If your server is blown open they also have the mapping tables, which means that there is no enhanced security through renaming the files like this.&amp;nbsp; Also, chances are that you're already making everything very, very open through your CIFS, FTP or webDAV access methods.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Woooaah there &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; I wasn't trying to say it's _for_ security - just that it can't hurt to do so - the filename character issue is the main reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco is secure via all APIs and interfaces - there is nothing "open" - they all require authentication to allow you to browse anything beyond the "Guest" folder - and even that can be disabled via config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The "we don't worry about screwy filenames" is a very good argument though.&amp;nbsp; Portability is *definitely* enhanced through this.&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The mapping is via the {&lt;A href="http://www.alfresco.org/model/content/1.0}content" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}content&lt;/A&gt; property in the node_properties table, the contentUrl is part of the value stored in the string_value column.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I can't seem to find the mapping.&amp;nbsp; I can use &lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;SELECT guid FROM node_properties WHERE qname = '{&lt;A href="http://www.alfresco.org/model/content/1.0}name" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}name&lt;/A&gt;' AND string_value = 'MX Control.doc';&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;and get back a guid of '74ecdfb5-f7d0-11da-baf4-8975711acf00', but I can't find that anywhere in the filesystem:&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# find /opt/alfresco/alf_data/contentstore/2006 -iname '74ecdfb5-f7d0-11da-baf4-8975711acf00*'&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;Now if I muck about with the filename a little I do find something:&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# find /opt/alfresco/alf_data/contentstore/2006 -iname '*-f7d0-11da-baf4-8975711acf00*'&lt;BR /&gt;/opt/alfresco/alf_data/contentstore/2006/6/9/11/74f34857-f7d0-11da-baf4-8975711acf00.bin&lt;BR /&gt;# file /opt/alfresco/alf_data/contentstore/2006/6/9/11/74f34857-f7d0-11da-baf4-8975711acf00.bin&lt;BR /&gt;/opt/alfresco/alf_data/contentstore/2006/6/9/11/74f34857-f7d0-11da-baf4-8975711acf00.bin: Microsoft Office Document&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;But that isn't very scientific.&amp;nbsp; How does one use the database to precisely locate the path and physical filename of content stored within Alfresco?&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Obviously you should only ever use the Alfresco APIs to change these values. All of the services in the Alfresco repository are pluggable, so the way that files are stored could be changes without affecting the rest of the system.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Absolutely, but for read-only access there should be a way to do this.&amp;nbsp; I haven't benchmarked Alfresco's CIFS/webDAV/FTP access yet but my initial impression is that its performance is a little lacking, especially compared to "raw" FTP/Samba performance on the same physical hardware.&amp;nbsp; It's understandable given that it's a content management system rather than a simple file server but before I decide to throw thousands of documents totaling gigabytes of data into it, I want to have a very clear and low-level understanding of where my data is and how to get at it in the event of a problem.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;That's fine and you are probably right, going to the database directly is always going to be faster than any framework that adds value ontop of it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry I did not give you all the info you need to write a query. If you have the GUID of a content node (from the NodeRef in Alfresco) then you can extract the string_value column from the content property of that node by joining the node table to the node_properties table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;select string_value from node_properties p join node n on n.id = p.node_id where p.qname='{&lt;A href="http://www.alfresco.org/model/content/1.0}name" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}name&lt;/A&gt;' and n.uuid = 'XXXX';&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;BR /&gt;&lt;SPAN&gt;That returns the content URL field - which contains all the info you need on the content file and looks something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;contentUrl=store://2006/5/22/17/16c6cf0a-e9ae-11da-ac1c-8900bf14b17f.bin|mimetype=text/plain|size=609|encoding=UTF-8&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It includes the folder path (relative to the usual "./alf_data/contentstore" directory) and the mimetype and size of the content compacted into a single string value. That should give you enough to find the content on the disk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jun 2006 14:15:21 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2006-06-12T14:15:21Z</dc:date>
    <item>
      <title>does alfresco store documents as files or in db? any limits?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11792#M4711</link>
      <description>currently we have a home-grown knowledge management system layered on top of SVN. i am investigating alfrescoone of the questions i had was how does alfresco store its files? this questiobn is important for the following reasons -* one of the resources within our company is VIDEOS. These videos are</description>
      <pubDate>Mon, 29 May 2006 13:18:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11792#M4711</guid>
      <dc:creator>bhavin_t</dc:creator>
      <dc:date>2006-05-29T13:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: does alfresco store documents as files or in db? any limits?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11793#M4712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco stores file content on the file system by default - only meta-data is stored in the database, so this should suit your needs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco does not version content by default - you need to actually enable versioning for a folder/type or the entire system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 09:28:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11793#M4712</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-05-30T09:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: does alfresco store documents as files or in db? any limits?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11794#M4713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Alfresco stores file content on the file system by default - only meta-data is stored in the database, so this should suit your needs.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;That's oversimplifying a little.&amp;nbsp; Yes, the content is stored in the filesystem, but the names are mangled into something totally unusable outside of Alfresco.&amp;nbsp; I've been unable to, at this point, find a mapping between the filesystem name and the actual content properties (name, author, description, etc.) inside the database.&amp;nbsp; Could you or anyone else point me off into the right direction?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jun 2006 16:55:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11794#M4713</guid>
      <dc:creator>akohlsmith</dc:creator>
      <dc:date>2006-06-11T16:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: does alfresco store documents as files or in db? any limits?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11795#M4714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Alfresco stores file content on the file system by default - only meta-data is stored in the database, so this should suit your needs.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;That's oversimplifying a little.&amp;nbsp; Yes, the content is stored in the filesystem, but the names are mangled into something totally unusable outside of Alfresco.&amp;nbsp; I've been unable to, at this point, find a mapping between the filesystem name and the actual content properties (name, author, description, etc.) inside the database.&amp;nbsp; Could you or anyone else point me off into the right direction?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;True, and there are good reasons for that. Changing the names means that we don't have to worry about the underlying filesystem storing utf-8 or similar filenames that may cause problems, it's also good for security of the files. The mapping is via the {&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}content" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}content&lt;/A&gt;&lt;SPAN&gt; property in the node_properties table, the contentUrl is part of the value stored in the string_value column. Obviously you should only ever use the Alfresco APIs to change these values. All of the services in the Alfresco repository are pluggable, so the way that files are stored could be changes without affecting the rest of the system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 09:47:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11795#M4714</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-06-12T09:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: does alfresco store documents as files or in db? any limits?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11796#M4715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;True, and there are good reasons for that. Changing the names means that we don't have to worry about the underlying filesystem storing utf-8 or similar filenames that may cause problems, it's also good for security of the files.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Security through obscurity is no security at all.&amp;nbsp; If your server is blown open they also have the mapping tables, which means that there is no enhanced security through renaming the files like this.&amp;nbsp; Also, chances are that you're already making everything very, very open through your CIFS, FTP or webDAV access methods.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "we don't worry about screwy filenames" is a very good argument though.&amp;nbsp; Portability is *definitely* enhanced through this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The mapping is via the {&lt;A href="http://www.alfresco.org/model/content/1.0}content" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}content&lt;/A&gt; property in the node_properties table, the contentUrl is part of the value stored in the string_value column.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't seem to find the mapping.&amp;nbsp; I can use &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;SELECT guid FROM node_properties WHERE qname = '{&lt;A href="http://www.alfresco.org/model/content/1.0}name" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}name&lt;/A&gt;' AND string_value = 'MX Control.doc';&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and get back a guid of '74ecdfb5-f7d0-11da-baf4-8975711acf00', but I can't find that anywhere in the filesystem:&lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# find /opt/alfresco/alf_data/contentstore/2006 -iname '74ecdfb5-f7d0-11da-baf4-8975711acf00*'&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now if I muck about with the filename a little I do find something:&lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# find /opt/alfresco/alf_data/contentstore/2006 -iname '*-f7d0-11da-baf4-8975711acf00*'&lt;BR /&gt;/opt/alfresco/alf_data/contentstore/2006/6/9/11/74f34857-f7d0-11da-baf4-8975711acf00.bin&lt;BR /&gt;# file /opt/alfresco/alf_data/contentstore/2006/6/9/11/74f34857-f7d0-11da-baf4-8975711acf00.bin&lt;BR /&gt;/opt/alfresco/alf_data/contentstore/2006/6/9/11/74f34857-f7d0-11da-baf4-8975711acf00.bin: Microsoft Office Document&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;But that isn't very scientific.&amp;nbsp; How does one use the database to precisely locate the path and physical filename of content stored within Alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Obviously you should only ever use the Alfresco APIs to change these values. All of the services in the Alfresco repository are pluggable, so the way that files are stored could be changes without affecting the rest of the system.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Absolutely, but for read-only access there should be a way to do this.&amp;nbsp; I haven't benchmarked Alfresco's CIFS/webDAV/FTP access yet but my initial impression is that its performance is a little lacking, especially compared to "raw" FTP/Samba performance on the same physical hardware.&amp;nbsp; It's understandable given that it's a content management system rather than a simple file server but before I decide to throw thousands of documents totaling gigabytes of data into it, I want to have a very clear and low-level understanding of where my data is and how to get at it in the event of a problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 13:23:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11796#M4715</guid>
      <dc:creator>akohlsmith</dc:creator>
      <dc:date>2006-06-12T13:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: does alfresco store documents as files or in db? any limits?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11797#M4716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;True, and there are good reasons for that. Changing the names means that we don't have to worry about the underlying filesystem storing utf-8 or similar filenames that may cause problems, it's also good for security of the files.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Security through obscurity is no security at all.&amp;nbsp; If your server is blown open they also have the mapping tables, which means that there is no enhanced security through renaming the files like this.&amp;nbsp; Also, chances are that you're already making everything very, very open through your CIFS, FTP or webDAV access methods.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Woooaah there &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; I wasn't trying to say it's _for_ security - just that it can't hurt to do so - the filename character issue is the main reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco is secure via all APIs and interfaces - there is nothing "open" - they all require authentication to allow you to browse anything beyond the "Guest" folder - and even that can be disabled via config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The "we don't worry about screwy filenames" is a very good argument though.&amp;nbsp; Portability is *definitely* enhanced through this.&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The mapping is via the {&lt;A href="http://www.alfresco.org/model/content/1.0}content" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}content&lt;/A&gt; property in the node_properties table, the contentUrl is part of the value stored in the string_value column.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I can't seem to find the mapping.&amp;nbsp; I can use &lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;SELECT guid FROM node_properties WHERE qname = '{&lt;A href="http://www.alfresco.org/model/content/1.0}name" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}name&lt;/A&gt;' AND string_value = 'MX Control.doc';&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;and get back a guid of '74ecdfb5-f7d0-11da-baf4-8975711acf00', but I can't find that anywhere in the filesystem:&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# find /opt/alfresco/alf_data/contentstore/2006 -iname '74ecdfb5-f7d0-11da-baf4-8975711acf00*'&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;Now if I muck about with the filename a little I do find something:&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# find /opt/alfresco/alf_data/contentstore/2006 -iname '*-f7d0-11da-baf4-8975711acf00*'&lt;BR /&gt;/opt/alfresco/alf_data/contentstore/2006/6/9/11/74f34857-f7d0-11da-baf4-8975711acf00.bin&lt;BR /&gt;# file /opt/alfresco/alf_data/contentstore/2006/6/9/11/74f34857-f7d0-11da-baf4-8975711acf00.bin&lt;BR /&gt;/opt/alfresco/alf_data/contentstore/2006/6/9/11/74f34857-f7d0-11da-baf4-8975711acf00.bin: Microsoft Office Document&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;But that isn't very scientific.&amp;nbsp; How does one use the database to precisely locate the path and physical filename of content stored within Alfresco?&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Obviously you should only ever use the Alfresco APIs to change these values. All of the services in the Alfresco repository are pluggable, so the way that files are stored could be changes without affecting the rest of the system.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Absolutely, but for read-only access there should be a way to do this.&amp;nbsp; I haven't benchmarked Alfresco's CIFS/webDAV/FTP access yet but my initial impression is that its performance is a little lacking, especially compared to "raw" FTP/Samba performance on the same physical hardware.&amp;nbsp; It's understandable given that it's a content management system rather than a simple file server but before I decide to throw thousands of documents totaling gigabytes of data into it, I want to have a very clear and low-level understanding of where my data is and how to get at it in the event of a problem.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;That's fine and you are probably right, going to the database directly is always going to be faster than any framework that adds value ontop of it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry I did not give you all the info you need to write a query. If you have the GUID of a content node (from the NodeRef in Alfresco) then you can extract the string_value column from the content property of that node by joining the node table to the node_properties table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;select string_value from node_properties p join node n on n.id = p.node_id where p.qname='{&lt;A href="http://www.alfresco.org/model/content/1.0}name" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}name&lt;/A&gt;' and n.uuid = 'XXXX';&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;BR /&gt;&lt;SPAN&gt;That returns the content URL field - which contains all the info you need on the content file and looks something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;contentUrl=store://2006/5/22/17/16c6cf0a-e9ae-11da-ac1c-8900bf14b17f.bin|mimetype=text/plain|size=609|encoding=UTF-8&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It includes the folder path (relative to the usual "./alf_data/contentstore" directory) and the mimetype and size of the content compacted into a single string value. That should give you enough to find the content on the disk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 14:15:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11797#M4716</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-06-12T14:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: does alfresco store documents as files or in db? any limits?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11798#M4717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just a minor correction:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}content" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}content&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;instead of &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}name" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}name&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or better yet use this query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select * from node_properties where node_id in (select id from node where uuid = 'XXXXX');&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 04:11:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/does-alfresco-store-documents-as-files-or-in-db-any-limits/m-p/11798#M4717</guid>
      <dc:creator>hm</dc:creator>
      <dc:date>2006-09-08T04:11:01Z</dc:date>
    </item>
  </channel>
</rss>

