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 VotesPOSTING 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 VotesHow to identify when is index created or dropped
Hi There, I see somehow my indexes in production are deleted from sql server 2017 tables. I need to figure out when and how they got deleted. I have older backups, but it is time ...Answered | 3 Replies | 67 Views | Created by gdhar - Thursday, December 07, 2017 10:22 AM | Last reply by gdhar - 18 hours 50 minutes ago -
1 VotesThis backend version is not supported to design database diagrams or tables. (MS Visual Database Tools)
SQL server database: Microsoft SQL Server 2016 (RTM-GDR) (KB4019088) - 13.0.1742.0 (X64) Jul 5 2017 23:41:17 Copyright (c) Microsoft ...Proposed | 2 Replies | 65 Views | Created by Bryan Valencia - Wednesday, December 06, 2017 5:52 AM | Last reply by Teige Gao - Thursday, December 07, 2017 5:34 AM -
0 VotesSQL - Query takes too much time on client machine
Hi I have stored procedure written in SQL Server 2008 R2 for web application in Visual Studio 2015. We have test instance for our application on AWS. We have SQL ...Unanswered | 13 Replies | 240 Views | Created by h2007 - Monday, November 13, 2017 1:39 AM | Last reply by h2007 - Wednesday, December 06, 2017 3:41 AM -
1 VotesBit column that can only be set to 1 for a single row among many rows
Hi everybody, What is the right database implementation if only one row out of the set can be set to be default (where isDefault is a bit column)? I am thinking ...Answered | 6 Replies | 196 Views | Created by Naomi N - Wednesday, November 22, 2017 8:17 PM | Last reply by Naomi N - Thursday, November 30, 2017 3:59 PM -
0 VotesGuide for modeling a database
Dear all, I need to setup a training to new employee on how to modelise a database by starting from use case scenario. personnaly I know how to do it because I ...Proposed | 1 Replies | 127 Views | Created by Serge Calderara - Friday, November 24, 2017 1:43 PM | Last reply by Uri Dimant - Sunday, November 26, 2017 8:14 AM -
0 VotesMapping an Excel spreadsheet to a Database Table
Hi I have a client who will send me an Excel spreadsheet and I have to load that to a table. 1) This excel spreadsheet will be sent only ...Proposed | 1 Replies | 131 Views | Created by etl2016 - Sunday, November 19, 2017 10:12 PM | Last reply by Visakh16 - Monday, November 20, 2017 5:18 AM -
0 VotesDatabase Setting auto shrink turned on
Hi, I support a legacy application which can create SQL databases, unfortunately it appears that it is not using the model database options to create databases, ...Proposed | 3 Replies | 172 Views | Created by MrFlinstone - Friday, November 17, 2017 6:23 PM | Last reply by Uri Dimant - Sunday, November 19, 2017 8:38 AM -
0 VotesNon Clustered Columnstore Indexes and Primary/Foreign keys
Documentation says that we can't create nonclustered columnstore indexes in primary key or foreign key columns " A ...Answered | 5 Replies | 157 Views | Created by asavioli - Tuesday, November 14, 2017 12:35 PM | Last reply by asavioli - Wednesday, November 15, 2017 3:47 PM -
1 VotesSQL Server 2016, WSUS 10 on Server 2016, & SQL Server 2008 Compatibility Level
I'm running WSUS version 10.0.14393.0 on Windows Server 2016. The WSUS database is on a remote SQL Server 2016 cluster. Our database administrator ...Answered | 6 Replies | 865 Views | Created by xX Bane Xx - Friday, May 05, 2017 3:35 PM | Last reply by Tom Phillips - Wednesday, November 15, 2017 1:12 PM -
0 VotesLoading a history table to a normalised table
Hi All. I have a daily feed of data that comes into my inventory database, it contains meta data information about the databases. The way I would want it to work ...Proposed | 1 Replies | 108 Views | Created by MrFlinstone - Wednesday, November 15, 2017 11:04 AM | Last reply by Visakh16 - Wednesday, November 15, 2017 11:19 AM -
0 VotesSERIALIZABLE isolation based on the combination of two columns
Greetings everyone, I would like to ask a question about the SERIALIZABLE transaction isolation level. I know it puts range locks based on the ...Unanswered | 5 Replies | 159 Views | Created by Cornoholio - Monday, November 13, 2017 2:21 PM | Last reply by Cornoholio - Tuesday, November 14, 2017 12:29 PM -
0 VotesOptimistic Concurrency control implementation in DAL
Hello everyone, I would appreciate if i can get a full explanation on the Optimistic concurrency control and most important with some Examples/Tutorial on how to implement ...Discussion | 3 Replies | 245 Views | Created by DBChats - Monday, July 24, 2017 5:25 PM | Last reply by Uri Dimant - Tuesday, November 14, 2017 5:55 AM -
1 Votesdoes the physical order of different field types affect performance when querying/inserting data?
I'm going to be working on a database design that has a lot of BIT fields (for flagging purposes) and date/time fields (specifically, datetime2) for keeping track of when certain things are happening ...Proposed | 4 Replies | 140 Views | Created by cbassett82 - Wednesday, November 08, 2017 6:25 PM | Last reply by TiborK - Monday, November 13, 2017 7:59 AM -
0 Votesproblem with a database diagram
Hi, I have a problem with a SQL diagram. So I attached my teacher's database. I can see the tables but when I click to see the ...Proposed | 1 Replies | 119 Views | Created by aabep - Wednesday, November 08, 2017 7:26 PM | Last reply by Hilary Cotter - Wednesday, November 08, 2017 7:32 PM -
0 VotesDatabases dissappearing step by step
Hi, yesterday I switched onto my customers PC and checked the databases within the management studio. reason was that his application did not start. The application needs a ...Proposed | 7 Replies | 228 Views | Created by SIH007 - Sunday, October 29, 2017 9:56 AM | Last reply by Uri Dimant - Wednesday, November 08, 2017 9:23 AM -
2 VotesCrete SQL database using excel file with linked columns to .jpeg, excel and pdf files
Hi I have excel file. See pic below, Excel file contains columns with link to .jpeg, excel and pdf files. I have to create a SQL database for this ...Answered | 2 Replies | 129 Views | Created by h2007 - Wednesday, November 08, 2017 5:49 AM | Last reply by Visakh16 - Wednesday, November 08, 2017 6:25 AM -
0 VotesSybase to SQL Server project - Lock management on high write tables
Hi All, I apologise for the somewhat open-ended question but we are moving from SAP ASE to SQL Server (2016) and I have some questions on how ...Answered | 7 Replies | 189 Views | Created by Keegan_Catford - Friday, November 03, 2017 12:20 AM | Last reply by Lin Leng - Wednesday, November 08, 2017 1:50 AM -
0 VotesNewly partitioned table not seeing a size reduction in original FG, but have seen an increase in newly created partioned FG
1TB as well. We expect this data to keep growing and do not want to purge. What am I doing wrong/how else can I accomplish this? Here is my table ...Proposed | 1 Replies | 177 Views | Created by JasonDWilson77 - Friday, November 03, 2017 3:03 PM | Last reply by Teige Gao - Monday, November 06, 2017 7:22 AM -
1 VotesHow to partition a table on a non primary key field
I have a huge table I am wanting to partition. The table's current primary key is on the ID column (and thus referenced by Fky's). I want to partition on a datetime field. I tried to ...Answered | 6 Replies | 215 Views | Created by JasonDWilson77 - Tuesday, October 31, 2017 4:14 AM | Last reply by Dan Guzman - Friday, November 03, 2017 10:22 PM -
1 VotesNeed to setup a SQL test (interview) for candidates. What is the best way to do so?
Hi, I am a hiring manager that has little to no knowledge of SQLserver, but i am hiring someone to properly store all my customer data/analytics. he needs to be ...Discussion | 1 Replies | 150 Views | Created by songhaegyo - Wednesday, November 01, 2017 8:53 AM | Last reply by Uri Dimant - Wednesday, November 01, 2017 9:51 AM - Items 1 to 20 of 3925 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.
