SlideShare a Scribd company logo
Presentation by: Archana Jha
(NI1302/075/15)
Submitted to: Rani Ojha
 Any E-commerce
website data is their
product.
 Flipkart is an E-
commerce website
started in 2007 by
Bansal brothers.
 Now became India’s
most visiting online
shopping site.
 A pool of multiple
database which handled
by DBA using Sql and
NoSql databases.
 Requirement Analysis for database designing
using DBA’s perspective.
 Testing of Designed Database.
 Database for the “Product Section of Flipkart
Website.
Components of Flipkart Database:-
1. Customer Management
2. Product Management
3. Order Processing and Management
4. Shipment Management
5. Warehouse Management
6. Seller Management
7. Payment Management
REQUIREMENT 1:-
Products Should be categorized in Categories
and Sub-Categories
Cont…..
DBA Perspective:-
Creation of separate lookup tables with one
to one relationship for categories and sub-
categories.
Table Schema for Category:-
CREATE TABLE [dbo].
[M_Product_Category]( [Id] [bigint] IDENTITY(1,1) NOT NULL,
[Product_Type] [nvarchar](50) NOT NULL, [Description]
[nvarchar](100) NULL,
[Updated_By] [nvarchar](50) NULL,
[IsActive] [bit] NULL,
[Last_Updated_Date] [datetime] NULL)
Table Schema for Sub-Category:-
CREATE TABLE [dbo].
[M_Product_SubCategory]( [Id] [bigint] IDENTITY(1,1) NOT NULL,
[FK_Product_Id] [bigint] NOT NULL,
[Product_Sub_Category] [nvarchar](100) NULL,
[Description] [nvarchar](200) NULL,
[Updated_By] [nvarchar](50) NULL,
[Last_Updated_Date] [datetime] NULL,
[IsActive] [bit] NULL)
REQUIREMENT 2:-
1. Product which is getting sold could be in
KG, UNIT or LITRES or in Pound, etc...
2. Product can be sold in any kind of currency
like be it in $, be it in EURO or INR, etc…
DBA Perspective:-
Expecting very less amount of data in this
table for future so will just create two
separate lookups.
Table Schema for Unit Related:-
CREATE TABLE [dbo].
[M_Price_Decision_Factor]( [Id] [bigint] IDENTITY(1,1) NOT
NULL,
[Price_Decision_Factor] [nvarchar](50) NULL, [Description]
[nvarchar](500) NULL,
[Updated_By] [nvarchar](50) NULL,
[Last_Updated] [datetime] NULL, [IsActive] [bit] NULL)
Table Schema for Currency Related:-
CREATE TABLE [dbo].
[M_Currency_Domiance]( [Id] [bigint] IDENTITY(1,1) NOT NULL,
[Currency_Type] [nvarchar](50) NULL,
[Description] [nvarchar](200) NULL,
[Updated_By] [nvarchar](50) NULL,
[Last_Updated] [datetime] NULL,
[IsActive] [bit] NULL)
REQUIREMENT 3:-
1.Every product information should come up
with its seller’s information.
2. Generalization at seller level in order to
distinguish between different kind of sellers.
3. Every product information may contain
maximum 5 images.
DBA Perspective:-
1. Lookup table for seller category
2. Lookup table for sub-category of seller.
3. Lookup tables for pictures.
Table Schema for Seller Category:-
CREATE TABLE [dbo].
[M_Seller_Category]( [Id] [bigint] IDENTITY(1,1) NOT NULL,
[Seller_Category] [nvarchar](100) NULL,
[Description] [nvarchar](500) NULL,
[Last_Updated] [datetime] NULL,
[Updated_By] [nvarchar](100) NULL,
[IsActive] [bit] NULL)
Table Schema for Sub-Seller Category:-
CREATE TABLE [dbo].
[M_Seller_SubCategory]( [Id] [bigint] IDENTITY(1,1) NOT NULL,
[FK_Seller_Id] [bigint] NULL,
[Seller_Sub_Category] [nvarchar](50) NULL,
[Description] [nvarchar](200) NULL,
[Updated_By] [nvarchar](50) NULL,
[Last_Updated] [datetime] NULL,
[IsActive] [bit] NULL)
Table Schema for Picture Category:-
CREATE TABLE [dbo].
[M_Product_Image_Details]( [Id] [bigint] IDENTITY(1,1) NOT
NULL,
[FK_Product_Id] [bigint] NOT NULL,
[Product_Image_1] [nvarchar](300) NULL,
[Product_Image_2] [nvarchar](300) NULL,
[Product_Image_3] [nvarchar](300) NULL,
[Updated_By] [nvarchar](50) NULL,
[Last_Updated] [datetime] NULL,
[IsActive] [bit] NULL)
REQUIREMENT 4:-
1. A product can have multiple varients and for
each varient product, price will differ.
2. A Product can have discount.
DBA Perspective:-
DBA proposed schema for product details
Table Schema for Varient Category:-
CREATE TABLE [dbo].
[M_Product_Varients]( [Id] [bigint] IDENTITY(1,1) NOT NULL,
[Varient_Name] [nvarchar](50) NULL,
[Varient_Description] [nvarchar](100) NULL,
[Updated_By] [nvarchar](50) NULL,
[Last_Update] [datetime] NULL,
[IsActive] [bit] NULL)
Table Schema for Values of Varient Category:-
CREATE TABLE [dbo].
[Product_Varient_Value]( [Id] [bigint] IDENTITY(1,1) NOT NULL,
[FK_Varient_Id] [bigint] NULL,
[Varient_Value] [nvarchar](50) NULL,
[Description] [nvarchar](max) NULL,
[Updated_By] [nvarchar](50) NULL,
[Last_Updated_Date] [datetime] NULL,
[IsActive] [bit] NULL)
The final query will be as follows:-
SELECT
Product.Product_Name, Product.Description, Product.Price, Product.SKU,
Product_Varient_Value.Varient_Value,Seller.Seller_Sub_Category,
Currency.Currency_Type,Price_Decision.Price_Decision_Factor,
Product.Availability_Count, Product.Percentage_Discount,
Product.Special_Offer_Price,Product.Special_Offer_Minimum_Quantity,
Product.Special_Offer_Maximum_Quantity,Product.Special_Offer_Discount_Factor,
Product.Minimum_Allowed_Buy_Quantity,Product.Maximum_Allowed_Buy_Quantity,
Subcategory.Product_Sub_Category,M_Product_Category.Product_Type FROM Product
INNER JOIN Product_Varient_Value ON Product.FK_Product_Varient =
Product_Varient_Value.Id Inner Join M_Seller_SubCategory Seller ON
Seller.Id=Product.FK_Seller_Id inner join M_Currency_Domiance Currency on
Currency.Id=Product.FK_Currency_Dominance inner join M_Price_Decision_Factor
Price_Decision ON Price_Decision.Id=Product.FK_Price_Decision_Factor inner join
M_Product_SubCategory Subcategory ON
Subcategory.Id=Product.FK_Product_Subcategory inner join M_Product_Category
M_Product_Category ON M_Product_Category.Id=Subcategory.FK_Product_Id Where
Product.IsActive=1
By this presentation we conclude that a DBA
has to manage all database in different-
different multiple lookups and all these
lookups are connected with foreign keys. It
not only helpful to manage database in an
appropriate manner, also reduce time of
query execution and provide all necessary
information to user in a short period.
Flipkart product management database model with dba perspective

