SlideShare una empresa de Scribd logo
1 de 19
Descargar para leer sin conexión
EAV data model
Presenter: Sandeep Kumar Rout, Mindfire Solutions
Date: 20/03/2014
1/2/12
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
About Me
M70 101 – Magento Certified Developer
Skills: PHP, Magento, SugarCRM,
CakePHP, oSCommerce, CodeIgniter
Connect Me: -
Twitter : https://twitter.com/saaandh090
Facebook : https://www.facebook.com/sandeep.rout.359
LinkedIn : http://www.linkedin.com/pub/sandeep-rout/39
Google+ : https://plus.google.com/112206647165680165211/
Contact Me:
Email: sandeepr@mindfiresolutions.com
Skype: mfsi_sandeepr
1/2/12
Agenda

Introduction

History

EAV hierarchy structure

Data Retrieve

EAV when to use?

Attribute Set

Pros

Cons Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12
EAV
Entity Attribute Value (EAV) is vertical data
modeling instead of horizontal data modeling
which we regularly use.
In mathematics, this model is known as a
sparse matrix.
EAV is also known as object–attribute–value
model, vertical database model and open
schema.
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12
EAV History
As a storage method EAV was used in early
object-oriented languages like SIMULA 67.
Functional languages such as LISP have also
use EAV data structure. They contain storage
structures that record object information in
attribute-value pairs – a principle
fundamental to EAV.
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12
EAV hierarchy structure
EAV hierarchy structure includes these
components:
- Entity : A component with a definitive
existence. Objects are entities. For e.g.
Products, User etc
- Attribute : The fields to which the entities
are related. This are similar to column names
in horizontal data models. Object properties
are attributes
i.e. :- Color, Name, Price etc
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12
- Value : The value to which entity and
attribute maps to. They are similar to row
value from horizontal database.
Example :- John, $22, blue etc
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12
Data Retrieve
Case :-
To get phone no of employee whose id is 1
Basic model :
SELECT phone_no FROM employee WHERE
employee_id = 1;
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
Eav model :
SELECT value FROM employee_int as ei
JOIN employee as e
ON e.employee_id = ei.employee_id
JOIN employee_attribute as ea
ON ea.attribute_id = ei.attribute_id
WHERE e.employee_id = 1 AND
ea.attribute_name = 'phone_no'
1/2/12
EAV when to use?
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
Consider a case where there is need to add
new columns or remove new columns on a
regular basis. If using a simple single table it
needs frequent alteration of tables also causes
complexities
With EAV this can be done by simple addition
of a new row in attributes table.
So, generally eav is used in such cases.
1/2/12
Attribute Set
Set of attributes combined to make the entity grouped with
their respective attributes only.
Example :- An online store having books and shirts.
Attributes used by book are different from attributes
used by shirt. So, they can be categorized into attributes
set.
Attribute set Shirt : size, color, price,material, manufacturer
etc
Attribute set Book : pages, author, type of binding,etc
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12
Pros

Flexible mechanism for attributes to work
with any sort of entities

Scalability – Can change the required data
without changing the structure of database
tables

Independent of hierarchy of data. Less time
to implement Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12
Cons

Performance

EAV don't store value as datatype specific.
Similar type of data are all grouped in one.
As int is generally used to store tinyint,int
etc.

No grouping of entities
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12
Indexing
This process is used to somehow compensate
the poor performance of EAV structure. It is
not similar to database indexing

This process is time consuming

In this process data from EAV structured
tables are retrieved and store in flat tables

Initially done after all entity types are
generated
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
1/2/12

Need to perform this process regularly

Need to be performed on addition, updation
and deletion of data

Makes the data retrieval easier and faster

It completely eliminates old table and
generates new table when re-indexing is
performed.
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
Question and Answer
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
Thank you
Presenter: Sandeep Kumar Rout, Mindfire
Solutions
Date: 20/03/2014
www.mindfiresolutions.com
https://www.facebook.com/MindfireSolutions
http://www.linkedin.com/company/mindfire-solutions
http://twitter.com/mindfires

Más contenido relacionado

La actualidad más candente

