Relational Database Concepts

Beschreibung

A2 ICT (5. Relational Database Concepts) Mindmap am Relational Database Concepts, erstellt von eleanorbradbury am 11/04/2013.
eleanorbradbury
Mindmap von eleanorbradbury, aktualisiert more than 1 year ago
eleanorbradbury
Erstellt von eleanorbradbury vor mehr als 11 Jahre
365
1

Zusammenfassung der Ressource

Relational Database Concepts
  1. data base terminology
    1. tables- contain data about items, made of rows and columns they must have unique names
      1. records - single row within a table, contains data about a single item or event
        1. fields - idividual items of data in a record, also know as attributes
          1. keys - primary key, single field that is a unique ID for the record
            1. composite primiary key - where two or more fields make up the primary key
              1. foreign key - primary key in another table, field in another, used to join the two together
                1. secondary key - used to index a field
                2. entities
                  1. single objects or processes
                    1. information about things
                      1. each entity becomes a table
                        1. entities linked by relationships
                        2. relationships
                          1. links between entities/tables
                            1. one to one- where one record in a table is linked to only one record in another table
                              1. one to many - one record in a table is linked to many records in a second table
                                1. many to many - the many link goes both ways between two tables
                                2. referential integrity
                                  1. ensuring that for every record in a table with a foreign key, there is a record in the corresponding table with the primary key
                                  2. normalisation
                                    1. process applied to data structures
                                      1. decreases redundancy
                                        1. increases integrity
                                          1. first normal form
                                            1. every data value is atomic
                                              1. no repeating data
                                                1. primary key
                                                2. second normal form
                                                  1. must be in 1NF
                                                    1. non-key attributes are dependant on the entire primary key
                                                    2. third normal form
                                                      1. in 2NF
                                                        1. no functional dependancy between non-key items
                                                        2. advantages of normalisation
                                                          1. removes redundancy
                                                            1. increases consistency
                                                              1. increases integrity
                                                                1. easier maintenance
                                                                  1. flexibility for future expansion
                                                                  2. disadvantages of normalisation
                                                                    1. reduced database performance
                                                                      1. problems with hostorical calculations
                                                                    2. data dictionary
                                                                      1. database about a database
                                                                        1. contains design details about the database
                                                                          1. includes table name, field name, data type, length, validation, relationships, security
                                                                          2. datatypes
                                                                            1. text/string - anything not requiring a calculation
                                                                              1. integer, whole numbers only, not telephone numbers
                                                                                1. real, numbers with decimal places
                                                                                  1. boolean - one of two values
                                                                                    1. date/time - store age , dates, times
                                                                                      1. look to see what the data will be used for
                                                                                      2. parameters
                                                                                        1. simple query
                                                                                          1. query where there is only one parameter
                                                                                          2. complex query
                                                                                            1. a query with more than one parameter
                                                                                              1. makes use of AND, OR and NOT to join paramters
                                                                                              2. static
                                                                                                1. parameter is hard coded into the query and cannot be changed by the end user
                                                                                                2. dynamic
                                                                                                  1. request for the parameter given to the end user at run time usually by a dialogue box
                                                                                                Zusammenfassung anzeigen Zusammenfassung ausblenden

                                                                                                ähnlicher Inhalt

                                                                                                Types and Components of Computer Systems
                                                                                                Jess Peason
                                                                                                Input Devices
                                                                                                Jess Peason
                                                                                                Output Devices
                                                                                                Jess Peason
                                                                                                Networks
                                                                                                Will8324
                                                                                                General ICT Quiz
                                                                                                leahshaw
                                                                                                ICT Revison Flash Cards
                                                                                                Arun Johal
                                                                                                FLAT FILE VS RELATIONAL DATABASE
                                                                                                rosiejones
                                                                                                Online World - Learning Aim A
                                                                                                andysedge
                                                                                                Business Aims and ICT Strategies
                                                                                                scrt
                                                                                                User Interfaces
                                                                                                Skeletor
                                                                                                General ICT Quiz
                                                                                                Jade Fantom