When database table structures store multiple values in a single column (such as tags in a string), it creates performance anti-patterns because the database must scan and parse the entire column to find specific values, leading to high CPU usage; normalizing the table structure by creating separate columns for each value provides a more efficient long-term solution.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
Fixing TablesAdded:
Hi Brent. After you've addressed a performance emergency, are there cases where you recommend table structure changes as a better long-term resolution? If so, what are some examples? Oh, um I'm going to give you the the classic one because normally I can't talk about some client stuff work, especially you can imagine if somebody hears and goes, "Oh my god, those were our tables." Um but there's one that I can talk about publicly and it always is such a good example is Stack Overflow.
uh at Stack Overflow that you could tag a question with up to five tags CQL server cursor you know you can apply up to five different tags in the beginning those tags were stored in a single column on the post table which is where questions are stored. So if you wanted to find out if a column was tagged with say C sharp, uh you had to scan that whole entire column because it was just one column that had up to five tags in it and the column could be anywhere in that string. Well, SQL Server is notoriously inefficient CPU wise at parsing strings like that. So, not only did it have to shred all the string, it also had to shred through all of the rows. Uh, because you couldn't just jump to the C row. After all, you could be tagged alphabetical or something else like that. Um, so that was a case where after several years, the CPU usage was so bad that they switched out to normalizing that. That's a great example.
Related Videos
Agentforce NOW AMA: Build with React and Salesforce Multi-Framework
SalesforceDevs
490 viewsβ’2026-05-28
How agent o11y differs from traditional o11y β Phil Hetzel, Braintrust
aiDotEngineer
450 viewsβ’2026-05-28
Re: π£οΈπthepropheduπ2026 GST 103 CLASS (E-EXAM REVISION)
theprophedu
636 viewsβ’2026-06-04
WEB TECHNOLOGIES UNIT-2 | Degree 4th sem BCOM Computers web technologies unit-2 full explanationπ―β
LearnwithSahera
1K viewsβ’2026-05-29
More tests are always better? How to use AI to identify tests that bring little value
Alliance4Qualification
335 viewsβ’2026-05-29
Search Algorithms Explained in 60 Seconds! π€π¨
samarthtuliofficial
218 viewsβ’2026-06-01
People of Game of Thrones using JavaScript DOM
AltCampus
296 viewsβ’2026-05-30
Instagram accounts got PWNed
EricParker
13K viewsβ’2026-06-03











