This content has been marked as final.
Show 1 reply
-
1. Re: Binary persistence, DB or Cache?
hchiorean Apr 12, 2013 3:15 AM (in response to bwallis42)The DB binary storage executes a PreparedStatement each time binary content is requested. Moreover, if full text search is enabled and there are text extractors configured (e.g. Tika), an additional query is executed in order to retrieve extracted text whenever indexes are created/updated around nodes which contain binary properties.
Personally, I think the caching solution is a superior one, because you could (if you wanted to) configure an ISPN cache with a JDBC loader & write-behind, so that you get in "one shot" both storage in a database and a caching layer.