Database Design announcement
-
Link
The following list of database design resources is not intended to be exhaustive or ‘the correct list’. Items are included simply because one of the Moderators knew the material and offered it as a suggestion. If you wish to offer suggestions for inclusion, please do so.
Books
A Developer's Guide to Data Modeling for SQL Server: Covering SQL Server 2005 and 2008
Eric Johnson and Joshua Jones
An Introduction to Database Systems
Chris Date
Applied Mathematics for Database Professionals
Lex de Haan, Toon Koppelaars
Architecting Regulatory-Compliant Architectures
Mike Walker, MicrosoftGraeme Simsion and Graham Witt
Database Modeling and Design: Logical Design
Toby Teorey
Information Modeling and Relational Databases
Terry Halpin
Practical Issues in Database Management: A Reference for the Thinking Practitioner
Fabian Pascal
Pro SQL Server 2008 Relational Database Design and Implementation
Louis Davidson, Kevin Kline, et al
Online Resources
A Simple Guide to Five Normal forms and Relational Database Theory
http://www.bkent.net/Doc/simple5.htmData Modeling vs. Database Design
http://www.aisintl.com/case/library/R-Theory_vs_ER/r-theory_vs_er.htmlData Models
http://www.databaseanswers.org/data_models/index.htmDatabase Design - Ten Common Database Design Mistakes, Louis Davidson
http://www.simple-talk.com/sql/database-administration/ten-common-database-design-mistakes/Database Design Issues -EAV Model Discussion (Querying an EAV Table)
http://tinyurl.com/yks8huDatabase Design Issues –EAV and OTLT
http://tonyandrews.blogspot.com/2004/10/otlt-and-eav-two-big-design-mistakes.htmlDatabase Design ROI by Paul Nielsen
http://www.sqlserverbible.com/files/databasedesignroi.pdfIntroduction to the Unified Dimensional Model (UDM)
http://technet.microsoft.com/en-us/library/ms345143(SQL.90).aspxLibrary of database models
http://www.databaseanswers.org/data_models/On Normalization and Repeating Groups by Fabian Pascal
http://www.dbdebunk.com/page/page/622318.htmORM white paper
http://www.orm.net/pdf/ORMwhitePaper.pdfOverview of the Relational Model
http://www.utexas.edu/its/archive/windows/database/datamodeling/rm/overview.htmlUnderstanding Data Model Quality, Graeme Simsion
http://www.tdan.com/view-articles/5100 -
Link
Out of Scope
Some topics are out of scope for this forum.
1. Bugs, Product Decisions, and Feedback: The purpose of this forum is not to ask the product team why decisions were made and to ask them to make other changes. That feedback belongs in Connect. The purpose of this forum is to help you out with specific issues, if possible. Please post your feedback via Connect:
https://connect.microsoft.com/SQLServer
Rules of Conduct
· Relevance to Topics: We encourage you to keep your postings as close to the subject as possible.
· Respect: Please be respectful of other participants, and their contributions; avoiding insults, demeaning remarks and slurs.
· Tolerance: Please don’t assume someone’s curtness was meant to insult, slur, or demean you.
· Confidentiality: Confidential information should not be posted. This is a publicly available forum.
· Appropriate Language: Please keep the conversation on a professional level, avoiding any hint of profanity in your interactions.
· Advertising/Solicitation: Advertisements should not be posted, and will be removed.
Forum Moderators may, at their discretion, edit posts for clarity, readability and inappropriate language; split post into separate threads when appropriate; and delete post that do not positively contribute to the thread. Failure to comply with these 'Rules of Conduct' may result in your posts being edited to remove the offending comments, censure, or expulsion from participating in the Forums. The bottom line is: this Forum should feel like a ‘safe’ place to ask hard questions that invoke passionate responses.
Marking AnswersBy their very nature, many database design questions will not have a easily decernible 'answer'. You are encouraged to give folks 'credit' for helping you when appropriate. If someone's response was 'Helpful', use the 'Vote as Helpful' button. If a response answered some part of your question, or provided you one or more clues that led you to a solution, then use the 'Mark as Answer' option. Just as a thread may evolve into multiple questions, it may also have more than one 'Answer'.
Welcome to the Database Design Forum
This is a Forum for questions and discussions about database designs for Microsoft technologies, including: SQL Server, Access, SQL Azure, SQL Express, SQL Compact, etc. Often Database Designs will be generic and can be ported to any vendor's technology. Design problems that are best solved with other technologies will be welcomed and addressed to the best of our knowledge and ability.
We ask that you recognize that database design is a mixture of art and science. You may receive conflicting suggestions, for there can be multiple paths to a workable solution. You will have to use your own judgment and knowledge of your business requirements to determine the best solution for your particular problem. The 'right' design is compounded by many factors, including business, regulatory, hardware/software requirements, as well as staff expertise. We also encourage you to share your experiences with a particular design issue if it will serve to help others encountering similar problems.
In order to receive useful responses, please spend some time and properly present your scenario. Attempts to 'save time and effort' by cutting out parts of the scenario will often lead to wasted time and effort as the suggestions have to be discarded because they don't work with other parts of the unseen puzzle.
But there are limits to what you can expect from volunteers through a disconnected medium. The questions most likely to receive a good and targeted answer, are those that present a small problem, that give a very clear description of that problem within its context, and that are placed by people with a fair understanding of the subject who need help getting over a few nasty bumps. The questions that are almost impossible to answer satisfactorily are those that present a huge problem, with no clear description, and asked by someone totally new to the subject matter.
We hope that you will understand when we say that most of us that volunteer our time on this Forum do so in order to help folks learn. We will be pleased if you find the Forum to be useful. However, it is difficult or impossible for us to engage with folks privately. We don't have time to do both, and our commitment is help folks using the Forums.
Do not hesitate to read all of the threads, join in the discussions, offer your own experiences and information, and ask questions to increase your knowlege. Seek out blogs from those who write in a manner that you appreciate, and consider reviewing the Database Design Resources for additional guidance and help.
-
0 Votes
POSTING TIPS - Code, Diagrams, Hyperlinks, Details
When you're posting a question - please search the forum first! If that fails, and you wish to include T-SQL, C#, or VB code in your post, see below. If you want to show us a database ...
-
0 Votes
database -allow_snapshot_isolation on and read_committed_snapshot
Hi our sql server versions 2016 SP2 enterprise and having deadlock our the period of time. so Application team adviced to enable following setting DB level . Pleas note these DB are ...Unanswered | 8 Replies | 3649 Views | Created by ashwan - Friday, August 14, 2020 10:36 AM | Last reply by Erland Sommarskog - Thursday, August 20, 2020 9:01 PM -
0 Votes
Discussion board type of forum based on SQL
Hello, I have been asked to find a discussion board type of forum based on SQL that can be used in the office internally. We are not looking for anything that is cloud based ...Proposed | 3 Replies | 3667 Views | Created by Vallee18 - Friday, August 7, 2020 1:45 PM | Last reply by Vallee18 - Wednesday, August 19, 2020 8:13 PM -
0 Votes
Always Encrypted
Hi, As everyone we are aware of the limitations on Always Encrypted concept like below. a. Look for unsupported query patterns in ETL and identify ...Unanswered | 2 Replies | 2673 Views | Created by kartheek Vasantha - Friday, August 14, 2020 7:01 AM | Last reply by Amelia Gu - Monday, August 17, 2020 8:19 AM -
1 Votes
Help me to create ERD?
For each book reviewProposed | 6 Replies | 3523 Views | Created by AX_Malik - Tuesday, August 11, 2020 3:16 PM | Last reply by MIAOYUXI - Monday, August 17, 2020 1:11 AM -
0 Votes
Adding mulitple MDF /NDF files to large databases
We are provisioning a database which is expected to growth rate 2 TB per year. Sql server 2016 SP2 Enterprise question related to creating multiple ...Unanswered | 1 Replies | 3346 Views | Created by ashwan - Thursday, August 13, 2020 6:28 AM | Last reply by Amelia Gu - Friday, August 14, 2020 8:41 AM -
0 Votes
One database vs. multiple-- which is better?
Is it better to separate concerns if I'm using several dozen tables, into separate databases, or to keep all tables together in a single database? I have a few ...Answered | 4 Replies | 3764 Views | Created by bennyboy1973 - Monday, August 10, 2020 11:36 PM | Last reply by bennyboy1973 - Wednesday, August 12, 2020 2:17 AM -
0 Votes
SQL Cluster date integrity
Hi there, We are evaluating database solutions for our upcoming eCommerce project, and trying to finalize if we use MS SQL cluster or MySQL. Besides many aspects to be considered, ...Proposed | 2 Replies | 3141 Views | Created by Grace 86 - Thursday, August 6, 2020 6:27 AM | Last reply by TiborK - Thursday, August 6, 2020 2:09 PM -
0 Votes
Trailing Spaces
Hi I have a pretty simple table setup with 3 columns- ID (PK) SettingName (nvarchar(100)) SettingValue ...Answered | 3 Replies | 3287 Views | Created by NachoShaw - Tuesday, August 4, 2020 8:17 AM | Last reply by NachoShaw - Tuesday, August 4, 2020 10:20 PM -
0 Votes
[Announcement] SQL server related Forums will be migrated to a new home on Microsoft Q&A!
This SQL Server related Forum will be migrated to a new home on Microsoft Q&A! We’ve listened to your feedback on how we can enhance the ... -
0 Votes
Tempdb not using all files
SQL 2017 Our tempdb is comprised of multiple data files, and 1 log file. The very first data file appears to be the only one getting used. But I'm only basing that ...Answered | 3 Replies | 4079 Views | Created by andremg - Wednesday, July 22, 2020 11:19 PM | Last reply by TiborK - Monday, August 3, 2020 7:08 AM -
3 Votes
LCK_M_S locks are matter to consider
Hi I have seen following waits on sql server and seen it LCK_M_S. So would that be matter to consider as performance point . select ...Unanswered | 5 Replies | 7596 Views | Created by ashwan - Wednesday, July 29, 2020 7:43 AM | Last reply by Erland Sommarskog - Saturday, August 1, 2020 8:24 AM -
0 Votes
SQL Server 2016 - Always On
Hi Team, The SQL server we are currently with 2016 clustering, based on the organization we are moving from clustering to Always On. Overview of our DB: All are OLTP ...Unanswered | 5 Replies | 3674 Views | Created by MvKalyan - Tuesday, July 28, 2020 10:43 AM | Last reply by MIAOYUXI - Friday, July 31, 2020 6:17 AM -
0 Votes
over terabyte database with a single datafile
Hi We have 2016 enterprise edition , and always on enabled. DB size is now over 2 TB on one data file(mfd) . creating multiple data file would that get ...Proposed | 2 Replies | 3356 Views | Created by ashwan - Tuesday, July 28, 2020 9:52 PM | Last reply by Cris Zhan - Wednesday, July 29, 2020 8:44 AM -
1 Votes
Database design
Suppose I have employees and departments where one employee can belong to different department with different role. For example Emp 1 belongs to Dept 1 with role manager. where the ...Proposed | 3 Replies | 3980 Views | Created by nahid940 - Friday, July 24, 2020 8:12 AM | Last reply by Uri Dimant - Monday, July 27, 2020 3:57 AM -
0 Votes
check if the field value is in last 13 month value if not assign the last 13th month begining
Hi All, I have this scenario where I do not have a record in the table but iam trying to associate associate the row with a ...Unanswered | 9 Replies | 5288 Views | Created by SQLServerRaj - Wednesday, July 22, 2020 12:51 AM | Last reply by MIAOYUXI - Monday, July 27, 2020 12:19 AM -
3 Votes
Select query block inset query
Hi, Recently we found some blocking scenario in SQL Server Production environment. After checking I found it was select query which was executing on a 'employee' table at the same ...Proposed | 6 Replies | 5007 Views | Created by arifulhaq - Saturday, July 18, 2020 8:53 AM | Last reply by Cris Zhan - Friday, July 24, 2020 1:20 AM -
0 Votes
Incremental Load: What is the best approach and db design to deal with millions of records?
Hi All, Lots of questions came to my mind when I started designing an incremental approach in one of our requirement. Please suggest the best options to resolve those ...Unanswered | 6 Replies | 5382 Views | Created by Julie Elizebeth Sam - Sunday, July 19, 2020 7:51 PM | Last reply by Tom Phillips - Monday, July 20, 2020 4:03 PM -
4 Votes
Data warehouse Loading strategy question
Hi All, We have an SQL Database in DWH design, which is truncated and loaded every night in a batch process. However, sometimes the DW Load fails and leaves the DW tables empty due ...Answered | 6 Replies | 4369 Views | Created by Ashu_Blueray - Tuesday, July 14, 2020 1:08 PM | Last reply by jakubk - Monday, July 20, 2020 3:31 AM -
0 Votes
Permission question
What are the minimum permissions needed to view a database diagram, and what permissions are needed to create a database diagram in sql server management studio?Answered | 2 Replies | 3973 Views | Created by sqlguy10 - Sunday, July 19, 2020 7:06 PM | Last reply by sqlguy10 - Monday, July 20, 2020 12:36 AM -
0 Votes
Data Model for Incremental data laod
Hi All, I have a request for loading larger set of data on a daily basis. Expecting to get minimum 2.5 lakhs of data per day. We need to generate reports out of it. Basically, we ...Proposed | 2 Replies | 4703 Views | Created by Julie Elizebeth Sam - Saturday, April 18, 2020 11:00 AM | Last reply by Julie Elizebeth Sam - Sunday, July 19, 2020 7:31 PM - Items 1 to 20 of 4628 Next ›
Database Design announcement
-
Link
The following list of database design resources is not intended to be exhaustive or ‘the correct list’. Items are included simply because one of the Moderators knew the material and offered it as a suggestion. If you wish to offer suggestions for inclusion, please do so.
Books
A Developer's Guide to Data Modeling for SQL Server: Covering SQL Server 2005 and 2008
Eric Johnson and Joshua Jones
An Introduction to Database Systems
Chris Date
Applied Mathematics for Database Professionals
Lex de Haan, Toon Koppelaars
Architecting Regulatory-Compliant Architectures
Mike Walker, MicrosoftGraeme Simsion and Graham Witt
Database Modeling and Design: Logical Design
Toby Teorey
Information Modeling and Relational Databases
Terry Halpin
Practical Issues in Database Management: A Reference for the Thinking Practitioner
Fabian Pascal
Pro SQL Server 2008 Relational Database Design and Implementation
Louis Davidson, Kevin Kline, et al
Online Resources
A Simple Guide to Five Normal forms and Relational Database Theory
http://www.bkent.net/Doc/simple5.htmData Modeling vs. Database Design
http://www.aisintl.com/case/library/R-Theory_vs_ER/r-theory_vs_er.htmlData Models
http://www.databaseanswers.org/data_models/index.htmDatabase Design - Ten Common Database Design Mistakes, Louis Davidson
http://www.simple-talk.com/sql/database-administration/ten-common-database-design-mistakes/Database Design Issues -EAV Model Discussion (Querying an EAV Table)
http://tinyurl.com/yks8huDatabase Design Issues –EAV and OTLT
http://tonyandrews.blogspot.com/2004/10/otlt-and-eav-two-big-design-mistakes.htmlDatabase Design ROI by Paul Nielsen
http://www.sqlserverbible.com/files/databasedesignroi.pdfIntroduction to the Unified Dimensional Model (UDM)
http://technet.microsoft.com/en-us/library/ms345143(SQL.90).aspxLibrary of database models
http://www.databaseanswers.org/data_models/On Normalization and Repeating Groups by Fabian Pascal
http://www.dbdebunk.com/page/page/622318.htmORM white paper
http://www.orm.net/pdf/ORMwhitePaper.pdfOverview of the Relational Model
http://www.utexas.edu/its/archive/windows/database/datamodeling/rm/overview.htmlUnderstanding Data Model Quality, Graeme Simsion
http://www.tdan.com/view-articles/5100 -
Link
Out of Scope
Some topics are out of scope for this forum.
1. Bugs, Product Decisions, and Feedback: The purpose of this forum is not to ask the product team why decisions were made and to ask them to make other changes. That feedback belongs in Connect. The purpose of this forum is to help you out with specific issues, if possible. Please post your feedback via Connect:
https://connect.microsoft.com/SQLServer
Rules of Conduct
· Relevance to Topics: We encourage you to keep your postings as close to the subject as possible.
· Respect: Please be respectful of other participants, and their contributions; avoiding insults, demeaning remarks and slurs.
· Tolerance: Please don’t assume someone’s curtness was meant to insult, slur, or demean you.
· Confidentiality: Confidential information should not be posted. This is a publicly available forum.
· Appropriate Language: Please keep the conversation on a professional level, avoiding any hint of profanity in your interactions.
· Advertising/Solicitation: Advertisements should not be posted, and will be removed.
Forum Moderators may, at their discretion, edit posts for clarity, readability and inappropriate language; split post into separate threads when appropriate; and delete post that do not positively contribute to the thread. Failure to comply with these 'Rules of Conduct' may result in your posts being edited to remove the offending comments, censure, or expulsion from participating in the Forums. The bottom line is: this Forum should feel like a ‘safe’ place to ask hard questions that invoke passionate responses.
Marking AnswersBy their very nature, many database design questions will not have a easily decernible 'answer'. You are encouraged to give folks 'credit' for helping you when appropriate. If someone's response was 'Helpful', use the 'Vote as Helpful' button. If a response answered some part of your question, or provided you one or more clues that led you to a solution, then use the 'Mark as Answer' option. Just as a thread may evolve into multiple questions, it may also have more than one 'Answer'.
Welcome to the Database Design Forum
This is a Forum for questions and discussions about database designs for Microsoft technologies, including: SQL Server, Access, SQL Azure, SQL Express, SQL Compact, etc. Often Database Designs will be generic and can be ported to any vendor's technology. Design problems that are best solved with other technologies will be welcomed and addressed to the best of our knowledge and ability.
We ask that you recognize that database design is a mixture of art and science. You may receive conflicting suggestions, for there can be multiple paths to a workable solution. You will have to use your own judgment and knowledge of your business requirements to determine the best solution for your particular problem. The 'right' design is compounded by many factors, including business, regulatory, hardware/software requirements, as well as staff expertise. We also encourage you to share your experiences with a particular design issue if it will serve to help others encountering similar problems.
In order to receive useful responses, please spend some time and properly present your scenario. Attempts to 'save time and effort' by cutting out parts of the scenario will often lead to wasted time and effort as the suggestions have to be discarded because they don't work with other parts of the unseen puzzle.
But there are limits to what you can expect from volunteers through a disconnected medium. The questions most likely to receive a good and targeted answer, are those that present a small problem, that give a very clear description of that problem within its context, and that are placed by people with a fair understanding of the subject who need help getting over a few nasty bumps. The questions that are almost impossible to answer satisfactorily are those that present a huge problem, with no clear description, and asked by someone totally new to the subject matter.
We hope that you will understand when we say that most of us that volunteer our time on this Forum do so in order to help folks learn. We will be pleased if you find the Forum to be useful. However, it is difficult or impossible for us to engage with folks privately. We don't have time to do both, and our commitment is help folks using the Forums.
Do not hesitate to read all of the threads, join in the discussions, offer your own experiences and information, and ask questions to increase your knowlege. Seek out blogs from those who write in a manner that you appreciate, and consider reviewing the Database Design Resources for additional guidance and help.