1.3.2 DATABASES

25 Karteikartenvon Sabs2023
Diese Karteikarten lernenKostenlos · Spaced Repetition · iPhone, Android, Mac & Web

Alle Karten

1
Whats the purpose of ACID?
TO ensure data integrity, guarantees transactions are processed reliably.
2
What are the words in ACID?
ATOMICITY CONSISTENCY ISOLATION DURABILITY
3
ATOMICITY?
A transaction must be processed in its entirety or not at all,
4
CONSISTENCY?
A transaction must not violate any of the defined validation rules(including referential integrity)
5
ISOLATION?
Simultaneous executions of transactions should lead to the same result as if they were executed one after the other,
6
DURABILITY?
Once a transaction has been committed it will remain so regardless of the circumstances surrounding it, such as in the event of a power cut.
7
WHAT UIS REFERENTIAL INTEGRITY
It means that no foreign key in one table can reference a non-existent record in another related table
8
HOW TO GET TO 1ST NORMAL FORM(1NF)
1) All field names must be unique
2)Values in fields should be of same type.
3)Values in fields should be atomic.
4)No two records can be identical
5)Each table needs a primary key.
9
HOW TO GET TO 2ND NORMAL FORM(2NF)
1)Data is already in 1NF
2) Any partial dependencies have been removed(remove any many to many relationships formed)
10
WHAT IS partial dependencies?
Its when a field only partially depends on the primary key.
11
How to fix many to many relationships.
1) Create a linking table
2) Assign the primary keys from the two tables to the linking table as composite key.
3) Flip the many to many arrows to become two separate one to many arrows.
12
HOW TO GET TO 3RD NORMAL FORM
1) Data is already in 2NF
2) Remove any transitive dependencies
13
What is transitive dependencies
It is when the value of a field can be determined by another field which is not the primary key
14
What is redundancy?
Duplicate data in another hardware that mirrors every transaction and takes over as backup
15
What is record locking
Prevents simultaneous access to records in databases to prevent updates being lost or inconsistences occurring.
16
WHAT IS SQL?
It is a declarative language used for fast CRUD in databases.
17
How to use LIKE
WHERE name LIKE "A%"
18
HOW TO INSERT NEW RECORD DATA
INSERT INTO <table name> (<field1>,<field2>)
VALUES(<value1>,<value2>)
19
HOW TO DELETE RECORDS
DELETE FROM <table name>
WHERE <field name> = <condition>
20
HOW TO JOIN TABLES . You specify the fields you want to join(foreign keys)
JOIN <table name1>
ON <tablename2>.<field2> = <table name1>.<field1>
21
HOW TO DROP TABLE
DROP TABLE <table name>
22
ways to capture data
-manual
-OCR(character)
-OMR(mark)
- barcode readers
23
formats used for exchange of databse info
XML and JSON
24
methods of exchange
manual methods like memory sticks
EDI used for automatic exchange of data between computers.
25
DBMS?
database management system used to make transactions reliable and for data integrity
Alle 25 Karten kostenlos lernen

Mehr Karteikarten: Informatik

Computers in society:261 KartenInformatik · EnglischCalLecture 1 + Lecture 1 (IDK)50 KartenInformatik · EnglischAmoghCommunications Technology in Information Systems42 KartenInformatik · Englisch—Griffith—Bits & Data Representation Study Guide37 KartenInformatik · EnglischSgDatabase31 KartenInformatik · EnglischFaizahSection 10-Computational methods 25 KartenInformatik · EnglischDsoboDeep Learning19 KartenInformatik · Englisch김정환Week 3 - Data Representation14 KartenInformatik · Englisch—Griffith—Social Media and Competitive Advantage9 KartenInformatik · EnglischJoshNetwork Security (NETSEC)310 KartenInformatik · EnglischEdsonComputer Hardware Basic Study Guide100 KartenInformatik · EnglischSgCisco Networking and CCNA Concepts75 KartenInformatik · EnglischManethel

Alle Decks: Informatik

Lerne diese Decks in der App

Kostenlos auf iPhone, Android, Mac und im Web. Füge jedes Deck mit einem Tipp zu deinem Konto hinzu.

Laden im App StoreJetzt bei Google Play
Alle 25 Karten kostenlos lernen