Magento Data
DB, ESQUEMAS Y ENTIDADES
Introducción
Lo básico
Ejemplos
Ejemplos
Muchas gracias !
Referencias:
Magento EAV System: http://www.solvingmagento.com/magento-eav-system/
Magento ORM EAV: http:...
Próxima SlideShare
Cargando en…5
×

Magento Introducción DB, esquema y modelos

491 visualizaciones

Publicado el

Pequeña introducción a los modelos, esquemas de la base de datos de Magento

Publicado en: Ingeniería
0 comentarios
0 recomendaciones
Estadísticas
Notas
  • Sé el primero en comentar

  • Sé el primero en recomendar esto

Sin descargas
Visualizaciones
Visualizaciones totales
491
En SlideShare
0
De insertados
0
Número de insertados
6
Acciones
Compartido
0
Descargas
0
Comentarios
0
Recomendaciones
0
Insertados 0
No insertados

No hay notas en la diapositiva.
  • The EAV system is one of the most complex part of Magento shop software.
    It is also the most controversial and often cited as a root of performance problems in shops that have to handle large and complex product databases.
    When developing Magento extensions these problems can be exacerbated by failure to properly use the EAV implemented in Magento, which often happens due to a great effort that is required to understand it.
    Some of its earliest applications were storage systems for clinical data back in 1970s.
    As a storage method EAV borrows from early object-oriented languages
    Functional languages such as LISP/SIMULA 67 are also known to have contributed to the development of EAV. They contain storage structures that record object information in attribute-value pairs – a principle fundamental to EAV.
    The most widely used way to store entities is implementing attributes as columns and entities as rows. This is sufficient for most tasks and has been efficiently implemented in relational databases. However, if you work with entities that have a large or variable, or large and variable, number of attributes, columnar representation becomes difficult. MySQL, for instance, has a hard limit of 4096 columns per table. Oracle has even less: 1000. Microsoft SQL Server offers up to 30,000 columns. But what if you must deal with entities that have many hundred thousands of possible attributes? And what if each entity has only a few attributes with values?
  • EAV generalizes row modelling by saving all entity attributes in one or several tables, which store data in attribute-value pairs. EAV becomes especially useful when the following conditions are present:
    1.Entity attributes vary significantly in terms of data type
    2.The number of possible entity types is huge, and entity types have individual sets of attributes; even if the number of attributes in every set is relatively small.
    3.Some attributes are common to all (or at least some) entity types, while other are individual and sparse.


  • Magento Introducción DB, esquema y modelos

    1. 1. Magento Data DB, ESQUEMAS Y ENTIDADES
    2. 2. Introducción
    3. 3. Lo básico
    4. 4. Ejemplos
    5. 5. Ejemplos
    6. 6. Muchas gracias ! Referencias: Magento EAV System: http://www.solvingmagento.com/magento-eav-system/ Magento ORM EAV: http://alanstorm.com/magento_advanced_orm_entity_attribute_value_part_1 Magento EAV Struture: http://fishpig.co.uk/magento/tutorials/eav-database-structure/ Magento CE DER: http://www.magereverse.com/

    ×