SlideShare a Scribd company logo
1 of 32
DATABASE
DESIGN
STRATEGIES
Mr. Ronaldin Villamor Bauat
Four (4) Database Design Strategies
Top-down design
Bottom-up design
Centralized design
Decentralized design
DATABASE DESIGN STRATEGIES
DATABASE DESIGN STRATEGIES
Database design strategy approaches
is being done during database design of
Database Life Cycle (Phase 2).
The main data source of database
design strategies is the Business Rules.
It follows the rules in creating entity
relationship diagram.
Case Study
The secretary and treasurer of Barangay
Atate, Palayan City, were experiencing difficulties
in generating list of issued certificate and
collection report from their manual logbook to be
presented during their weekly and monthly
sessions. The Barangay Officials then asked the
XYZ Team to develop a Barangay Issuing
Certification System to solve the problem and
will also serve as check and balance tool for their
transactions.
If we are the XYZ Team, how do we
apply the different DB Design Strategies?
Case Study Business Rules
1. Only authorized Barangay officials can access the system.
2. Any registered citizen (client) of the Barangay can request for any
certification (Brgy Certificate, Indigency Certificate, Business Certificate).
3. The client is required to provide his/her personal information.
4. The Barangay Secretary will input the personal information
of the client and requested documents in the system.
5. The client must pay the requested certificate fee
(If applicable (optional), Indigency Certificate – No Fee).
6. The Barangay Treasurer will process the payment (If applicable)
7. The Barangay Secretary will print the requested document(s).
8. The client must affix their signature and thumb mark on the
requested document(s).
9. The Barangay Captain will sign the requested certificate.
10. The Barangay Secretary will issue the requested certificate to client.
11. The Barangay Secretary will print daily, weekly and monthly reports
including list of issued certificate and amount collected that will be
certified by Barangay Treasurer and noted by Barangay Captain.
This process involves the 1.)identification of
different entity types and 2.)the definition of each
entity’s attributes.
Every entity type should be important in its own right within the problem domain.
TOP-DOWN DESIGN
ENTITY 1 ENTITY 2 ENTITY n
CONCEPTUAL MODEL
attribute 1
attribute 2
attribute 3
attribute n
attribute 1
attribute 2
attribute 3
attribute n
attribute 1
attribute 2
attribute 3
attribute n
PROCESS 1
PROCESS 2
Identify entities from the business rules statements.
TOP-DOWN DESIGN
CASE STUDY: Barangay Issuing Certification System
1. Only authorized Barangay officials can access the system.
2. Any registered citizen of the Barangay can request for any
certification (Brgy Certificate, Indigency Certificate, etc).
3. The client is required to provide his/her personal
information.
4. The Barangay Secretary will input the personal
information of the client and requested documents in the
system.
5. The client must pay the requested certificate fee.
6. The Barangay Treasurer will process the payment
7. The Barangay Secretary will print the requested document(s).
8. The client must affix their signature and thumb mark on the
requested document(s).
9. The Barangay Captain will sign the requested certificate.
10. The Barangay Secretary will issue the requested certificate to client.
SYSTEM
USER
ENTITY
CERTIFICATE
CLIENT
TRANSACTION
COLLECTION
Define attributes for each entity
TOP-DOWN DESIGN
SYSTEM
USER
CERTIFICATE
CLIENT TRANSACTION
COLLECTION
User ID INT(11) (PK)
Account Name VARCHAR(128)
User Name VARCHAR(64)
Password VARCHAR(128)
Encrypted
Active Status TINYINT(1)
Position VARCHAR(56)
Certificate ID INT(11) (PK)
(PK)
Certificate Name VARCHAR(128)
(PK)
Certificate content LONGBLOB
Price DOUBLE
Account ID INT(11) (PK)
Account Name VARCHAR(255)
Addr. Street VARCHAR(255)
Birthdate DATE
Gender CHAR(1)
Civil Status CHAR(18)
Input By INT (11)
TransactionID BIGINT(19) (PK)
Account ID INT(11)
Collection ID BIGINT(19)
Transaction date DATETIME
Certificate ID INT(11)
Input By INT (11)
Certificate ID INT(11)
Account ID INT(11)
OR Number BIGINT(19)
Amount DOUBLE
Collection ID BIGINT(19) (PK)
Layout the Conceptual Model
TOP-DOWN DESIGN
CASE STUDY: Barangay Issuing Certification System
SYSTEM
USER
CERTIFICATE CLIENT TRANSACTION COLLECTION
userid (PK)
acc_name
username
user_password
activestatus
position
certificateid(PK)
(PK)
certificate_name
(PK)
cert_content
price
account_id
(PK)
acc_name
addr_street
birthdate
gender
civil_status
userid
trans_id (PK)
account_id
collectionid
transactiondate
certificateid
userid
certificateid
(PK)
account_id
or_number
amount
collectionid (PK)
Each entity type becomes a database table.
Entity attributes become its field/column.
CONCEPTUAL MODEL
OUTPUT: Data Dictionary
Field Type Size Description
accid int 11 Primary Key; System User Account ID#
acc_name varchar 64 Account Name
username varchar 128 Username
user_password varchar 255 Password
activestatus tinyint 1 1 value if user is active, 0 if inactive
position varchar 56 System user position
tblusers
OUTPUT: ERD (IE Style)
This process involves 1.)defining attributes
and then 2.)groups them to form an entity.
BOTTOM-UP DESIGN
ENTITY 1 ENTITY 2 ENTITY n
CONCEPTUAL MODEL
attribute 1
attribute 2
attribute 3
attribute n
attribute 1
attribute 2
attribute 3
attribute n
attribute 1
attribute 2
attribute 3
attribute n
PROCESS 1
PROCESS 2
Define attributes from the
business rules statements.
BOTTOM-UP DESIGN
CASE STUDY: Barangay Issuing Certification System
1. Only authorized Barangay officials can
access the system.
2. Any registered citizen of the Barangay can
request for any certification
(Brgy Certificate, Indigency Certificate, etc).
Attributes
User ID
Official Name
Username
Password
Is Active?
Position
Certificate ID
(PK)
Certificate name
(PK)
Content
Fee / price
Input by
Define attributes from the
business rules statements.
BOTTOM-UP DESIGN
CASE STUDY: Barangay Issuing Certification System
3. The client is required to provide his/her
personal information.
4. The Barangay Secretary will input the
personal information of the client and
requested documents in the system.
Attributes
Account ID
Client Name
Address St.
Birth date
Gender
Civil status
Transaction ID
Account ID
Transaction date
Certificate ID
Input By
Input By
Collection ID
Define attributes from the
business rules statements.
BOTTOM-UP DESIGN
CASE STUDY: Barangay Issuing Certification System
5. The client must pay the requested
certificate fee
6. The Barangay Treasurer will process
the payment
7. The Barangay Secretary will print the requested
document(s).
8. The client must affix their signature and thumb mark on
the requested document(s).
9. The Barangay Captain will sign the requested certificate.
10. The Barangay Secretary will issue the requested
certificate to client.
Attributes
Certificate ID
(PK)
Client ID
OR Number
Amount
Collection ID
Input by
Group the attributes to form an entity
BOTTOM-UP DESIGN
CASE STUDY: Barangay Issuing Certification System
SYSTEM
USER
CERTIFICATE CLIENT TRANSACTION COLLECTION
Each entity type becomes a database table.
Entity attributes become its field/column.
User ID
Official Name
Username
Password
Is Active?
Position
Certificate ID
(PK)
Certificate name
(PK)
Content
Fee / price
Input by
Account ID
Client Name
Address St.
Birth date
Gender
Civil status
Input By
Transaction ID
Account ID
Transaction date
Certificate ID
Collection ID
Input By
Certificate ID
(PK)
Client ID
OR Number
Amount
Collection ID
Input by
CONCEPTUAL MODEL
Refining Attributes
BOTTOM-UP DESIGN
CASE STUDY: Barangay Issuing Certification System
SYSTEM
USER
CERTIFICATE CLIENT TRANSACTION COLLECTION
userid (PK)
acc_name
username
user_password
activestatus
position
certificateid(PK)
(PK)
certificate_name
(PK)
cert_content
price
account_id
(PK)
acc_name
addr_street
birthdate
gender
civil_status
userid
trans_id (PK)
account_id
collectionid
transactiondate
certificateid
userid
certificateid
(PK)
account_id
or_number
amount
collectionid (PK)
Format attributes into table field format
Assign a Primary Key
CONCEPTUAL MODEL
CENTRALIZED DESIGN
Suitable for small project.
Change in the control structure is very easy.
One control object or subsystem ("spider") controls
everything.
Define attributes and form an entity from draft GUI
based on business rules statement(s).
CENTRALIZED DESIGN
CASE STUDY: Barangay Issuing Certification System
1. Only authorized Barangay officials can access the system.
Attributes
User ID
Official Name
Username
Password
Is Active?
Position
SYSTEM
USER
Entity
Define attributes and form an entity from draft GUI
based on business rules statement(s).
CENTRALIZED DESIGN
CASE STUDY: Barangay Issuing Certification System
2. Any registered citizen of the Barangay can request for any
certification (Brgy Certificate, Indigency Certificate, etc).
Attributes
Certificate ID
(PK)
Certificate name
Input by
CERTIFICATE
Rate/Price
Define attributes and form an entity from draft GUI
based on business rules statement(s).
CENTRALIZED DESIGN
CASE STUDY: Barangay Issuing Certification System
2. Any registered citizen of the Barangay can request for any
certification (Brgy Certificate, Indigency Certificate, etc).
Attributes
Certificate name
(PK)
Content
CERTIFICATE
Define attributes and form an entity from draft
GUI based on business rules statement(s).
CENTRALIZED DESIGN
CASE STUDY: Barangay Issuing Certification System
3. The client is required to provide his/her personal information.
4. The Barangay Secretary will input the personal information of the
client and requested documents in the system.
Attributes
Account ID
Client Name
Address St.
Birth date
Gender
Civil status
Input By
CLIENT
Attributes
Transaction ID
Account ID
Transaction date
Certificate ID
Input By
Collection ID
TRANSACTION
Define attributes and form an entity from draft GUI
based on business rules statement(s).
CENTRALIZED DESIGN
CASE STUDY: Barangay Issuing Certification System
5. The client must pay the requested certificate fee.
6. The Barangay Treasurer will process the payment.
Attributes
Certificate ID
(PK)
Client ID
OR Number
Amount
Collection ID
Input by
COLLECTION
Finalize the entities and their attributes
CENTRALIZED DESIGN
CASE STUDY: Barangay Issuing Certification System
Each entity type becomes a database table.
Entity attributes become its field/column.
SYSTEM
USER
CERTIFICATE CLIENT TRANSACTION COLLECTION
userid (PK)
acc_name
username
user_password
activestatus
position
certificateid(PK)
(PK)
certificate_name
(PK)
cert_content
price
account_id
(PK)
acc_name
addr_street
birthdate
gender
civil_status
userid
trans_id (PK)
account_id
collectionid
transactiondate
certificateid
userid
certificateid
(PK)
account_id
or_number
amount
collectionid (PK)
CONCEPTUAL MODEL
DECENTRALIZED DESIGN
Control is distributed.
Spreads out responsibility.
Suitable for large and complex projects.
Define project modules and assign to different group.
Each design group creates a conceptual data model
corresponding to the subset being modeled.
Each design group can use either Top-down, Bottom-up
or centralized as sub-design to create a conceptual data
model.
DECENTRALIZED DESIGN
Define project modules
DECENTRALIZED DESIGN
SYSTEM
USER
CLIENT TRANSACTION COLLECTION
User ID
Official Name
Username
Password
Is Active?
Position
CERTIFICATE
Certificate ID
(PK)
Certificate name
(PK)
Content
Fee / price
Input by
Account ID
Client Name
Address St.
Birth date
Gender
Civil status
Input By
Transaction ID
Account ID
Transaction date
Certificate ID
Collection ID
Input By
Certificate ID
(PK)
Client ID
OR Number
Amount
Collection ID
Input by
ACCOUNTS FORM SETUP ISSUANCE PAYMENT
Barangay Issuing
Certification System
AGGREGATION
CONCEPTUAL MODEL
DATABASE DESIGN STRATEGIES
OUTPUT OF
FOUR (4) DATABASE
DESIGN STRATEGIES
OUTPUT: ERD (IE Style)
OUTPUT: ERD
OUTPUT: Data Dictionary
Field Type Size Description
accid int 11 Primary Key; System User Account ID#
acc_name varchar 64 Account Name
username varchar 128 Username
user_password varchar 255 Password
activestatus tinyint 1 1 value if user is active, 0 if inactive
position varchar 56 System user position
tblusers
SOURCES
1. http://www.myreadingroom.co.in/notes-and-
studymaterial/65-dbms/510-database-design-
strategies.html
2. http://www.cs.unb.ca/~wdu/cs3013/ch6lect2/tsld034.htm
3. Rob & Coronel, Database Systems: Design, Implementation,
& Management:

