尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
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

Library management system se project
Library management system se projectLibrary management system se project
Library management system se project
REHMATQADEER
 
Online Vegetable Selling project Presentation
Online Vegetable Selling project PresentationOnline Vegetable Selling project Presentation
Online Vegetable Selling project Presentation
mayur patel
 
Super Shop Management System
Super Shop Management SystemSuper Shop Management System
Super Shop Management System
Sohel Sarker
 
Building an E-commerce website in MEAN stack
Building an E-commerce website in MEAN stackBuilding an E-commerce website in MEAN stack
Building an E-commerce website in MEAN stack
divyapisces
 
Project Report on Grocery Store Website
Project Report on Grocery Store WebsiteProject Report on Grocery Store Website
Project Report on Grocery Store Website
'Ashmeet Sehgal'
 
Presentation LIBRARY MANAGEMENT SYSTEM
Presentation LIBRARY MANAGEMENT SYSTEM Presentation LIBRARY MANAGEMENT SYSTEM
Presentation LIBRARY MANAGEMENT SYSTEM
binrehmat
 
Stationery Billing System
Stationery Billing SystemStationery Billing System
Stationery Billing System
Dhanashri2811
 
Study of “Flipkart.com”: India’s Leading E-business Portal
Study of “Flipkart.com”: India’s Leading E-business PortalStudy of “Flipkart.com”: India’s Leading E-business Portal
Study of “Flipkart.com”: India’s Leading E-business Portal
Sagar Agrawal
 
E commerce
E commerceE commerce
E commerce
Arman Ahmed
 
Library management system
Library management systemLibrary management system
Library management system
Kamal Krish
 
Vision and Scope Document For Library Management System
Vision and Scope Document For Library Management SystemVision and Scope Document For Library Management System
Vision and Scope Document For Library Management System
Soman Sarim
 
E commerce use case documentation.
E commerce use case documentation.E commerce use case documentation.
E commerce use case documentation.
Yaswanth Babu Gummadivelli
 
On-line book store presentation
On-line book store presentation On-line book store presentation
On-line book store presentation
Smit Patel
 
Srs library m s
Srs library m sSrs library m s
Srs library m s
karthik venkatesh
 
Online Medicine Store
Online Medicine StoreOnline Medicine Store
Online Medicine Store
Rohit Mondal
 
Book Selling Website Report
Book Selling Website ReportBook Selling Website Report
Book Selling Website Report
Saloni Bajaj
 
Epics and User Stories
Epics and User StoriesEpics and User Stories
Epics and User Stories
Milind Gokhale
 
Sql ppt
Sql pptSql ppt
Sql ppt
Anuja Lad
 
17337071 srs-library-management-system
17337071 srs-library-management-system17337071 srs-library-management-system
17337071 srs-library-management-system
ANAS NAIN
 
Super Market Management System
Super Market Management SystemSuper Market Management System
Super Market Management System
Shubham Singh
 

What's hot (20)

Library management system se project
Library management system se projectLibrary management system se project
Library management system se project
 
Online Vegetable Selling project Presentation
Online Vegetable Selling project PresentationOnline Vegetable Selling project Presentation
Online Vegetable Selling project Presentation
 
Super Shop Management System
Super Shop Management SystemSuper Shop Management System
Super Shop Management System
 
Building an E-commerce website in MEAN stack
Building an E-commerce website in MEAN stackBuilding an E-commerce website in MEAN stack
Building an E-commerce website in MEAN stack
 
Project Report on Grocery Store Website
Project Report on Grocery Store WebsiteProject Report on Grocery Store Website
Project Report on Grocery Store Website
 
Presentation LIBRARY MANAGEMENT SYSTEM
Presentation LIBRARY MANAGEMENT SYSTEM Presentation LIBRARY MANAGEMENT SYSTEM
Presentation LIBRARY MANAGEMENT SYSTEM
 
Stationery Billing System
Stationery Billing SystemStationery Billing System
Stationery Billing System
 
Study of “Flipkart.com”: India’s Leading E-business Portal
Study of “Flipkart.com”: India’s Leading E-business PortalStudy of “Flipkart.com”: India’s Leading E-business Portal
Study of “Flipkart.com”: India’s Leading E-business Portal
 
