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
Insert into Many to Many tables
I hope this is the right forum for the question. I have a small SQL database mainly with three Tables, A) Client table, B) Cars table and C) Join table. Why a ...Answered | 4 Replies | 1960 Views | Created by roger.breton - Wednesday, May 20, 2020 6:23 PM | Last reply by roger.breton - Wednesday, May 20, 2020 8:40 PM -
0 Votes
Updating the Stored Procs with the New Schema Name After the Schema Migration
Dear Experts, I just got some interesting requirement to update all the Stored procs / Functions / Triggers / Synonyms for my Newly created database where the Schema Migration ...Answered | 2 Replies | 1915 Views | Created by Momen Azmath - Wednesday, May 20, 2020 12:00 PM | Last reply by Momen Azmath - Wednesday, May 20, 2020 1:47 PM -
0 Votes
Update XML Element based on the Where Condition
Dear Experts, I have a requirement like below. In this XML i need to update the New Value Only for certain ID fields say like ...Answered | 3 Replies | 1675 Views | Created by Momen Azmath - Monday, May 18, 2020 11:02 AM | Last reply by Momen Azmath - Tuesday, May 19, 2020 1:21 PM -
1 Votes
combining temp tables in stored procedure
I have 2 temp tables in my procedure . I want to combine both of them . Could any one please help how to do this Temp 1 ...Answered | 5 Replies | 2201 Views | Created by LuckySath - Wednesday, May 13, 2020 11:22 AM | Last reply by Cris Zhan - Thursday, May 14, 2020 5:49 AM -
0 Votes
Combing Fields, Automatically (First_Name, Last_Name)
Hi, how do I combine columns in the same table? I've tried different flavors using SELECT. The columns I'm trying to combine are First_Name and Last_Name, with a space dividing the ...Proposed | 9 Replies | 2326 Views | Created by Mike Drevline - Wednesday, May 6, 2020 1:40 PM | Last reply by Cathy Ji - Friday, May 8, 2020 6:06 AM -
0 Votes
Moving Temporal Tables
I would like to move some temporal tables to a new database on the same server. What would be the best method for this?Answered | 8 Replies | 3846 Views | Created by ClevelandSteve - Monday, December 2, 2019 5:20 PM | Last reply by Guoxiong Yuan - Thursday, May 7, 2020 2:45 PM -
0 Votes
Design for dynamic Beat allocation
Hello, I am seeking some design advise on creating structure for dynamic beat allocation. We have an application where workers go to survey different homes in a specific ...Proposed | 4 Replies | 5067 Views | Created by dbp2784 - Saturday, April 4, 2020 4:05 PM | Last reply by Uri Dimant - Thursday, May 7, 2020 6:50 AM -
2 Votes
SSL Crtificates in SQL Server
Hi, We have implemented SSL Encryption by enabling Force Encryption and Certificate. I have queried sys.dm_exec_conn and encrypt_option is true for all ...Unanswered | 4 Replies | 2877 Views | Created by Raje14 - Monday, July 15, 2019 10:03 AM | Last reply by Ed Price - MSFT - Thursday, May 7, 2020 6:48 AM -
2 Votes
ODS DB Design/Architecture - Data Loading and Retrieving Challenge
Good Afternoon, I'm trying to build a ODS (Operation Data Store) in SQL Sever and eventually it will be migrated to SQL Azure as a PaaS. I'm ...Unanswered | 3 Replies | 2559 Views | Created by guest369 - Tuesday, August 13, 2019 6:16 PM | Last reply by Ed Price - MSFT - Thursday, May 7, 2020 6:47 AM -
0 Votes
SQl Server T log bigger than DB
Hi experts our databases on 2016 SE and some of the DBs Log are higher than the DBs, WE did shrink for T log after routine backups . but its not size will ...Answered | 6 Replies | 1682 Views | Created by ashwan - Monday, April 27, 2020 4:14 AM | Last reply by Shanky_621 - Thursday, April 30, 2020 7:30 AM -
1 Votes
CPU SPIKING TO 80-100%
Not sure if it's from WordPress plugin configuration or an SQL issue, but my site continuously spikes to 80-100% CPU Usage, how would I go about diagnosing the ...Answered | 4 Replies | 1606 Views | Created by SBSocialSEO - Friday, April 24, 2020 7:34 AM | Last reply by Cathy Ji - Monday, April 27, 2020 6:51 AM -
2 Votes
ENCRYPTBYKEY, CERTIFICATES, SYMMETRIC KEYS
Hello, I am having trouble understanding: What does the certificate do?What is ENCRYPTBYKEY?What makes it different from ENCRYPTBYPASSPHRASE?What does KEY_GUID mean?What ...Answered | 2 Replies | 1438 Views | Created by paoloam.roxas - Friday, April 24, 2020 10:33 AM | Last reply by Dawn Young - Monday, April 27, 2020 5:57 AM -
0 Votes
Redundant indexes
There are following redundant indexes: 1. CREATE NONCLUSTERED INDEX [first_index] ON [dbo].[TRANSACTION] ([Kword] ,[Created_Date] ,[Status] ...Answered | 7 Replies | 1821 Views | Created by Curendra - Thursday, April 23, 2020 5:39 AM | Last reply by Erland Sommarskog - Friday, April 24, 2020 9:30 PM -
1 Votes
Modify existing table design
Hello, I am in the process of creating/modifying the existing table design for an workflow. I Would need a suggestion to group by the conflicts. I am thinking to maintain the same ...Proposed | 8 Replies | 1300 Views | Created by RajeshGovindarajan - Tuesday, April 21, 2020 6:45 PM | Last reply by MIAOYUXI - Friday, April 24, 2020 1:06 AM -
6 Votes
db_owner & db_denyreader & db_datawriter behavior
then am unable to select any tables/objects. Then how come db_owner is super user? I believe its dummy user (or) super user but with conditions. ...Answered | 13 Replies | 1636 Views | Created by CKPT - Friday, April 17, 2020 2:23 PM | Last reply by Erland Sommarskog - Wednesday, April 22, 2020 9:41 PM -
1 Votes
SQL
Hi Guys, I have Server with 4 Cores. In same UAT server i am planning to install below instances, SQL Server 2016 Standard, SQL server 2016 Enterprise, SQL 2014 ...Answered | 3 Replies | 1033 Views | Created by Akash Pawar - Thursday, April 16, 2020 7:33 AM | Last reply by Cathy Ji - Friday, April 17, 2020 5:33 AM -
0 Votes
can we remove Memory Optimized file group
I tried to remove memory optimized filegroup from database. i checked on sql server 2019 (15.0.2070.41) developer edition. Alter database ...Answered | 4 Replies | 2795 Views | Created by mearpit015 - Wednesday, April 8, 2020 3:17 PM | Last reply by Cris Zhan - Tuesday, April 14, 2020 7:02 AM -
2 Votes
What is the benefit of reading a complete book on (such as database design, Python, PHP, ..., etc.)? Is it useful before working on strong and great projects? Or does practice have something else better?
What is the benefit of reading a complete book on (such as database design, Python, PHP, ..., etc.)? Is it useful before working on strong and great projects? Or does practice have something else ...Answered | 1 Replies | 1010 Views | Created by bashar257 - Monday, April 13, 2020 2:53 PM | Last reply by KevinBHill - Monday, April 13, 2020 3:58 PM -
0 Votes
Change maximum number of error log files in SQL Server
Hi, Our Security team has run some software and found below vulnerability in one of our SQL Server 2017 production database ...Answered | 4 Replies | 1378 Views | Created by arifulhaq - Wednesday, April 8, 2020 11:58 PM | Last reply by TiborK - Monday, April 13, 2020 10:25 AM -
2 Votes
What the Best reference (Book) in database ?
I seek for the main's Book in DatabaseAnswered | 2 Replies | 1044 Views | Created by bashar257 - Saturday, April 11, 2020 11:46 AM | Last reply by Amelia Gu - Monday, April 13, 2020 2:18 AM
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.