CH 4. p.61.
Normalization - reduce redundancy (will reduce performance due to more JOINs, will use more CPU/mem/IO).
Denormalization. Combines tables, controlled redundancy. Increased performance.
CH 6. Transaction.
Commit, Rollback, Savepoint
CH 8. All, Some, Any
CH 9. Aggregate functions.
CH 10. Sorting and Grouping.
Group by.
- rollup - get subtotal
- cube - crosstab reports
- having - GROUP BY/HAVING is similar to SELECT/WHERE
- p. 243. UNION (no duplicate rows), UNION ALL (including duplicate rows).
- INTERSECT
- EXCEPT
CH 16. p. 256. Indexes.
- When to avoid using indexes.. p. 261
CH 17. Improve DB performance
- DB tuning / SQL tuning
- To avoid full table scan, then use Index
CH 18. Manage DB Users
- Schema - a collection of DB objects that a user owns.
- DB user - aschema owner
- Default schema - dbo (db owner)
CH 19. p. 299. Manage DB security.
- Privilege
- Control user access. GRANT, REVOKE, ROLE
CH 20. View, Synonym
CH 21. System Catalog
CH 22. Advanced SQL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment