summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-01-19 15:56:05 -0700
committermo khan <mo.khan@gmail.com>2020-01-19 15:56:05 -0700
commite04bcff71a84c0f676c96e6c0c685ee894f79a51 (patch)
treef5dc06bcbcf41e7c175c6c5f5f90666f55410c39
parentef34060f6582706f4c8cec9b7a1e296a67e1c80e (diff)
Complete unit 4
-rw-r--r--doc/unit-4.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/unit-4.md b/doc/unit-4.md
index 436acd6..2a159ac 100644
--- a/doc/unit-4.md
+++ b/doc/unit-4.md
@@ -332,3 +332,24 @@ Guidelines:
7. If the key for the index is used to determine the location where the record will be stored then a surrogate key should be used.
8. Check DBMS for limits on the # of indexes on a table. (limits include # of indexes, and size of index)
9. Be careful indexes attributes that have null values. some systems don't index `null` so sequential scan is needed for `null` value.
+
+### Designing a database for optimal query performance
+
+Primary purpose of database design is to optimize the performance of database processing.
+
+Parallel query processing
+
+## Summary
+
+denormalization transforms normalized relations into non-normalized implementations specs.
+Horizontal paritioning breaks a relation into multiple record specifications by placing different
+rows into different tables, based on common column values.
+Vertical partitioning distributes the columns of a relation into separate files, repeating the primary key in each of the files.
+
+A physical file is a named portion of secondary memory for storing physical records.
+
+A file organization arranges the records of a file on a secondary storage.
+
+1. sequential
+2. indexed (most popular)
+3. hashed