Elasticsearch V/s Relational Database
Elasticsearch V/s Relational DatabaseElasticsearch V/s Relational Database
Elasticsearch V/s Relational DatabaseRicha Budhraja
 
Intrusion detection system
Intrusion detection systemIntrusion detection system
Intrusion detection systemSweta Sharma
 
Intro to Amazon S3
Intro to Amazon S3Intro to Amazon S3
Intro to Amazon S3Yu Lun Teo
 
Intrusion detection system
Intrusion detection systemIntrusion detection system
Intrusion detection systemRoshan Ranabhat
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databasesJames Serra
 
Hadoop Tutorial For Beginners | Apache Hadoop Tutorial For Beginners | Hadoop...
Hadoop Tutorial For Beginners | Apache Hadoop Tutorial For Beginners | Hadoop...Hadoop Tutorial For Beginners | Apache Hadoop Tutorial For Beginners | Hadoop...
Hadoop Tutorial For Beginners | Apache Hadoop Tutorial For Beginners | Hadoop...Simplilearn
 
Design of Hadoop Distributed File System
Design of Hadoop Distributed File SystemDesign of Hadoop Distributed File System
Design of Hadoop Distributed File SystemDr. C.V. Suresh Babu
 
Introduction to Hadoop and Hadoop component
Introduction to Hadoop and Hadoop component Introduction to Hadoop and Hadoop component
Introduction to Hadoop and Hadoop component rebeccatho
 
Apache Hadoop In Theory And Practice
Apache Hadoop In Theory And PracticeApache Hadoop In Theory And Practice
Apache Hadoop In Theory And PracticeAdam Kawa
 
SQL/NoSQL How to choose ?
SQL/NoSQL How to choose ?SQL/NoSQL How to choose ?
SQL/NoSQL How to choose ?Venu Anuganti
 
Big Data and Hadoop
Big Data and HadoopBig Data and Hadoop
Big Data and HadoopFlavio Vit
 
Big Data & Hadoop Tutorial
Big Data & Hadoop TutorialBig Data & Hadoop Tutorial
Big Data & Hadoop TutorialEdureka!
 
Logging with Elasticsearch, Logstash & Kibana
Logging with Elasticsearch, Logstash & KibanaLogging with Elasticsearch, Logstash & Kibana
Logging with Elasticsearch, Logstash & KibanaAmazee Labs
 
Intrusion prevention system(ips)
Intrusion prevention system(ips)Intrusion prevention system(ips)
Intrusion prevention system(ips)Papun Papun
 
Mapreduce by examples
Mapreduce by examplesMapreduce by examples
Mapreduce by examplesAndrea Iacono
 

La actualidad más candente (20)

Elasticsearch V/s Relational Database
Elasticsearch V/s Relational DatabaseElasticsearch V/s Relational Database
Elasticsearch V/s Relational Database
 
Intrusion detection system
Intrusion detection systemIntrusion detection system
Intrusion detection system
 
Intro to Amazon S3
Intro to Amazon S3Intro to Amazon S3
Intro to Amazon S3
 
Intrusion detection system
Intrusion detection systemIntrusion detection system
Intrusion detection system
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databases
 
Hadoop Tutorial For Beginners | Apache Hadoop Tutorial For Beginners | Hadoop...
Hadoop Tutorial For Beginners | Apache Hadoop Tutorial For Beginners | Hadoop...Hadoop Tutorial For Beginners | Apache Hadoop Tutorial For Beginners | Hadoop...
Hadoop Tutorial For Beginners | Apache Hadoop Tutorial For Beginners | Hadoop...
 
Apache hive
Apache hiveApache hive
Apache hive
 
Design of Hadoop Distributed File System
Design of Hadoop Distributed File SystemDesign of Hadoop Distributed File System
Design of Hadoop Distributed File System
 
Introduction to Hadoop and Hadoop component
Introduction to Hadoop and Hadoop component Introduction to Hadoop and Hadoop component
Introduction to Hadoop and Hadoop component
 
Apache Hadoop In Theory And Practice
Apache Hadoop In Theory And PracticeApache Hadoop In Theory And Practice
Apache Hadoop In Theory And Practice
 
