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
Not possible export Azure Database
Dear All, Database export is not possible. Currently I am using Microsoft dynamics 365 finance and operations. while exporting database below errors coming. ...Unanswered | 2 Replies | 2224 Views | Created by Janish Abdul Jaleel - Thursday, July 16, 2020 12:08 PM | Last reply by Amelia Gu - Friday, July 17, 2020 5:54 AM -
0 Votes
Encrypt SQL Database
How do I do thisUnanswered | 5 Replies | 2584 Views | Created by VaughanBayOfPlenty - Tuesday, July 14, 2020 9:55 AM | Last reply by SQLZealots - Wednesday, July 15, 2020 4:42 AM -
0 Votes
sp_execute_external_script to run script that analyzing unstructured data
I saw many example from sp_execute_external_script, that the script (python script) input to these sp are dealing with some structure data, like in the following example , like in the ...Answered | 4 Replies | 2164 Views | Created by sakurai_db - Friday, July 10, 2020 6:35 AM | Last reply by MIAOYUXI - Tuesday, July 14, 2020 3:18 AM -
0 Votes
Indexing in a Merge Replication environment
Hello SQL Gurus I am new to Database design. We are building an application that is expected to have mid-level volumes - Around 10K to 100K records ...Unanswered | 8 Replies | 2353 Views | Created by Sudarshan PS - Thursday, July 9, 2020 7:43 AM | Last reply by Erland Sommarskog - Monday, July 13, 2020 8:38 AM -
4 Votes
Is it a bad idea to create a schema named [com] and if so why?
Is it a bad idea to create a schema named [com] and if so why. I am creating a schema for our communications dept and [com] works unless there's a risk I don't know about.Answered | 9 Replies | 2920 Views | Created by iTrackData - Tuesday, June 30, 2020 8:14 PM | Last reply by Cris Zhan - Thursday, July 9, 2020 1:14 AM -
2 Votes
DB structure for a POS application.
Hi! I need to implement a PointOfSale solution. I would like to ask the advice of those more experienced than me in the following issues: 1. Which is more ...Proposed | 3 Replies | 2069 Views | Created by ThePuiu - Monday, July 6, 2020 7:11 PM | Last reply by Cris Zhan - Tuesday, July 7, 2020 3:29 AM -
0 Votes
Default block size for SQL Server?
What is the default block size for SQL Server? I am planning to move my SQL Server machine to AWS hence was trying gauge an understanding of the required IOPS in AWS. On the current ...Proposed | 2 Replies | 2488 Views | Created by Asif_DBA - Tuesday, June 30, 2020 10:07 PM | Last reply by Olaf Helper - Wednesday, July 1, 2020 5:18 AM -
3 Votes
SQL Nested Views
Hi, What is the recommendation for using nested views. We have a legacy system and would like to clean up our SQL DB and would like to know that. What level of nested views is ...Proposed | 11 Replies | 3257 Views | Created by Avik Ghosh - Friday, June 26, 2020 3:08 PM | Last reply by Melissa Ma - Wednesday, July 1, 2020 2:35 AM -
0 Votes
How to speed up remote File Table access?
= GETDATE() AND DateWorkOrderVoided IS NULL GROUP BY PartID ) nwo ON p1.PartID = nwo.PartID ...Answered | 5 Replies | 2949 Views | Created by keithrh - Thursday, June 25, 2020 2:25 PM | Last reply by Tom Phillips - Thursday, June 25, 2020 6:51 PM -
1 Votes
DBMS for huge data management
Hi there let me know which dbms (mysql, mssql,no sql,mongo db) is best to manage a huge database if I am working on PHP platform. It should pull the data as fast as possible as well as update, insert ...Proposed | 5 Replies | 2675 Views | Created by pranaliNG - Saturday, June 20, 2020 9:11 AM | Last reply by Tom Phillips - Monday, June 22, 2020 7:49 PM -
0 Votes
Visio Professional 2019 - Unable to Properly Reverse Engineer from SQL Server 2017
I am trying to reverse engineer a database I have on SQL Server 2017. I have tried to use SQL Server Native Client 11.0 and SQL Server but I receive the error: "The currently selected Visio ...Proposed | 2 Replies | 2296 Views | Created by SeanCMWhite - Thursday, June 18, 2020 5:35 PM | Last reply by Melissa Ma - Friday, June 19, 2020 3:15 AM -
0 Votes
Create a DB
Create a DB for the following functionality Interview questionnaires and display the questions with different answer ...Proposed | 4 Replies | 2810 Views | Created by Sunil404 - Tuesday, June 2, 2020 1:53 PM | Last reply by Cris Zhan - Monday, June 8, 2020 1:02 AM -
1 Votes
Move all nonclustered Indexes to a new filegroup
Is there a way to move all the nonclustered indexes of the database to a new filegroup? There are many tables and lots of indexes so recreating each of them manually is a tremendous job.Answered | 7 Replies | 3550 Views | Created by Curendra - Friday, May 15, 2020 3:30 AM | Last reply by Curendra - Friday, June 5, 2020 1:52 AM -
0 Votes
(Powershell) Loop through get-aduser, export into SQL Database
which worked perfectly fine. The Problem is that I have more then 500.000 Objects, which causes the effect that it takes very long until every ...Unanswered | 1 Replies | 2521 Views | Created by 0ptix - Wednesday, May 13, 2020 7:45 PM | Last reply by Cathy Ji - Monday, June 1, 2020 8:19 AM -
0 Votes
Converting the normalized table into Flat table
Hello, Currently we are designing a database in which tables are normalized. Few of the tables have more than 20 to 30 columns as foreign keys. So while querying these tables, we ...Unanswered | 5 Replies | 2272 Views | Created by Rathesh - Monday, May 25, 2020 8:19 AM | Last reply by MIAOYUXI - Friday, May 29, 2020 12:56 AM -
0 Votes
Database - Char vs Varchar(1), Should I only use Varchar?
I am wondering if I should change the DataType to "varchar" across the whole database and get rid of "char" type. Here below are some ...Proposed | 6 Replies | 2188 Views | Created by Ihandler MSDN - Friday, May 22, 2020 3:37 AM | Last reply by MIAOYUXI - Friday, May 29, 2020 12:55 AM -
0 Votes
MySQL: Why was my answer wrong: Which film was shown in the Chaplin room most often in October 2017
I just finished taking the MySQL course as a beginner and struggled a bit with the join and sub-queries statements. For the ...Answered | 5 Replies | 2194 Views | Created by Data_2020 - Tuesday, May 26, 2020 12:31 AM | Last reply by Olaf Helper - Thursday, May 28, 2020 6:08 AM -
1 Votes
Database diagram looks not working in SQL2k17
hi there, build: 14.0.1000.169 , Enterprise flavour I am just getting this message and then no option ...Answered | 3 Replies | 2709 Views | Created by Enric Vives - Tuesday, May 26, 2020 10:19 PM | Last reply by Enric Vives - Wednesday, May 27, 2020 7:49 AM -
0 Votes
Best practice
Hi all, I am trying to get best design for DB. I need Products table, and would like to have some attributes, yet they are different for each product type. I have few products ...Proposed | 5 Replies | 1985 Views | Created by VojoCeklic - Monday, May 25, 2020 8:10 PM | Last reply by Tom Phillips - Tuesday, May 26, 2020 5:37 PM -
0 Votes
How to create an ERD for table does not have proper Primary or Foreign Key
Hi There I have to create an Entity Relationship Diagram for previous created database. But there are no Primary key or foreign key defined in the tables. Most of the tables have ...Unanswered | 10 Replies | 2315 Views | Created by Saphire77 - Tuesday, May 19, 2020 12:27 PM | Last reply by Erland Sommarskog - Wednesday, May 20, 2020 9:35 PM
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.