Design - Data Storage Design Flashcards
Data Storage Design
How do we begin Data Storage Design?
Start with the logical data model from the analysis stage (ERD Diagram)
Decide on the data storage format, then the logical data model is modified to reflect this implementation decision.
What are the main types of data format?
Structured:
- SQL
Semi-Structured:
- XML
- JSON
Un-structured Data:
- Images
- Audio Files
- Documents
- Emails etc.
What are the types of data to manage?
Master Data
- Data about the business entities that provide context for the - business transactions
- Customers, Suppliers, products…
- Mr, Mike Jones, Address, DOB…
Transactional Data
- Data that refers to the transactions that take place and references master data e.g. when a product is sold or purchased
- Customer X purchases product Y for 10 pounds on 2021.11.08
Reference Data
- Data that is used to classify or categorise other data
- Country codes, units of measurement
- UK,DE,FR.
What are the two main types of data storage formats?
Files
Databases
What are the pros and cons of CSV files?
Pros: Simple and easy to use
Cons: Need to write your own data structure and access protocols and code
What are the pros and cons of XML Files?
Pros: Extensible structure. Allows for strong data typing.
Cons: Verbose, Fussy formatting.
What are the pros and cons of JSON Files?
Pros: Easier to handle structured data. Less verbose than XML, cleaner formatting
Cons: Newer. Not as much handles JSON (compared to XML)