SQL/NoSQL How to choose ?
SQL/NoSQL How to choose ?SQL/NoSQL How to choose ?
SQL/NoSQL How to choose ?
 
Big Data and Hadoop
Big Data and HadoopBig Data and Hadoop
Big Data and Hadoop
 
Big Data & Hadoop Tutorial
Big Data & Hadoop TutorialBig Data & Hadoop Tutorial
Big Data & Hadoop Tutorial
 
Logging with Elasticsearch, Logstash & Kibana
Logging with Elasticsearch, Logstash & KibanaLogging with Elasticsearch, Logstash & Kibana
Logging with Elasticsearch, Logstash & Kibana
 
Intrusion prevention system(ips)
Intrusion prevention system(ips)Intrusion prevention system(ips)
Intrusion prevention system(ips)
 
Web content mining
Web content miningWeb content mining
Web content mining
 
Mapreduce by examples
Mapreduce by examplesMapreduce by examples
Mapreduce by examples
 
Hadoop HDFS Concepts
Hadoop HDFS ConceptsHadoop HDFS Concepts
Hadoop HDFS Concepts
 
Vector space model in information retrieval
Vector space model in information retrievalVector space model in information retrieval
Vector space model in information retrieval
 
Web Content Mining
Web Content MiningWeb Content Mining
Web Content Mining
 

Destacado

Was ist eigentlich EAV?
Was ist eigentlich EAV?Was ist eigentlich EAV?
Was ist eigentlich EAV?danielnitz
 
Entity Attribute Value (Eav)
Entity   Attribute   Value (Eav)Entity   Attribute   Value (Eav)
Entity Attribute Value (Eav)Tâm
 
Dare to build vertical design with relational data (Entity-Attribute-Value)
Dare to build vertical design with relational data (Entity-Attribute-Value)Dare to build vertical design with relational data (Entity-Attribute-Value)
Dare to build vertical design with relational data (Entity-Attribute-Value)Ivo Andreev
 
Implementation of EAV pattern for ActiveRecord models
Implementation of EAV pattern for ActiveRecord modelsImplementation of EAV pattern for ActiveRecord models
Implementation of EAV pattern for ActiveRecord modelsKostyantyn Stepanyuk
 
Best Practices: Datawarehouse Automation Conference September 20, 2012 - Amst...
Best Practices: Datawarehouse Automation Conference September 20, 2012 - Amst...Best Practices: Datawarehouse Automation Conference September 20, 2012 - Amst...
Best Practices: Datawarehouse Automation Conference September 20, 2012 - Amst...Erik Fransen
 
Understanding Linked Data via EAV Model based Structured Descriptions
Understanding Linked Data via EAV Model based Structured DescriptionsUnderstanding Linked Data via EAV Model based Structured Descriptions
Understanding Linked Data via EAV Model based Structured DescriptionsKingsley Uyi Idehen
 
Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...
Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...
Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...Roland Bouman
 
Data warehouse architecture
Data warehouse architectureData warehouse architecture
Data warehouse architecturepcherukumalla
 
Data Warehouse Design and Best Practices
Data Warehouse Design and Best PracticesData Warehouse Design and Best Practices
Data Warehouse Design and Best PracticesIvo Andreev
 
Building an Effective Data Warehouse Architecture
Building an Effective Data Warehouse ArchitectureBuilding an Effective Data Warehouse Architecture
Building an Effective Data Warehouse ArchitectureJames Serra
 

Destacado (17)

Was ist eigentlich EAV?
Was ist eigentlich EAV?Was ist eigentlich EAV?
Was ist eigentlich EAV?
 
Extensible Data Modeling
Extensible Data ModelingExtensible Data Modeling
Extensible Data Modeling
 
Entity Attribute Value (Eav)
Entity   Attribute   Value (Eav)Entity   Attribute   Value (Eav)
Entity Attribute Value (Eav)
 
Dare to build vertical design with relational data (Entity-Attribute-Value)
Dare to build vertical design with relational data (Entity-Attribute-Value)Dare to build vertical design with relational data (Entity-Attribute-Value)
Dare to build vertical design with relational data (Entity-Attribute-Value)
 
SQL Outer Joins for Fun and Profit
SQL Outer Joins for Fun and ProfitSQL Outer Joins for Fun and Profit
SQL Outer Joins for Fun and Profit
 
Implementation of EAV pattern for ActiveRecord models
Implementation of EAV pattern for ActiveRecord modelsImplementation of EAV pattern for ActiveRecord models
Implementation of EAV pattern for ActiveRecord models
 
Practical Object Oriented Models In Sql
Practical Object Oriented Models In SqlPractical Object Oriented Models In Sql
Practical Object Oriented Models In Sql
 
Best Practices: Datawarehouse Automation Conference September 20, 2012 - Amst...
Best Practices: Datawarehouse Automation Conference September 20, 2012 - Amst...Best Practices: Datawarehouse Automation Conference September 20, 2012 - Amst...
Best Practices: Datawarehouse Automation Conference September 20, 2012 - Amst...
 
Understanding Linked Data via EAV Model based Structured Descriptions
Understanding Linked Data via EAV Model based Structured DescriptionsUnderstanding Linked Data via EAV Model based Structured Descriptions
Understanding Linked Data via EAV Model based Structured Descriptions
 
Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...
Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...
Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...
 
МиСПИСиТ (литература по курсу)
МиСПИСиТ (литература по курсу)МиСПИСиТ (литература по курсу)
МиСПИСиТ (литература по курсу)
 
Sql query patterns, optimized
Sql query patterns, optimizedSql query patterns, optimized
Sql query patterns, optimized
 
лекция 6
лекция 6лекция 6
лекция 6
 
Modern Data Architecture
Modern Data ArchitectureModern Data Architecture
Modern Data Architecture
 
Data warehouse architecture
Data warehouse architectureData warehouse architecture
Data warehouse architecture
 
Data Warehouse Design and Best Practices
Data Warehouse Design and Best PracticesData Warehouse Design and Best Practices
Data Warehouse Design and Best Practices
 
Building an Effective Data Warehouse Architecture
Building an Effective Data Warehouse ArchitectureBuilding an Effective Data Warehouse Architecture
Building an Effective Data Warehouse Architecture
 

Similar a Eav Data Model Concepts

Predictive Analytics & Business Insights
Predictive Analytics & Business InsightsPredictive Analytics & Business Insights
Predictive Analytics & Business InsightsJune Andrews
 
Software development with scrum methodology bhawani nandan prasad
Software development with scrum methodology   bhawani nandan prasadSoftware development with scrum methodology   bhawani nandan prasad
Software development with scrum methodology bhawani nandan prasadBhawani N Prasad
 
Big Data Analytics
Big Data AnalyticsBig Data Analytics
Big Data AnalyticsOsman Ali
 
Naveen_MSBI_Senior_Developer
Naveen_MSBI_Senior_DeveloperNaveen_MSBI_Senior_Developer
Naveen_MSBI_Senior_DeveloperNaveen Meti
 
Naveen_MSBI_Senior_Developer
Naveen_MSBI_Senior_DeveloperNaveen_MSBI_Senior_Developer
Naveen_MSBI_Senior_DeveloperNaveen Meti
 
Review on Sentiment Analysis on Customer Reviews
Review on Sentiment Analysis on Customer ReviewsReview on Sentiment Analysis on Customer Reviews
Review on Sentiment Analysis on Customer ReviewsIRJET Journal
 
Best practices for getting started and driving adoption with tableau
Best practices for getting started and driving adoption with tableauBest practices for getting started and driving adoption with tableau
Best practices for getting started and driving adoption with tableauAlan Morte
 
Mdm introduction
Mdm introductionMdm introduction
Mdm introductionNagesh Slj
 
Security Issues Of Hadoop Services
Security Issues Of Hadoop ServicesSecurity Issues Of Hadoop Services
Security Issues Of Hadoop ServicesMarcy Gilman
 
Effective Instrumentation Strategies for Data-driven Product Management
 Effective Instrumentation Strategies for Data-driven Product Management  Effective Instrumentation Strategies for Data-driven Product Management
Effective Instrumentation Strategies for Data-driven Product Management Pawan Kumar Adda
 
