topic 5 Flashcards
(19 cards)
what is structured data
Data that is organized in a clear format, usually in rows and columns
what is unstructured data
Data that is unorganized, and has no clear structure.
The Value of Extracting Meaningful Information from Data
Better decision-making
Improved efficiency (e.g. finding process bottlenecks)
Customer targeting
Competitive advantage
Forecasting trends
Example: A company analyzes social media comments (unstructured) and sales records (structured) to improve product design
what is data
raw facts that are unorganized and have no context
what is information
data that is organized and has context, given in a way so as to make it useful
examples of structured data
databases
spreadsheets
online forms
examples of unstructured data
emails
videos
soical media
chats
why are databases used to structure data
Organise data clearly and consistently
π Search, sort, and filter data quickly
π Improve data accuracy (integrity). using rules like data types and primary keys
Reduce duplication. Databases use relationships between tables (via foreign keys), so the same data isnβt stored multiple times.
π₯ Allow multiple users to safely access and manage dat
what is a table
it stores data in rows and coloumns
what is a primary key
a unique identifier for each record in a table
what is a foreign key
A field in one table that links to a primary key in another table
what is a composite key
A combination of two or more fields used together as a primary key
what is a record
a row in a table
what is a field
a column in a table
what is an entity
An entity is something you want to store data about in a database
what is the one-to-one entity relationship
One record in one table relate to another record in another table
what is the one-to-many entity relationsbip
One record in one table relate to many records in another. ex-One Customer can place many orders, but each Order belongs to one customer.
what is the many-to-many relationship
Many records in one table relate to many records in another
disadvantages of using databases to structure data
-
Setup Time and Cost
Designing and building a good database takes time and expertise. -
Complexity
managing relationships, and writing queries can be complex for beginners. -
Maintenance Required
Regular updates, backups, and optimisations are needed. -
Less Flexibility for Unstructured Data
Databases are not suited for storing things like video, social media posts, or documents without extra effort. -
Performance Issues at Scale (If Poorly Designed)
A poorly structured database can become slow as data grows.