More Related Content

Similar to Database Design Strategies vhgghghhhhhhhhh

Azure AD B2C Webinar Series: Custom Policies Part 2 Policy Walkthrough
Azure AD B2C Webinar Series: Custom Policies Part 2 Policy WalkthroughAzure AD B2C Webinar Series: Custom Policies Part 2 Policy Walkthrough
Azure AD B2C Webinar Series: Custom Policies Part 2 Policy WalkthroughVinu Gunasekaran
 
Event managementsystem
Event managementsystemEvent managementsystem
Event managementsystemPraveen Jha
 
Document process v7
Document process v7Document process v7
Document process v7Bala Kris
 
Tejas_ppt.pptx
Tejas_ppt.pptxTejas_ppt.pptx
Tejas_ppt.pptxGanuBappa
 
Tejas_ppt (1).pptx
Tejas_ppt (1).pptxTejas_ppt (1).pptx
Tejas_ppt (1).pptxGanuBappa
 
Software Engineering Testing & Research
Software Engineering Testing & Research Software Engineering Testing & Research
Software Engineering Testing & Research Vrushali Lanjewar
 
Event Management System Document
Event Management System Document Event Management System Document
Event Management System Document LJ PROJECTS
 
IT asset management in ServiceDesk Plus
IT asset management in ServiceDesk PlusIT asset management in ServiceDesk Plus
IT asset management in ServiceDesk PlusInuit AB
 
Module establish business data structure
Module  establish business data structureModule  establish business data structure
Module establish business data structureArshad Havaldar
 
C4INFOTECH - SMART ERP
C4INFOTECH - SMART ERPC4INFOTECH - SMART ERP
C4INFOTECH - SMART ERPSajjad Khan
 
Optical Character Recognition based KYC System
Optical Character Recognition based KYC SystemOptical Character Recognition based KYC System
Optical Character Recognition based KYC SystemIRJET Journal
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1DianaGray10
 
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
 
Azure AD B2C Webinar Series: Custom Policies Part 1
Azure AD B2C Webinar Series: Custom Policies Part 1Azure AD B2C Webinar Series: Custom Policies Part 1
Azure AD B2C Webinar Series: Custom Policies Part 1Vinu Gunasekaran
 
Blue Pumpkin (Database+Source Code+lib+Excel)
Blue Pumpkin (Database+Source Code+lib+Excel) Blue Pumpkin (Database+Source Code+lib+Excel)
Blue Pumpkin (Database+Source Code+lib+Excel) nataliej4
 
IT Asset Management in ServiceDesk Plus
IT Asset Management in ServiceDesk PlusIT Asset Management in ServiceDesk Plus
IT Asset Management in ServiceDesk PlusManageEngine
 
