From 02b1159ec0a624c7984e2622b644fca77bcbf96a Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sat, 8 Apr 2023 17:10:10 +0700 Subject: [PATCH] feat: sql json --- docs/2022-07-31-sql.html | 15 +++++++++++++++ posts/2022-07-31-sql.md | 4 ++++ 2 files changed, 19 insertions(+) diff --git a/docs/2022-07-31-sql.html b/docs/2022-07-31-sql.html index 2b91978..42d1fc4 100644 --- a/docs/2022-07-31-sql.html +++ b/docs/2022-07-31-sql.html @@ -112,6 +112,7 @@ 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.

Things You Should Know About Databases +
  • + When to use JSON data type in database schema design? +
  • +
  • + My Notes on GitLab Postgres Schema Design +
  • diff --git a/posts/2022-07-31-sql.md b/posts/2022-07-31-sql.md index e41c197..ed0f100 100644 --- a/posts/2022-07-31-sql.md +++ b/posts/2022-07-31-sql.md @@ -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/)