More Related Content

What's hot

Grocery store management
Grocery store managementGrocery store management
Grocery store management
Gayatri Patel
 
Online Store Modules
Online Store ModulesOnline Store Modules
Online Store ModulesKavita Sharma
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
Faculty of Science , portsaid Univeristy
 
Flexbox
FlexboxFlexbox
Flexbox
Netcetera
 
Online furniture management system
Online furniture management systemOnline furniture management system
Online furniture management system
Yesu Raj
 
E commerce website Project Presentation
E commerce website Project PresentationE commerce website Project Presentation
E commerce website Project Presentation
ZT MESH
 
Request For Quotation (Rfq)
Request For Quotation (Rfq)Request For Quotation (Rfq)
Request For Quotation (Rfq)Rameswara Vedula
 
Supermarket Inventory Management System Development.pdf
Supermarket Inventory Management System Development.pdfSupermarket Inventory Management System Development.pdf
Supermarket Inventory Management System Development.pdf
RenzGaming3
 
Presentation of bootstrap
Presentation of bootstrapPresentation of bootstrap
Presentation of bootstrap
1amitgupta
 
Online furniture
Online furnitureOnline furniture
Online furniture
gitika -
 
online-shopping-documentation-srs for TYBSCIT sem 6
 online-shopping-documentation-srs for TYBSCIT sem 6 online-shopping-documentation-srs for TYBSCIT sem 6
online-shopping-documentation-srs for TYBSCIT sem 6
YogeshDhamke2
 
E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)
Nazmul Hyder
 
Online Shopping project report
Online Shopping project report Online Shopping project report
Online Shopping project report
Surjeet Art
 
Mini project report_on_online_shopping
Mini project report_on_online_shoppingMini project report_on_online_shopping
Mini project report_on_online_shopping
Sandeep Bittu
 
Learn about the different types of discounts on Flipkart
Learn about the different types of discounts on FlipkartLearn about the different types of discounts on Flipkart
Learn about the different types of discounts on Flipkart
SellOnFlipkart
 
Furniture shop management system project report
Furniture shop management system project reportFurniture shop management system project report
Furniture shop management system project report
MaiwandTechnologix
 
Online shopping Project
Online shopping Project Online shopping Project
Online shopping Project
Krishna Mohan Shakya
 
Final Year Project BCA Presentation on Pic-O-Stica
Final Year Project BCA Presentation on Pic-O-SticaFinal Year Project BCA Presentation on Pic-O-Stica
Final Year Project BCA Presentation on Pic-O-Stica
Sharath Raj
 
Shop management system
Shop management systemShop management system
Shop management system
BUBT
 
Distribution management system (DMS)
Distribution management system (DMS)Distribution management system (DMS)
Distribution management system (DMS)
Noman Haider
 

What's hot (20)

Grocery store management
Grocery store managementGrocery store management
Grocery store management
 
Online Store Modules
Online Store ModulesOnline Store Modules
Online Store Modules
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Flexbox
FlexboxFlexbox
Flexbox
 
Online furniture management system
Online furniture management systemOnline furniture management system
Online furniture management system
 
E commerce website Project Presentation
E commerce website Project PresentationE commerce website Project Presentation
E commerce website Project Presentation
 
Request For Quotation (Rfq)
Request For Quotation (Rfq)Request For Quotation (Rfq)
Request For Quotation (Rfq)
 
Supermarket Inventory Management System Development.pdf
Supermarket Inventory Management System Development.pdfSupermarket Inventory Management System Development.pdf
Supermarket Inventory Management System Development.pdf
 
Presentation of bootstrap
Presentation of bootstrapPresentation of bootstrap
Presentation of bootstrap
 
Online furniture
Online furnitureOnline furniture
Online furniture
 
online-shopping-documentation-srs for TYBSCIT sem 6
 online-shopping-documentation-srs for TYBSCIT sem 6 online-shopping-documentation-srs for TYBSCIT sem 6
online-shopping-documentation-srs for TYBSCIT sem 6
 
E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)
 
Online Shopping project report
Online Shopping project report Online Shopping project report
Online Shopping project report
 
Mini project report_on_online_shopping
Mini project report_on_online_shoppingMini project report_on_online_shopping
Mini project report_on_online_shopping
 
Learn about the different types of discounts on Flipkart
Learn about the different types of discounts on FlipkartLearn about the different types of discounts on Flipkart
Learn about the different types of discounts on Flipkart
 
