OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – How do I? Questions how to enable email attachment save to file not in database?

This topic contains 8 replies, has 5 voices, and was last updated by  roberto.briones 4 years, 9 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #36407

    doncaz
    Participant

    I see that the is relation between oro_email_attachment and oro_attachment_file, but there is null always. and now my oro_email_attachment_content table is 7GB size from 15 managers, can I enable attachment saving to FTP locally not to database?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • #36408

    Mike Kudelya
    Participant

    This can’t be done at the moment, but you can write customization, which will save attachments to hdd.

    #36409

    Artem Liubeznyi
    Spectator

    Hi,

    We are getting similar requests from our partners too, so this feature will probably get some priority in our next release. No definite plans made yet though. I will post here again when I will know more.

    It would be really great if you were willing to contribute this to OroPlatform though. I think the entire community will be grateful.

    #36410

    jneto
    Participant

    Any news about this ?

    #36411

    jneto
    Participant

    It would be really great if you were willing to contribute this to OroPlatform though. I think the entire community will be grateful.

    Can you point me to the right direction ?

    #36412

    jneto
    Participant

    hello, any news about this ?

    After a few months, i have a 30 GB table oro_attachment_file and i need to separate the attachments from the database.

    Can you point me to the right direction ?

    #36413

    jneto
    Participant

    hello, any news about this ?

    Can you point me to the right direction ? I don’t see a upgrade safe way of doing this.

    #36414

    Artem Liubeznyi
    Spectator

    I will check with our developers if they can come up with advice.

    #39766

    roberto.briones
    Participant

    I don’t understand why you use the Database to store files, also taking in account that you have a feature for normal attachments that allows to store the files in other service like AWS with knp_gaufrette.

    In my particular case the table oro_email_attachment_content is 297 GB size. So I can’t even run the migration that deletes the foreign key and re add it with “ON DELETE CASCADE” because the table is huge.

    There isn’t yet another way to store the files with the latest updates?

Viewing 8 replies - 1 through 8 (of 8 total)

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top