[xwiki-users] Small attachments in DB, big ones in files?
Hello, Is it possible to store attachments below a certain size inside a database, while storing bigger ones in files? I assume when using HSQL database it is usually preferred to store attachments in files? Greetings, Lilianne
Hello, XWiki offers the possibility to store your attachments in the database or directly in the file system. See more details in this link: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HAttachmentS... Regards, Mohamed On Fri, Feb 10, 2017 at 8:34 PM, Lilianne E. Blaze < [email protected]> wrote:
Hello, Is it possible to store attachments below a certain size inside a database, while storing bigger ones in files?
I assume when using HSQL database it is usually preferred to store attachments in files?
Greetings, Lilianne
Hello, Yes, I read the documentation, that wasn't what I was asking. So, is it impossible? I can't be the first person that could use something like that. Greetings, L On 2/10/2017 9:12 PM, Mohamed Boussaa wrote:
Hello,
XWiki offers the possibility to store your attachments in the database or directly in the file system.
See more details in this link: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HAttachmentS...
Regards, Mohamed
On Fri, Feb 10, 2017 at 8:34 PM, Lilianne E. Blaze < [email protected]> wrote:
Hello, Is it possible to store attachments below a certain size inside a database, while storing bigger ones in files?
I assume when using HSQL database it is usually preferred to store attachments in files?
Greetings, Lilianne
As a pure curiosity, why do you need to differanciate big and small attachements ? Is it for performance reasons ? Something else ? 2017-02-11 19:57 GMT+01:00 Lilianne E. Blaze <[email protected]>:
Hello, Yes, I read the documentation, that wasn't what I was asking. So, is it impossible? I can't be the first person that could use something like that.
Greetings, L
On 2/10/2017 9:12 PM, Mohamed Boussaa wrote:
Hello,
XWiki offers the possibility to store your attachments in the database or directly in the file system.
See more details in this link: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ Attachments#HAttachmentStorage
Regards, Mohamed
On Fri, Feb 10, 2017 at 8:34 PM, Lilianne E. Blaze < [email protected]> wrote:
Hello, Is it possible to store attachments below a certain size inside a database, while storing bigger ones in files?
I assume when using HSQL database it is usually preferred to store attachments in files?
Greetings, Lilianne
The way attachment store is working right now you can't have attachments in DB and others in Filesystem. The only way would be for you to code a mixed attachment store. This means implementing com.xpn.xwiki.store.XWikiAttachmentStoreInterface component and set it in xwiki.cfg. On Sat, Feb 11, 2017 at 7:57 PM, Lilianne E. Blaze <[email protected]> wrote:
Hello, Yes, I read the documentation, that wasn't what I was asking. So, is it impossible? I can't be the first person that could use something like that.
Greetings, L
On 2/10/2017 9:12 PM, Mohamed Boussaa wrote:
Hello,
XWiki offers the possibility to store your attachments in the database or directly in the file system.
See more details in this link: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HAttachmentS...
Regards, Mohamed
On Fri, Feb 10, 2017 at 8:34 PM, Lilianne E. Blaze < [email protected]> wrote:
Hello, Is it possible to store attachments below a certain size inside a database, while storing bigger ones in files?
I assume when using HSQL database it is usually preferred to store attachments in files?
Greetings, Lilianne
-- Thomas Mortagne
participants (4)
-
Denis GERMAIN -
Lilianne E. Blaze -
Mohamed Boussaa -
Thomas Mortagne