Furniture shop management system project report
Furniture shop management system project reportFurniture shop management system project report
Furniture shop management system project report
 
Online shopping Project
Online shopping Project Online shopping Project
Online shopping Project
 
Final Year Project BCA Presentation on Pic-O-Stica
Final Year Project BCA Presentation on Pic-O-SticaFinal Year Project BCA Presentation on Pic-O-Stica
Final Year Project BCA Presentation on Pic-O-Stica
 
Shop management system
Shop management systemShop management system
Shop management system
 
Distribution management system (DMS)
Distribution management system (DMS)Distribution management system (DMS)
Distribution management system (DMS)
 

Similar to Flipkart product management database model with dba perspective

Sql vs no sql diponkar paul-april 2020-Toronto PASS
Sql vs no sql   diponkar paul-april 2020-Toronto PASSSql vs no sql   diponkar paul-april 2020-Toronto PASS
Sql vs no sql diponkar paul-april 2020-Toronto PASS
Diponkar Paul
 
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Mark Ginnebaugh
 
PL/SQL New and Advanced Features for Extreme Performance
PL/SQL New and Advanced Features for Extreme PerformancePL/SQL New and Advanced Features for Extreme Performance
PL/SQL New and Advanced Features for Extreme Performance
Zohar Elkayam
 
Advanced PLSQL Optimizing for Better Performance
Advanced PLSQL Optimizing for Better PerformanceAdvanced PLSQL Optimizing for Better Performance
Advanced PLSQL Optimizing for Better Performance
Zohar Elkayam
 
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
Benefits of using MongoDB: Reduce Complexity & Adapt to ChangesBenefits of using MongoDB: Reduce Complexity & Adapt to Changes
Benefits of using MongoDB: Reduce Complexity & Adapt to ChangesAlex Nguyen
 
Kevin Bengtson Portfolio
Kevin Bengtson PortfolioKevin Bengtson Portfolio
Kevin Bengtson PortfolioKbengt521
 
Create column store index on all supported tables in sql server 2014 copy
Create column store index on all supported tables in sql server 2014    copyCreate column store index on all supported tables in sql server 2014    copy
Create column store index on all supported tables in sql server 2014 copy
Mustafa EL-Masry
 
Session 2 django material for training at baabtra models
Session 2 django material for training at baabtra modelsSession 2 django material for training at baabtra models
Session 2 django material for training at baabtra models
baabtra.com - No. 1 supplier of quality freshers
 
Incremental View Maintenance with Coral, DBT, and Iceberg
Incremental View Maintenance with Coral, DBT, and IcebergIncremental View Maintenance with Coral, DBT, and Iceberg
Incremental View Maintenance with Coral, DBT, and Iceberg
Walaa Eldin Moustafa
 
Preparing for BIT – IT2301 Database Management Systems 2001g
Preparing for BIT – IT2301 Database Management Systems 2001gPreparing for BIT – IT2301 Database Management Systems 2001g
Preparing for BIT – IT2301 Database Management Systems 2001g
Gihan Wikramanayake
 
See sql server graphical execution plans in action tech republic
See sql server graphical execution plans in action   tech republicSee sql server graphical execution plans in action   tech republic
See sql server graphical execution plans in action tech republicKaing Menglieng
 
Columnstore improvements in SQL Server 2016
Columnstore improvements in SQL Server 2016Columnstore improvements in SQL Server 2016
Columnstore improvements in SQL Server 2016
Niko Neugebauer
 
Star schema my sql
Star schema   my sqlStar schema   my sql
Star schema my sql
deathsubte
 
eBusiness Website Database Design
eBusiness Website Database DesigneBusiness Website Database Design
eBusiness Website Database DesignMeng (Meg) Wang
 
Write Faster SQL with Trino.pdf
Write Faster SQL with Trino.pdfWrite Faster SQL with Trino.pdf
Write Faster SQL with Trino.pdf
Eric Xiao
 
Microsoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumpsMicrosoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumps
lilylucy
 