Bhadale group of companies - Org service module - Design doc
Bhadale group of companies - Org service module - Design docBhadale group of companies - Org service module - Design doc
Bhadale group of companies - Org service module - Design docVijayananda Mohire
 

Similar to Database Design Strategies vhgghghhhhhhhhh (20)

Azure AD B2C Webinar Series: Custom Policies Part 2 Policy Walkthrough
Azure AD B2C Webinar Series: Custom Policies Part 2 Policy WalkthroughAzure AD B2C Webinar Series: Custom Policies Part 2 Policy Walkthrough
Azure AD B2C Webinar Series: Custom Policies Part 2 Policy Walkthrough
 
Event managementsystem
Event managementsystemEvent managementsystem
Event managementsystem
 
Document process v7
Document process v7Document process v7
Document process v7
 
Tejas_ppt.pptx
Tejas_ppt.pptxTejas_ppt.pptx
Tejas_ppt.pptx
 
Tejas_ppt (1).pptx
Tejas_ppt (1).pptxTejas_ppt (1).pptx
Tejas_ppt (1).pptx
 
Software Engineering Testing & Research
Software Engineering Testing & Research Software Engineering Testing & Research
Software Engineering Testing & Research
 
Just in Time (JiT) Business Rules Mining
Just in Time (JiT) Business Rules MiningJust in Time (JiT) Business Rules Mining
Just in Time (JiT) Business Rules Mining
 
