Odoo Help


where are pictures & attachments saved?

on 6/21/13, 9:51 PM 3,038 views

I am trying to understand a little better how big things will be getting, or where you'll need the most space on a linux (debian/ubuntu) system.

I guess the most storage hungry components might be pictures or other attachments to any product. I have no idea how a database works, so can anybody explain the principle? Are these kind of files actually inside one big database file or are they separated and only linked to entrie's in the database? As far as I know the database is in /var, correct? So, do I need to be /var on a partition with much space?

Dharmesh Rathod
On 6/22/13, 1:54 PM


Attachments are storing in field of datatype "bytea". Attachments are converting into "binary string" and that sting store into field.

If file size is big, length of string will be also big and it will take more size of disk. It may possible to increase size in case allocation size of disk will full.

Acespritech Solutions Pvt Ltd

eventhough i dont understand these answers really, it seems to me that this is part of the database. so i assume, the pictures you have, the bigger the database gets, right?

on 6/23/13, 9:19 PM
On 6/22/13, 5:04 PM

Attachments are stored at ir_attachment.

Images from products are stored at products_products.image_small or image_medium or image_large.

On 6/22/13, 5:53 AM


This article it can help you to understand principle of Knowledge Management Module in OpenERP.

not sure whether that has wnything to do with my question ... I have no question about the Knowledge Management Module.

on 6/22/13, 11:28 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/21/13, 9:51 PM
Seen: 3038 times
Last updated: 3/16/15, 8:10 AM