Analysis Services en SQL Server 2008
Analysis Services en SQL Server 2008Analysis Services en SQL Server 2008
Analysis Services en SQL Server 2008
Eduardo Castro
 
BigdataConference Europe - BigQuery ML
BigdataConference Europe - BigQuery MLBigdataConference Europe - BigQuery ML
BigdataConference Europe - BigQuery ML
Márton Kodok
 
Simplify Feature Engineering in Your Data Warehouse
Simplify Feature Engineering in Your Data WarehouseSimplify Feature Engineering in Your Data Warehouse
Simplify Feature Engineering in Your Data Warehouse
FeatureByte
 
Data warehousing
Data warehousingData warehousing
Data warehousing
Ashish Kumar Jena
 

Similar to Flipkart product management database model with dba perspective (20)

Sql vs no sql diponkar paul-april 2020-Toronto PASS
Sql vs no sql   diponkar paul-april 2020-Toronto PASSSql vs no sql   diponkar paul-april 2020-Toronto PASS
Sql vs no sql diponkar paul-april 2020-Toronto PASS
 
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
 
PL/SQL New and Advanced Features for Extreme Performance
PL/SQL New and Advanced Features for Extreme PerformancePL/SQL New and Advanced Features for Extreme Performance
PL/SQL New and Advanced Features for Extreme Performance
 
Advanced PLSQL Optimizing for Better Performance
Advanced PLSQL Optimizing for Better PerformanceAdvanced PLSQL Optimizing for Better Performance
Advanced PLSQL Optimizing for Better Performance
 
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
Benefits of using MongoDB: Reduce Complexity & Adapt to ChangesBenefits of using MongoDB: Reduce Complexity & Adapt to Changes
Benefits of using MongoDB: Reduce Complexity & Adapt to Changes
 
Kevin Bengtson Portfolio
Kevin Bengtson PortfolioKevin Bengtson Portfolio
Kevin Bengtson Portfolio
 
Create column store index on all supported tables in sql server 2014 copy
Create column store index on all supported tables in sql server 2014    copyCreate column store index on all supported tables in sql server 2014    copy
Create column store index on all supported tables in sql server 2014 copy
 
Session 2 django material for training at baabtra models
Session 2 django material for training at baabtra modelsSession 2 django material for training at baabtra models
Session 2 django material for training at baabtra models
 
Incremental View Maintenance with Coral, DBT, and Iceberg
Incremental View Maintenance with Coral, DBT, and IcebergIncremental View Maintenance with Coral, DBT, and Iceberg
Incremental View Maintenance with Coral, DBT, and Iceberg
 
Preparing for BIT – IT2301 Database Management Systems 2001g
Preparing for BIT – IT2301 Database Management Systems 2001gPreparing for BIT – IT2301 Database Management Systems 2001g
Preparing for BIT – IT2301 Database Management Systems 2001g
 
See sql server graphical execution plans in action tech republic
See sql server graphical execution plans in action   tech republicSee sql server graphical execution plans in action   tech republic
See sql server graphical execution plans in action tech republic
 
Columnstore improvements in SQL Server 2016
Columnstore improvements in SQL Server 2016Columnstore improvements in SQL Server 2016
Columnstore improvements in SQL Server 2016
 
Star schema my sql
Star schema   my sqlStar schema   my sql
Star schema my sql
 
eBusiness Website Database Design
eBusiness Website Database DesigneBusiness Website Database Design
eBusiness Website Database Design
 
Write Faster SQL with Trino.pdf
Write Faster SQL with Trino.pdfWrite Faster SQL with Trino.pdf
Write Faster SQL with Trino.pdf
 
Microsoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumpsMicrosoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumps
 
Analysis Services en SQL Server 2008
Analysis Services en SQL Server 2008Analysis Services en SQL Server 2008
Analysis Services en SQL Server 2008
 
BigdataConference Europe - BigQuery ML
BigdataConference Europe - BigQuery MLBigdataConference Europe - BigQuery ML
BigdataConference Europe - BigQuery ML
 