E commerce
E commerceE commerce
E commerce
 
Library management system
Library management systemLibrary management system
Library management system
 
Vision and Scope Document For Library Management System
Vision and Scope Document For Library Management SystemVision and Scope Document For Library Management System
Vision and Scope Document For Library Management System
 
E commerce use case documentation.
E commerce use case documentation.E commerce use case documentation.
E commerce use case documentation.
 
On-line book store presentation
On-line book store presentation On-line book store presentation
On-line book store presentation
 
Srs library m s
Srs library m sSrs library m s
Srs library m s
 
Online Medicine Store
Online Medicine StoreOnline Medicine Store
Online Medicine Store
 
Book Selling Website Report
Book Selling Website ReportBook Selling Website Report
Book Selling Website Report
 
Epics and User Stories
Epics and User StoriesEpics and User Stories
Epics and User Stories
 
Sql ppt
Sql pptSql ppt
Sql ppt
 
17337071 srs-library-management-system
17337071 srs-library-management-system17337071 srs-library-management-system
17337071 srs-library-management-system
 
Super Market Management System
Super Market Management SystemSuper Market Management System
Super Market Management System
 

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 Changes
Alex Nguyen
 
Kevin Bengtson Portfolio
Kevin Bengtson PortfolioKevin Bengtson Portfolio
Kevin Bengtson Portfolio
Kbengt521
 
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 republic
Kaing 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 Design
Meng (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

❣VIP Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai Escorts S...
❣VIP Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai Escorts S...❣VIP Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai Escorts S...
❣VIP Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai Escorts S...
jasodak99
 
Mumbai Central Call Girls ☑ +91-9833325238 ☑ Available Hot Girls Aunty Book Now
Mumbai Central Call Girls ☑ +91-9833325238 ☑ Available Hot Girls Aunty Book NowMumbai Central Call Girls ☑ +91-9833325238 ☑ Available Hot Girls Aunty Book Now
Mumbai Central Call Girls ☑ +91-9833325238 ☑ Available Hot Girls Aunty Book Now
radhika ansal $A12
 
Hot Call Girls In Bangalore 🔥 9352988975 🔥 Real Fun With Sexual Girl Availabl...
Hot Call Girls In Bangalore 🔥 9352988975 🔥 Real Fun With Sexual Girl Availabl...Hot Call Girls In Bangalore 🔥 9352988975 🔥 Real Fun With Sexual Girl Availabl...
Hot Call Girls In Bangalore 🔥 9352988975 🔥 Real Fun With Sexual Girl Availabl...
nainasharmans346
 
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
Timothy Spann
 
🔥Book Call Girls Lucknow 💯Call Us 🔝 6350257716 🔝💃Independent Lucknow Escorts ...
🔥Book Call Girls Lucknow 💯Call Us 🔝 6350257716 🔝💃Independent Lucknow Escorts ...🔥Book Call Girls Lucknow 💯Call Us 🔝 6350257716 🔝💃Independent Lucknow Escorts ...
🔥Book Call Girls Lucknow 💯Call Us 🔝 6350257716 🔝💃Independent Lucknow Escorts ...
AK47
 
Telemetry Solution for Gaming (AWS Summit'24)
Telemetry Solution for Gaming (AWS Summit'24)Telemetry Solution for Gaming (AWS Summit'24)
Telemetry Solution for Gaming (AWS Summit'24)
GeorgiiSteshenko
 
Fabric Engineering Deep Dive Keynote from Fabric Engineering Roadshow
Fabric Engineering Deep Dive Keynote from Fabric Engineering RoadshowFabric Engineering Deep Dive Keynote from Fabric Engineering Roadshow
Fabric Engineering Deep Dive Keynote from Fabric Engineering Roadshow
Gabi Münster
 
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
9gr6pty
 
machine learning notes by Andrew Ng and Tengyu Ma
machine learning notes by Andrew Ng and Tengyu Mamachine learning notes by Andrew Ng and Tengyu Ma
machine learning notes by Andrew Ng and Tengyu Ma
Vijayabaskar Uthirapathy
 
High Profile Call Girls Navi Mumbai ✅ 9833363713 FULL CASH PAYMENT
High Profile Call Girls Navi Mumbai ✅ 9833363713 FULL CASH PAYMENTHigh Profile Call Girls Navi Mumbai ✅ 9833363713 FULL CASH PAYMENT
High Profile Call Girls Navi Mumbai ✅ 9833363713 FULL CASH PAYMENT
ranjeet3341
 
MySQL Notes For Professionals sttudy.pdf
MySQL Notes For Professionals sttudy.pdfMySQL Notes For Professionals sttudy.pdf
MySQL Notes For Professionals sttudy.pdf
Ananta Patil
 
Salesforce AI + Data Community Tour Slides - Canarias
Salesforce AI + Data Community Tour Slides - CanariasSalesforce AI + Data Community Tour Slides - Canarias
Salesforce AI + Data Community Tour Slides - Canarias
davidpietrzykowski1
 
Call Girls Hyderabad (india) ☎️ +91-7426014248 Hyderabad Call Girl
Call Girls Hyderabad  (india) ☎️ +91-7426014248 Hyderabad  Call GirlCall Girls Hyderabad  (india) ☎️ +91-7426014248 Hyderabad  Call Girl
Call Girls Hyderabad (india) ☎️ +91-7426014248 Hyderabad Call Girl
sapna sharmap11
 
IBM watsonx.data - Seller Enablement Deck.PPTX
IBM watsonx.data - Seller Enablement Deck.PPTXIBM watsonx.data - Seller Enablement Deck.PPTX
IBM watsonx.data - Seller Enablement Deck.PPTX
EbtsamRashed
 
Bangalore ℂall Girl 000000 Bangalore Escorts Service
Bangalore ℂall Girl 000000 Bangalore Escorts ServiceBangalore ℂall Girl 000000 Bangalore Escorts Service
Bangalore ℂall Girl 000000 Bangalore Escorts Service
nhero3888
 
saps4hanaandsapanalyticswheretodowhat1565272000538.pdf
saps4hanaandsapanalyticswheretodowhat1565272000538.pdfsaps4hanaandsapanalyticswheretodowhat1565272000538.pdf
saps4hanaandsapanalyticswheretodowhat1565272000538.pdf
newdirectionconsulta
 
Health care analysis using sentimental analysis
Health care analysis using sentimental analysisHealth care analysis using sentimental analysis
Health care analysis using sentimental analysis
krishnasrigannavarap
 
🔥Night Call Girls Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Escorts Servi...
🔥Night Call Girls Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Escorts Servi...🔥Night Call Girls Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Escorts Servi...
🔥Night Call Girls Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Escorts Servi...
yuvishachadda
 
Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
Interview Methods - Marital and Family Therapy and Counselling - Psychology S...Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
PsychoTech Services
 
一比一原版(sfu学位证书)西蒙弗雷泽大学毕业证如何办理
一比一原版(sfu学位证书)西蒙弗雷泽大学毕业证如何办理一比一原版(sfu学位证书)西蒙弗雷泽大学毕业证如何办理
一比一原版(sfu学位证书)西蒙弗雷泽大学毕业证如何办理
gebegu
 

Recently uploaded (20)

❣VIP Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai Escorts S...
❣VIP Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai Escorts S...❣VIP Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai Escorts S...
❣VIP Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai Escorts S...
 
Mumbai Central Call Girls ☑ +91-9833325238 ☑ Available Hot Girls Aunty Book Now
Mumbai Central Call Girls ☑ +91-9833325238 ☑ Available Hot Girls Aunty Book NowMumbai Central Call Girls ☑ +91-9833325238 ☑ Available Hot Girls Aunty Book Now
Mumbai Central Call Girls ☑ +91-9833325238 ☑ Available Hot Girls Aunty Book Now
 
Hot Call Girls In Bangalore 🔥 9352988975 🔥 Real Fun With Sexual Girl Availabl...
Hot Call Girls In Bangalore 🔥 9352988975 🔥 Real Fun With Sexual Girl Availabl...Hot Call Girls In Bangalore 🔥 9352988975 🔥 Real Fun With Sexual Girl Availabl...
Hot Call Girls In Bangalore 🔥 9352988975 🔥 Real Fun With Sexual Girl Availabl...
 
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
 
🔥Book Call Girls Lucknow 💯Call Us 🔝 6350257716 🔝💃Independent Lucknow Escorts ...
🔥Book Call Girls Lucknow 💯Call Us 🔝 6350257716 🔝💃Independent Lucknow Escorts ...🔥Book Call Girls Lucknow 💯Call Us 🔝 6350257716 🔝💃Independent Lucknow Escorts ...
🔥Book Call Girls Lucknow 💯Call Us 🔝 6350257716 🔝💃Independent Lucknow Escorts ...
 
Telemetry Solution for Gaming (AWS Summit'24)
Telemetry Solution for Gaming (AWS Summit'24)Telemetry Solution for Gaming (AWS Summit'24)
Telemetry Solution for Gaming (AWS Summit'24)
 
Fabric Engineering Deep Dive Keynote from Fabric Engineering Roadshow
Fabric Engineering Deep Dive Keynote from Fabric Engineering RoadshowFabric Engineering Deep Dive Keynote from Fabric Engineering Roadshow
Fabric Engineering Deep Dive Keynote from Fabric Engineering Roadshow
 
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
 
machine learning notes by Andrew Ng and Tengyu Ma
machine learning notes by Andrew Ng and Tengyu Mamachine learning notes by Andrew Ng and Tengyu Ma
machine learning notes by Andrew Ng and Tengyu Ma
 
High Profile Call Girls Navi Mumbai ✅ 9833363713 FULL CASH PAYMENT
High Profile Call Girls Navi Mumbai ✅ 9833363713 FULL CASH PAYMENTHigh Profile Call Girls Navi Mumbai ✅ 9833363713 FULL CASH PAYMENT
High Profile Call Girls Navi Mumbai ✅ 9833363713 FULL CASH PAYMENT
 
MySQL Notes For Professionals sttudy.pdf
MySQL Notes For Professionals sttudy.pdfMySQL Notes For Professionals sttudy.pdf
MySQL Notes For Professionals sttudy.pdf
 
Salesforce AI + Data Community Tour Slides - Canarias
Salesforce AI + Data Community Tour Slides - CanariasSalesforce AI + Data Community Tour Slides - Canarias
Salesforce AI + Data Community Tour Slides - Canarias
 
Call Girls Hyderabad (india) ☎️ +91-7426014248 Hyderabad Call Girl
Call Girls Hyderabad  (india) ☎️ +91-7426014248 Hyderabad  Call GirlCall Girls Hyderabad  (india) ☎️ +91-7426014248 Hyderabad  Call Girl
Call Girls Hyderabad (india) ☎️ +91-7426014248 Hyderabad Call Girl
 
IBM watsonx.data - Seller Enablement Deck.PPTX
IBM watsonx.data - Seller Enablement Deck.PPTXIBM watsonx.data - Seller Enablement Deck.PPTX
IBM watsonx.data - Seller Enablement Deck.PPTX
 
Bangalore ℂall Girl 000000 Bangalore Escorts Service
Bangalore ℂall Girl 000000 Bangalore Escorts ServiceBangalore ℂall Girl 000000 Bangalore Escorts Service
Bangalore ℂall Girl 000000 Bangalore Escorts Service
 
saps4hanaandsapanalyticswheretodowhat1565272000538.pdf
saps4hanaandsapanalyticswheretodowhat1565272000538.pdfsaps4hanaandsapanalyticswheretodowhat1565272000538.pdf
saps4hanaandsapanalyticswheretodowhat1565272000538.pdf
 
Health care analysis using sentimental analysis
Health care analysis using sentimental analysisHealth care analysis using sentimental analysis
Health care analysis using sentimental analysis
 
🔥Night Call Girls Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Escorts Servi...
🔥Night Call Girls Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Escorts Servi...🔥Night Call Girls Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Escorts Servi...
🔥Night Call Girls Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Escorts Servi...
 
Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
Interview Methods - Marital and Family Therapy and Counselling - Psychology S...Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
 
一比一原版(sfu学位证书)西蒙弗雷泽大学毕业证如何办理
一比一原版(sfu学位证书)西蒙弗雷泽大学毕业证如何办理一比一原版(sfu学位证书)西蒙弗雷泽大学毕业证如何办理
一比一原版(sfu学位证书)西蒙弗雷泽大学毕业证如何办理
 

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.
  翻译: