feat: sql json
parent
c92384a781
commit
02b1159ec0
posts
|
@ -112,6 +112,7 @@
|
|||
everything in there if you want.
|
||||
</p>
|
||||
<p>I always use MySQL json data type for extra field.</p>
|
||||
<p>JSON data type also used for dumping request, response data.</p>
|
||||
<h2>
|
||||
<a
|
||||
id="user-content-use-index"
|
||||
|
@ -258,6 +259,20 @@
|
|||
>Things You Should Know About Databases</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://shekhargulati.com/2022/01/08/when-to-use-json-data-type-in-database-schema-design/"
|
||||
rel="nofollow"
|
||||
>When to use JSON data type in database schema design?</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://shekhargulati.com/2022/07/08/my-notes-on-gitlabs-postgres-schema-design/"
|
||||
rel="nofollow"
|
||||
>My Notes on GitLab Postgres Schema Design</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div>
|
||||
|
|
|
@ -38,6 +38,8 @@ It is black hole, put everything in there if you want.
|
|||
|
||||
I always use MySQL json data type for extra field.
|
||||
|
||||
JSON data type also used for dumping request, response data.
|
||||
|
||||
## Use index!!!
|
||||
|
||||
You should use index for faster query, but not too much.
|
||||
|
@ -93,3 +95,5 @@ Plase read docs about online ddl operations before do anything online (keep data
|
|||
- [Use The Index, Luke](https://use-the-index-luke.com/)
|
||||
- [Essential elements of high performance applications: SQL indexes](https://www.foxhound.systems/blog/essential-elements-of-high-performance-sql-indexes/)
|
||||
- [Things You Should Know About Databases](https://architecturenotes.co/things-you-should-know-about-databases/)
|
||||
- [When to use JSON data type in database schema design?](https://shekhargulati.com/2022/01/08/when-to-use-json-data-type-in-database-schema-design/)
|
||||
- [My Notes on GitLab Postgres Schema Design](https://shekhargulati.com/2022/07/08/my-notes-on-gitlabs-postgres-schema-design/)
|
||||
|
|
Loading…
Reference in New Issue