Amod_MCA_M.tech_EXPERT IN CA Security tool _total 9Years+_Exp (2)
Amod_MCA_M.tech_EXPERT IN CA Security tool _total   9Years+_Exp (2)Amod_MCA_M.tech_EXPERT IN CA Security tool _total   9Years+_Exp (2)
Amod_MCA_M.tech_EXPERT IN CA Security tool _total 9Years+_Exp (2)Amod Upadhyay
 
System Analysis & Design Report on Summer Training System
System Analysis & Design Report on Summer Training SystemSystem Analysis & Design Report on Summer Training System
System Analysis & Design Report on Summer Training Systemthededar
 
Evidence driven development - a lean methodology to product development
Evidence driven development - a lean methodology to product developmentEvidence driven development - a lean methodology to product development
Evidence driven development - a lean methodology to product developmentJoshuah Vincent
 
Online Learning Management System and Analytics using Deep Learning
Online Learning Management System and Analytics using Deep LearningOnline Learning Management System and Analytics using Deep Learning
Online Learning Management System and Analytics using Deep LearningDr. Amarjeet Singh
 

Similar a Eav Data Model Concepts (20)

Amarpal
AmarpalAmarpal
Amarpal
 
Karthilkeyan-Updated Resume
Karthilkeyan-Updated ResumeKarthilkeyan-Updated Resume
Karthilkeyan-Updated Resume
 
Nitesh resume
Nitesh resumeNitesh resume
Nitesh resume
 
Predictive Analytics & Business Insights
Predictive Analytics & Business InsightsPredictive Analytics & Business Insights
Predictive Analytics & Business Insights
 
Software development with scrum methodology bhawani nandan prasad
Software development with scrum methodology   bhawani nandan prasadSoftware development with scrum methodology   bhawani nandan prasad
Software development with scrum methodology bhawani nandan prasad
 
Big Data Analytics
Big Data AnalyticsBig Data Analytics
Big Data Analytics
 
Naveen_MSBI_Senior_Developer
Naveen_MSBI_Senior_DeveloperNaveen_MSBI_Senior_Developer
Naveen_MSBI_Senior_Developer
 
Naveen_MSBI_Senior_Developer
Naveen_MSBI_Senior_DeveloperNaveen_MSBI_Senior_Developer
Naveen_MSBI_Senior_Developer
 
Review on Sentiment Analysis on Customer Reviews
Review on Sentiment Analysis on Customer ReviewsReview on Sentiment Analysis on Customer Reviews
Review on Sentiment Analysis on Customer Reviews
 
Best practices for getting started and driving adoption with tableau
Best practices for getting started and driving adoption with tableauBest practices for getting started and driving adoption with tableau
Best practices for getting started and driving adoption with tableau
 
Mdm introduction
Mdm introductionMdm introduction
Mdm introduction
 
Vatsal b shah
Vatsal b shahVatsal b shah
Vatsal b shah
 
Mahavir Jain
Mahavir JainMahavir Jain
Mahavir Jain
 
Security Issues Of Hadoop Services
Security Issues Of Hadoop ServicesSecurity Issues Of Hadoop Services
Security Issues Of Hadoop Services
 
Effective Instrumentation Strategies for Data-driven Product Management
 Effective Instrumentation Strategies for Data-driven Product Management  Effective Instrumentation Strategies for Data-driven Product Management
Effective Instrumentation Strategies for Data-driven Product Management
 
Amod_MCA_M.tech_EXPERT IN CA Security tool _total 9Years+_Exp (2)
Amod_MCA_M.tech_EXPERT IN CA Security tool _total   9Years+_Exp (2)Amod_MCA_M.tech_EXPERT IN CA Security tool _total   9Years+_Exp (2)
Amod_MCA_M.tech_EXPERT IN CA Security tool _total 9Years+_Exp (2)
 
System Analysis & Design Report on Summer Training System
System Analysis & Design Report on Summer Training SystemSystem Analysis & Design Report on Summer Training System
System Analysis & Design Report on Summer Training System
 
Resume
ResumeResume
Resume
 
Evidence driven development - a lean methodology to product development
Evidence driven development - a lean methodology to product developmentEvidence driven development - a lean methodology to product development
Evidence driven development - a lean methodology to product development
 
Online Learning Management System and Analytics using Deep Learning
Online Learning Management System and Analytics using Deep LearningOnline Learning Management System and Analytics using Deep Learning
Online Learning Management System and Analytics using Deep Learning
 

Más de Mindfire Solutions (20)

Physician Search and Review
Physician Search and ReviewPhysician Search and Review
Physician Search and Review
 
diet management app
diet management appdiet management app
diet management app
 
Business Technology Solution
Business Technology SolutionBusiness Technology Solution
Business Technology Solution
 
Remote Health Monitoring
Remote Health MonitoringRemote Health Monitoring
Remote Health Monitoring
 
Influencer Marketing Solution
Influencer Marketing SolutionInfluencer Marketing Solution
Influencer Marketing Solution
 
ELMAH
ELMAHELMAH
ELMAH
 
High Availability of Azure Applications
High Availability of Azure ApplicationsHigh Availability of Azure Applications
High Availability of Azure Applications
 
IOT Hands On
IOT Hands OnIOT Hands On
IOT Hands On
 
Glimpse of Loops Vs Set
Glimpse of Loops Vs SetGlimpse of Loops Vs Set
Glimpse of Loops Vs Set
 
Oracle Sql Developer-Getting Started
Oracle Sql Developer-Getting StartedOracle Sql Developer-Getting Started
Oracle Sql Developer-Getting Started
 
Adaptive Layout In iOS 8
Adaptive Layout In iOS 8Adaptive Layout In iOS 8
Adaptive Layout In iOS 8
 
Introduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/MacIntroduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/Mac
 
LINQPad - utility Tool
LINQPad - utility ToolLINQPad - utility Tool
LINQPad - utility Tool
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit development
 
Swift vs Objective-C
Swift vs Objective-CSwift vs Objective-C
Swift vs Objective-C
 
Material Design in Android
Material Design in AndroidMaterial Design in Android
Material Design in Android
 
Introduction to OData
Introduction to ODataIntroduction to OData
Introduction to OData
 
Ext js Part 2- MVC
Ext js Part 2- MVCExt js Part 2- MVC
Ext js Part 2- MVC
 
ExtJs Basic Part-1
ExtJs Basic Part-1ExtJs Basic Part-1
ExtJs Basic Part-1
 
Spring Security Introduction
Spring Security IntroductionSpring Security Introduction
Spring Security Introduction
 

Último

Deep Learning for Images with PyTorch - Datacamp
Deep Learning for Images with PyTorch - DatacampDeep Learning for Images with PyTorch - Datacamp
Deep Learning for Images with PyTorch - DatacampVICTOR MAESTRE RAMIREZ
 
online pdf editor software solutions.pdf
online pdf editor software solutions.pdfonline pdf editor software solutions.pdf
online pdf editor software solutions.pdfMeon Technology
 
Your Vision, Our Expertise: TECUNIQUE's Tailored Software Teams
Your Vision, Our Expertise: TECUNIQUE's Tailored Software TeamsYour Vision, Our Expertise: TECUNIQUE's Tailored Software Teams
Your Vision, Our Expertise: TECUNIQUE's Tailored Software TeamsJaydeep Chhasatia
 
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdfARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdfTobias Schneck
 
Streamlining Your Application Builds with Cloud Native Buildpacks
Streamlining Your Application Builds  with Cloud Native BuildpacksStreamlining Your Application Builds  with Cloud Native Buildpacks
Streamlining Your Application Builds with Cloud Native BuildpacksVish Abrams
 
Top Software Development Trends in 2024
Top Software Development Trends in  2024Top Software Development Trends in  2024
Top Software Development Trends in 2024Mind IT Systems
 
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/MLBig Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/MLAlluxio, Inc.
 
OpenChain Webinar: Universal CVSS Calculator
OpenChain Webinar: Universal CVSS CalculatorOpenChain Webinar: Universal CVSS Calculator
OpenChain Webinar: Universal CVSS CalculatorShane Coughlan
 
eAuditor Audits & Inspections - conduct field inspections
eAuditor Audits & Inspections - conduct field inspectionseAuditor Audits & Inspections - conduct field inspections
eAuditor Audits & Inspections - conduct field inspectionsNirav Modi
 
Generative AI for Cybersecurity - EC-Council
Generative AI for Cybersecurity - EC-CouncilGenerative AI for Cybersecurity - EC-Council
Generative AI for Cybersecurity - EC-CouncilVICTOR MAESTRE RAMIREZ
 
Transforming PMO Success with AI - Discover OnePlan Strategic Portfolio Work ...
Transforming PMO Success with AI - Discover OnePlan Strategic Portfolio Work ...Transforming PMO Success with AI - Discover OnePlan Strategic Portfolio Work ...
Transforming PMO Success with AI - Discover OnePlan Strategic Portfolio Work ...OnePlan Solutions
 
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine HarmonyLeveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmonyelliciumsolutionspun
 
Why Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdfWhy Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdfBrain Inventory
 
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.Sharon Liu
 
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...Jaydeep Chhasatia
 
Webinar_050417_LeClair12345666777889.ppt
Webinar_050417_LeClair12345666777889.pptWebinar_050417_LeClair12345666777889.ppt
Webinar_050417_LeClair12345666777889.pptkinjal48
 
Fields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptxFields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptxJoão Esperancinha
 
Watermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security ChallengesWatermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security ChallengesShyamsundar Das
 
Growing Oxen: channel operators and retries
Growing Oxen: channel operators and retriesGrowing Oxen: channel operators and retries
Growing Oxen: channel operators and retriesSoftwareMill
 

Último (20)

Deep Learning for Images with PyTorch - Datacamp
Deep Learning for Images with PyTorch - DatacampDeep Learning for Images with PyTorch - Datacamp
Deep Learning for Images with PyTorch - Datacamp
 
online pdf editor software solutions.pdf
online pdf editor software solutions.pdfonline pdf editor software solutions.pdf
online pdf editor software solutions.pdf
 
Your Vision, Our Expertise: TECUNIQUE's Tailored Software Teams
Your Vision, Our Expertise: TECUNIQUE's Tailored Software TeamsYour Vision, Our Expertise: TECUNIQUE's Tailored Software Teams
Your Vision, Our Expertise: TECUNIQUE's Tailored Software Teams
 
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdfARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
 
Streamlining Your Application Builds with Cloud Native Buildpacks
Streamlining Your Application Builds  with Cloud Native BuildpacksStreamlining Your Application Builds  with Cloud Native Buildpacks
Streamlining Your Application Builds with Cloud Native Buildpacks
 
Top Software Development Trends in 2024
Top Software Development Trends in  2024Top Software Development Trends in  2024
Top Software Development Trends in 2024
 
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/MLBig Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
 
OpenChain Webinar: Universal CVSS Calculator
OpenChain Webinar: Universal CVSS CalculatorOpenChain Webinar: Universal CVSS Calculator
OpenChain Webinar: Universal CVSS Calculator
 
Salesforce AI Associate Certification.pptx
Salesforce AI Associate Certification.pptxSalesforce AI Associate Certification.pptx
Salesforce AI Associate Certification.pptx
 
eAuditor Audits & Inspections - conduct field inspections
eAuditor Audits & Inspections - conduct field inspectionseAuditor Audits & Inspections - conduct field inspections
eAuditor Audits & Inspections - conduct field inspections
 
Generative AI for Cybersecurity - EC-Council
Generative AI for Cybersecurity - EC-CouncilGenerative AI for Cybersecurity - EC-Council
Generative AI for Cybersecurity - EC-Council
 
Transforming PMO Success with AI - Discover OnePlan Strategic Portfolio Work ...
Transforming PMO Success with AI - Discover OnePlan Strategic Portfolio Work ...Transforming PMO Success with AI - Discover OnePlan Strategic Portfolio Work ...
Transforming PMO Success with AI - Discover OnePlan Strategic Portfolio Work ...
 
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine HarmonyLeveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
 
Why Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdfWhy Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdf
 
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
 
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
 
Webinar_050417_LeClair12345666777889.ppt
Webinar_050417_LeClair12345666777889.pptWebinar_050417_LeClair12345666777889.ppt
Webinar_050417_LeClair12345666777889.ppt
 