DB Development work
DB Development workDB Development work
DB Development work
 
Event Management System Document
Event Management System Document Event Management System Document
Event Management System Document
 
IT asset management in ServiceDesk Plus
IT asset management in ServiceDesk PlusIT asset management in ServiceDesk Plus
IT asset management in ServiceDesk Plus
 
Module establish business data structure
Module  establish business data structureModule  establish business data structure
Module establish business data structure
 
C4INFOTECH - SMART ERP
C4INFOTECH - SMART ERPC4INFOTECH - SMART ERP
C4INFOTECH - SMART ERP
 
Optical Character Recognition based KYC System
Optical Character Recognition based KYC SystemOptical Character Recognition based KYC System
Optical Character Recognition based KYC System
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
 
Golf Management System
Golf Management SystemGolf Management System
Golf Management System
 
E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)
 
Azure AD B2C Webinar Series: Custom Policies Part 1
Azure AD B2C Webinar Series: Custom Policies Part 1Azure AD B2C Webinar Series: Custom Policies Part 1
Azure AD B2C Webinar Series: Custom Policies Part 1
 
Blue Pumpkin (Database+Source Code+lib+Excel)
Blue Pumpkin (Database+Source Code+lib+Excel) Blue Pumpkin (Database+Source Code+lib+Excel)
Blue Pumpkin (Database+Source Code+lib+Excel)
 
IT Asset Management in ServiceDesk Plus
IT Asset Management in ServiceDesk PlusIT Asset Management in ServiceDesk Plus
IT Asset Management in ServiceDesk Plus
 
Bhadale group of companies - Org service module - Design doc
Bhadale group of companies - Org service module - Design docBhadale group of companies - Org service module - Design doc
Bhadale group of companies - Org service module - Design doc
 

Recently uploaded

Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...poojakaurpk09
 
infant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxinfant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxsuhanimunjal27
 
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...BarusRa
 
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...nirzagarg
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyHire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyNitya salvi
 
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...sonalitrivedi431
 
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...amitlee9823
 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...RitikaRoy32
 
Sweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxSweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxbingyichin04
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Call Girls in Nagpur High Profile
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfParomita Roy
 
DESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- IntroductionDESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- Introductionsivagami49
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...amitlee9823
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...amitlee9823
 

Recently uploaded (20)

Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
 
infant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxinfant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptx
 
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
 
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
Nisha Yadav Escorts Service Ernakulam ❣️ 7014168258 ❣️ High Cost Unlimited Ha...
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls AgencyHire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
Hire 💕 8617697112 Meerut Call Girls Service Call Girls Agency
 
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
 
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
 
Sweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxSweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptx
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
 
DESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- IntroductionDESIGN THINKING in architecture- Introduction
DESIGN THINKING in architecture- Introduction
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 

Database Design Strategies vhgghghhhhhhhhh

  • 2. Four (4) Database Design Strategies Top-down design Bottom-up design Centralized design Decentralized design DATABASE DESIGN STRATEGIES
  • 3. DATABASE DESIGN STRATEGIES Database design strategy approaches is being done during database design of Database Life Cycle (Phase 2). The main data source of database design strategies is the Business Rules. It follows the rules in creating entity relationship diagram.
  • 4. Case Study The secretary and treasurer of Barangay Atate, Palayan City, were experiencing difficulties in generating list of issued certificate and collection report from their manual logbook to be presented during their weekly and monthly sessions. The Barangay Officials then asked the XYZ Team to develop a Barangay Issuing Certification System to solve the problem and will also serve as check and balance tool for their transactions. If we are the XYZ Team, how do we apply the different DB Design Strategies?
  • 5. Case Study Business Rules 1. Only authorized Barangay officials can access the system. 2. Any registered citizen (client) of the Barangay can request for any certification (Brgy Certificate, Indigency Certificate, Business Certificate). 3. The client is required to provide his/her personal information. 4. The Barangay Secretary will input the personal information of the client and requested documents in the system. 5. The client must pay the requested certificate fee (If applicable (optional), Indigency Certificate – No Fee). 6. The Barangay Treasurer will process the payment (If applicable) 7. The Barangay Secretary will print the requested document(s). 8. The client must affix their signature and thumb mark on the requested document(s). 9. The Barangay Captain will sign the requested certificate. 10. The Barangay Secretary will issue the requested certificate to client. 11. The Barangay Secretary will print daily, weekly and monthly reports including list of issued certificate and amount collected that will be certified by Barangay Treasurer and noted by Barangay Captain.
  • 6. This process involves the 1.)identification of different entity types and 2.)the definition of each entity’s attributes. Every entity type should be important in its own right within the problem domain. TOP-DOWN DESIGN ENTITY 1 ENTITY 2 ENTITY n CONCEPTUAL MODEL attribute 1 attribute 2 attribute 3 attribute n attribute 1 attribute 2 attribute 3 attribute n attribute 1 attribute 2 attribute 3 attribute n PROCESS 1 PROCESS 2
  • 7. Identify entities from the business rules statements. TOP-DOWN DESIGN CASE STUDY: Barangay Issuing Certification System 1. Only authorized Barangay officials can access the system. 2. Any registered citizen of the Barangay can request for any certification (Brgy Certificate, Indigency Certificate, etc). 3. The client is required to provide his/her personal information. 4. The Barangay Secretary will input the personal information of the client and requested documents in the system. 5. The client must pay the requested certificate fee. 6. The Barangay Treasurer will process the payment 7. The Barangay Secretary will print the requested document(s). 8. The client must affix their signature and thumb mark on the requested document(s). 9. The Barangay Captain will sign the requested certificate. 10. The Barangay Secretary will issue the requested certificate to client. SYSTEM USER ENTITY CERTIFICATE CLIENT TRANSACTION COLLECTION
  • 8. Define attributes for each entity TOP-DOWN DESIGN SYSTEM USER CERTIFICATE CLIENT TRANSACTION COLLECTION User ID INT(11) (PK) Account Name VARCHAR(128) User Name VARCHAR(64) Password VARCHAR(128) Encrypted Active Status TINYINT(1) Position VARCHAR(56) Certificate ID INT(11) (PK) (PK) Certificate Name VARCHAR(128) (PK) Certificate content LONGBLOB Price DOUBLE Account ID INT(11) (PK) Account Name VARCHAR(255) Addr. Street VARCHAR(255) Birthdate DATE Gender CHAR(1) Civil Status CHAR(18) Input By INT (11) TransactionID BIGINT(19) (PK) Account ID INT(11) Collection ID BIGINT(19) Transaction date DATETIME Certificate ID INT(11) Input By INT (11) Certificate ID INT(11) Account ID INT(11) OR Number BIGINT(19) Amount DOUBLE Collection ID BIGINT(19) (PK)
  • 9. Layout the Conceptual Model TOP-DOWN DESIGN CASE STUDY: Barangay Issuing Certification System SYSTEM USER CERTIFICATE CLIENT TRANSACTION COLLECTION userid (PK) acc_name username user_password activestatus position certificateid(PK) (PK) certificate_name (PK) cert_content price account_id (PK) acc_name addr_street birthdate gender civil_status userid trans_id (PK) account_id collectionid transactiondate certificateid userid certificateid (PK) account_id or_number amount collectionid (PK) Each entity type becomes a database table. Entity attributes become its field/column. CONCEPTUAL MODEL
  • 10. OUTPUT: Data Dictionary Field Type Size Description accid int 11 Primary Key; System User Account ID# acc_name varchar 64 Account Name username varchar 128 Username user_password varchar 255 Password activestatus tinyint 1 1 value if user is active, 0 if inactive position varchar 56 System user position tblusers
  • 11. OUTPUT: ERD (IE Style)
  • 12. This process involves 1.)defining attributes and then 2.)groups them to form an entity. BOTTOM-UP DESIGN ENTITY 1 ENTITY 2 ENTITY n CONCEPTUAL MODEL attribute 1 attribute 2 attribute 3 attribute n attribute 1 attribute 2 attribute 3 attribute n attribute 1 attribute 2 attribute 3 attribute n PROCESS 1 PROCESS 2
  • 13. Define attributes from the business rules statements. BOTTOM-UP DESIGN CASE STUDY: Barangay Issuing Certification System 1. Only authorized Barangay officials can access the system. 2. Any registered citizen of the Barangay can request for any certification (Brgy Certificate, Indigency Certificate, etc). Attributes User ID Official Name Username Password Is Active? Position Certificate ID (PK) Certificate name (PK) Content Fee / price Input by
  • 14. Define attributes from the business rules statements. BOTTOM-UP DESIGN CASE STUDY: Barangay Issuing Certification System 3. The client is required to provide his/her personal information. 4. The Barangay Secretary will input the personal information of the client and requested documents in the system. Attributes Account ID Client Name Address St. Birth date Gender Civil status Transaction ID Account ID Transaction date Certificate ID Input By Input By Collection ID
  • 15. Define attributes from the business rules statements. BOTTOM-UP DESIGN CASE STUDY: Barangay Issuing Certification System 5. The client must pay the requested certificate fee 6. The Barangay Treasurer will process the payment 7. The Barangay Secretary will print the requested document(s). 8. The client must affix their signature and thumb mark on the requested document(s). 9. The Barangay Captain will sign the requested certificate. 10. The Barangay Secretary will issue the requested certificate to client. Attributes Certificate ID (PK) Client ID OR Number Amount Collection ID Input by
  • 16. Group the attributes to form an entity BOTTOM-UP DESIGN CASE STUDY: Barangay Issuing Certification System SYSTEM USER CERTIFICATE CLIENT TRANSACTION COLLECTION Each entity type becomes a database table. Entity attributes become its field/column. User ID Official Name Username Password Is Active? Position Certificate ID (PK) Certificate name (PK) Content Fee / price Input by Account ID Client Name Address St. Birth date Gender Civil status Input By Transaction ID Account ID Transaction date Certificate ID Collection ID Input By Certificate ID (PK) Client ID OR Number Amount Collection ID Input by CONCEPTUAL MODEL
  • 17. Refining Attributes BOTTOM-UP DESIGN CASE STUDY: Barangay Issuing Certification System SYSTEM USER CERTIFICATE CLIENT TRANSACTION COLLECTION userid (PK) acc_name username user_password activestatus position certificateid(PK) (PK) certificate_name (PK) cert_content price account_id (PK) acc_name addr_street birthdate gender civil_status userid trans_id (PK) account_id collectionid transactiondate certificateid userid certificateid (PK) account_id or_number amount collectionid (PK) Format attributes into table field format Assign a Primary Key CONCEPTUAL MODEL
  • 18. CENTRALIZED DESIGN Suitable for small project. Change in the control structure is very easy. One control object or subsystem ("spider") controls everything.
  • 19. Define attributes and form an entity from draft GUI based on business rules statement(s). CENTRALIZED DESIGN CASE STUDY: Barangay Issuing Certification System 1. Only authorized Barangay officials can access the system. Attributes User ID Official Name Username Password Is Active? Position SYSTEM USER Entity
  • 20. Define attributes and form an entity from draft GUI based on business rules statement(s). CENTRALIZED DESIGN CASE STUDY: Barangay Issuing Certification System 2. Any registered citizen of the Barangay can request for any certification (Brgy Certificate, Indigency Certificate, etc). Attributes Certificate ID (PK) Certificate name Input by CERTIFICATE Rate/Price
  • 21. Define attributes and form an entity from draft GUI based on business rules statement(s). CENTRALIZED DESIGN CASE STUDY: Barangay Issuing Certification System 2. Any registered citizen of the Barangay can request for any certification (Brgy Certificate, Indigency Certificate, etc). Attributes Certificate name (PK) Content CERTIFICATE
  • 22. Define attributes and form an entity from draft GUI based on business rules statement(s). CENTRALIZED DESIGN CASE STUDY: Barangay Issuing Certification System 3. The client is required to provide his/her personal information. 4. The Barangay Secretary will input the personal information of the client and requested documents in the system. Attributes Account ID Client Name Address St. Birth date Gender Civil status Input By CLIENT Attributes Transaction ID Account ID Transaction date Certificate ID Input By Collection ID TRANSACTION
  • 23. Define attributes and form an entity from draft GUI based on business rules statement(s). CENTRALIZED DESIGN CASE STUDY: Barangay Issuing Certification System 5. The client must pay the requested certificate fee. 6. The Barangay Treasurer will process the payment. Attributes Certificate ID (PK) Client ID OR Number Amount Collection ID Input by COLLECTION
  • 24. Finalize the entities and their attributes CENTRALIZED DESIGN CASE STUDY: Barangay Issuing Certification System Each entity type becomes a database table. Entity attributes become its field/column. SYSTEM USER CERTIFICATE CLIENT TRANSACTION COLLECTION userid (PK) acc_name username user_password activestatus position certificateid(PK) (PK) certificate_name (PK) cert_content price account_id (PK) acc_name addr_street birthdate gender civil_status userid trans_id (PK) account_id collectionid transactiondate certificateid userid certificateid (PK) account_id or_number amount collectionid (PK) CONCEPTUAL MODEL
  • 25. DECENTRALIZED DESIGN Control is distributed. Spreads out responsibility. Suitable for large and complex projects. Define project modules and assign to different group. Each design group creates a conceptual data model corresponding to the subset being modeled. Each design group can use either Top-down, Bottom-up or centralized as sub-design to create a conceptual data model.
  • 27. Define project modules DECENTRALIZED DESIGN SYSTEM USER CLIENT TRANSACTION COLLECTION User ID Official Name Username Password Is Active? Position CERTIFICATE Certificate ID (PK) Certificate name (PK) Content Fee / price Input by Account ID Client Name Address St. Birth date Gender Civil status Input By Transaction ID Account ID Transaction date Certificate ID Collection ID Input By Certificate ID (PK) Client ID OR Number Amount Collection ID Input by ACCOUNTS FORM SETUP ISSUANCE PAYMENT Barangay Issuing Certification System AGGREGATION CONCEPTUAL MODEL
  • 28. DATABASE DESIGN STRATEGIES OUTPUT OF FOUR (4) DATABASE DESIGN STRATEGIES
  • 29. OUTPUT: ERD (IE Style)
  • 31. OUTPUT: Data Dictionary Field Type Size Description accid int 11 Primary Key; System User Account ID# acc_name varchar 64 Account Name username varchar 128 Username user_password varchar 255 Password activestatus tinyint 1 1 value if user is active, 0 if inactive position varchar 56 System user position tblusers