Simplify Feature Engineering in Your Data Warehouse
Simplify Feature Engineering in Your Data WarehouseSimplify Feature Engineering in Your Data Warehouse
Simplify Feature Engineering in Your Data Warehouse
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 

Recently uploaded

一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
ukgaet
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
mbawufebxi
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
enxupq
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
ocavb
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
Opendatabay
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
pchutichetpong
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
g4dpvqap0
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
AnirbanRoy608946
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
oz8q3jxlp
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
enxupq
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
dwreak4tg
 

Recently uploaded (20)

一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
 

Flipkart product management database model with dba perspective

  • 1. Presentation by: Archana Jha (NI1302/075/15) Submitted to: Rani Ojha
  • 2.  Any E-commerce website data is their product.  Flipkart is an E- commerce website started in 2007 by Bansal brothers.  Now became India’s most visiting online shopping site.  A pool of multiple database which handled by DBA using Sql and NoSql databases.
  • 3.  Requirement Analysis for database designing using DBA’s perspective.  Testing of Designed Database.  Database for the “Product Section of Flipkart Website.
  • 4. Components of Flipkart Database:- 1. Customer Management 2. Product Management 3. Order Processing and Management 4. Shipment Management 5. Warehouse Management 6. Seller Management 7. Payment Management
  • 5. REQUIREMENT 1:- Products Should be categorized in Categories and Sub-Categories
  • 6.
  • 8. DBA Perspective:- Creation of separate lookup tables with one to one relationship for categories and sub- categories. Table Schema for Category:- CREATE TABLE [dbo]. [M_Product_Category]( [Id] [bigint] IDENTITY(1,1) NOT NULL, [Product_Type] [nvarchar](50) NOT NULL, [Description] [nvarchar](100) NULL, [Updated_By] [nvarchar](50) NULL, [IsActive] [bit] NULL, [Last_Updated_Date] [datetime] NULL)
  • 9. Table Schema for Sub-Category:- CREATE TABLE [dbo]. [M_Product_SubCategory]( [Id] [bigint] IDENTITY(1,1) NOT NULL, [FK_Product_Id] [bigint] NOT NULL, [Product_Sub_Category] [nvarchar](100) NULL, [Description] [nvarchar](200) NULL, [Updated_By] [nvarchar](50) NULL, [Last_Updated_Date] [datetime] NULL, [IsActive] [bit] NULL)
  • 10. REQUIREMENT 2:- 1. Product which is getting sold could be in KG, UNIT or LITRES or in Pound, etc... 2. Product can be sold in any kind of currency like be it in $, be it in EURO or INR, etc…
  • 11. DBA Perspective:- Expecting very less amount of data in this table for future so will just create two separate lookups. Table Schema for Unit Related:- CREATE TABLE [dbo]. [M_Price_Decision_Factor]( [Id] [bigint] IDENTITY(1,1) NOT NULL, [Price_Decision_Factor] [nvarchar](50) NULL, [Description] [nvarchar](500) NULL, [Updated_By] [nvarchar](50) NULL, [Last_Updated] [datetime] NULL, [IsActive] [bit] NULL)
  • 12. Table Schema for Currency Related:- CREATE TABLE [dbo]. [M_Currency_Domiance]( [Id] [bigint] IDENTITY(1,1) NOT NULL, [Currency_Type] [nvarchar](50) NULL, [Description] [nvarchar](200) NULL, [Updated_By] [nvarchar](50) NULL, [Last_Updated] [datetime] NULL, [IsActive] [bit] NULL)
  • 13. REQUIREMENT 3:- 1.Every product information should come up with its seller’s information. 2. Generalization at seller level in order to distinguish between different kind of sellers.
  • 14.
  • 15. 3. Every product information may contain maximum 5 images.
  • 16. DBA Perspective:- 1. Lookup table for seller category 2. Lookup table for sub-category of seller. 3. Lookup tables for pictures. Table Schema for Seller Category:- CREATE TABLE [dbo]. [M_Seller_Category]( [Id] [bigint] IDENTITY(1,1) NOT NULL, [Seller_Category] [nvarchar](100) NULL, [Description] [nvarchar](500) NULL, [Last_Updated] [datetime] NULL, [Updated_By] [nvarchar](100) NULL, [IsActive] [bit] NULL)
  • 17. Table Schema for Sub-Seller Category:- CREATE TABLE [dbo]. [M_Seller_SubCategory]( [Id] [bigint] IDENTITY(1,1) NOT NULL, [FK_Seller_Id] [bigint] NULL, [Seller_Sub_Category] [nvarchar](50) NULL, [Description] [nvarchar](200) NULL, [Updated_By] [nvarchar](50) NULL, [Last_Updated] [datetime] NULL, [IsActive] [bit] NULL)
  • 18. Table Schema for Picture Category:- CREATE TABLE [dbo]. [M_Product_Image_Details]( [Id] [bigint] IDENTITY(1,1) NOT NULL, [FK_Product_Id] [bigint] NOT NULL, [Product_Image_1] [nvarchar](300) NULL, [Product_Image_2] [nvarchar](300) NULL, [Product_Image_3] [nvarchar](300) NULL, [Updated_By] [nvarchar](50) NULL, [Last_Updated] [datetime] NULL, [IsActive] [bit] NULL)
  • 19. REQUIREMENT 4:- 1. A product can have multiple varients and for each varient product, price will differ. 2. A Product can have discount.
  • 20. DBA Perspective:- DBA proposed schema for product details
  • 21.
  • 22. Table Schema for Varient Category:- CREATE TABLE [dbo]. [M_Product_Varients]( [Id] [bigint] IDENTITY(1,1) NOT NULL, [Varient_Name] [nvarchar](50) NULL, [Varient_Description] [nvarchar](100) NULL, [Updated_By] [nvarchar](50) NULL, [Last_Update] [datetime] NULL, [IsActive] [bit] NULL)
  • 23. Table Schema for Values of Varient Category:- CREATE TABLE [dbo]. [Product_Varient_Value]( [Id] [bigint] IDENTITY(1,1) NOT NULL, [FK_Varient_Id] [bigint] NULL, [Varient_Value] [nvarchar](50) NULL, [Description] [nvarchar](max) NULL, [Updated_By] [nvarchar](50) NULL, [Last_Updated_Date] [datetime] NULL, [IsActive] [bit] NULL)
  • 24.
  • 25. The final query will be as follows:- SELECT Product.Product_Name, Product.Description, Product.Price, Product.SKU, Product_Varient_Value.Varient_Value,Seller.Seller_Sub_Category, Currency.Currency_Type,Price_Decision.Price_Decision_Factor, Product.Availability_Count, Product.Percentage_Discount, Product.Special_Offer_Price,Product.Special_Offer_Minimum_Quantity, Product.Special_Offer_Maximum_Quantity,Product.Special_Offer_Discount_Factor, Product.Minimum_Allowed_Buy_Quantity,Product.Maximum_Allowed_Buy_Quantity, Subcategory.Product_Sub_Category,M_Product_Category.Product_Type FROM Product INNER JOIN Product_Varient_Value ON Product.FK_Product_Varient = Product_Varient_Value.Id Inner Join M_Seller_SubCategory Seller ON Seller.Id=Product.FK_Seller_Id inner join M_Currency_Domiance Currency on Currency.Id=Product.FK_Currency_Dominance inner join M_Price_Decision_Factor Price_Decision ON Price_Decision.Id=Product.FK_Price_Decision_Factor inner join M_Product_SubCategory Subcategory ON Subcategory.Id=Product.FK_Product_Subcategory inner join M_Product_Category M_Product_Category ON M_Product_Category.Id=Subcategory.FK_Product_Id Where Product.IsActive=1
  • 26. By this presentation we conclude that a DBA has to manage all database in different- different multiple lookups and all these lookups are connected with foreign keys. It not only helpful to manage database in an appropriate manner, also reduce time of query execution and provide all necessary information to user in a short period.