Fields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptxFields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptx
 
Watermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security ChallengesWatermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security Challenges
 
Growing Oxen: channel operators and retries
Growing Oxen: channel operators and retriesGrowing Oxen: channel operators and retries
Growing Oxen: channel operators and retries
 

Eav Data Model Concepts

  • 1. EAV data model Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 2. 1/2/12 Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014 About Me M70 101 – Magento Certified Developer Skills: PHP, Magento, SugarCRM, CakePHP, oSCommerce, CodeIgniter Connect Me: - Twitter : https://twitter.com/saaandh090 Facebook : https://www.facebook.com/sandeep.rout.359 LinkedIn : http://www.linkedin.com/pub/sandeep-rout/39 Google+ : https://plus.google.com/112206647165680165211/ Contact Me: Email: sandeepr@mindfiresolutions.com Skype: mfsi_sandeepr
  • 3. 1/2/12 Agenda  Introduction  History  EAV hierarchy structure  Data Retrieve  EAV when to use?  Attribute Set  Pros  Cons Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 4. 1/2/12 EAV Entity Attribute Value (EAV) is vertical data modeling instead of horizontal data modeling which we regularly use. In mathematics, this model is known as a sparse matrix. EAV is also known as object–attribute–value model, vertical database model and open schema. Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 5. 1/2/12 EAV History As a storage method EAV was used in early object-oriented languages like SIMULA 67. Functional languages such as LISP have also use EAV data structure. They contain storage structures that record object information in attribute-value pairs – a principle fundamental to EAV. Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 6. 1/2/12 EAV hierarchy structure EAV hierarchy structure includes these components: - Entity : A component with a definitive existence. Objects are entities. For e.g. Products, User etc - Attribute : The fields to which the entities are related. This are similar to column names in horizontal data models. Object properties are attributes i.e. :- Color, Name, Price etc Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 7. 1/2/12 - Value : The value to which entity and attribute maps to. They are similar to row value from horizontal database. Example :- John, $22, blue etc Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 8. 1/2/12 Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 9. 1/2/12 Data Retrieve Case :- To get phone no of employee whose id is 1 Basic model : SELECT phone_no FROM employee WHERE employee_id = 1; Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 10. 1/2/12 Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014 Eav model : SELECT value FROM employee_int as ei JOIN employee as e ON e.employee_id = ei.employee_id JOIN employee_attribute as ea ON ea.attribute_id = ei.attribute_id WHERE e.employee_id = 1 AND ea.attribute_name = 'phone_no'
  • 11. 1/2/12 EAV when to use? Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014 Consider a case where there is need to add new columns or remove new columns on a regular basis. If using a simple single table it needs frequent alteration of tables also causes complexities With EAV this can be done by simple addition of a new row in attributes table. So, generally eav is used in such cases.
  • 12. 1/2/12 Attribute Set Set of attributes combined to make the entity grouped with their respective attributes only. Example :- An online store having books and shirts. Attributes used by book are different from attributes used by shirt. So, they can be categorized into attributes set. Attribute set Shirt : size, color, price,material, manufacturer etc Attribute set Book : pages, author, type of binding,etc Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 13. 1/2/12 Pros  Flexible mechanism for attributes to work with any sort of entities  Scalability – Can change the required data without changing the structure of database tables  Independent of hierarchy of data. Less time to implement Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 14. 1/2/12 Cons  Performance  EAV don't store value as datatype specific. Similar type of data are all grouped in one. As int is generally used to store tinyint,int etc.  No grouping of entities Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 15. 1/2/12 Indexing This process is used to somehow compensate the poor performance of EAV structure. It is not similar to database indexing  This process is time consuming  In this process data from EAV structured tables are retrieved and store in flat tables  Initially done after all entity types are generated Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 16. 1/2/12  Need to perform this process regularly  Need to be performed on addition, updation and deletion of data  Makes the data retrieval easier and faster  It completely eliminates old table and generates new table when re-indexing is performed. Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 17. Question and Answer Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014
  • 18. Thank you Presenter: Sandeep Kumar Rout, Mindfire Solutions Date: 20/03/2014