MySQL 在 5.7 版本中正式引入了原生的 JSON 数据类型,网上很多人关于 JSON 违反了数据库第一范式的争议,那么,JSON 真对违反了数据库第一范式吗?我们来聊一聊。 MySQL 在 5.7 版本中正式引入了原生的 JSON 数据类型,网上很多人关于 JSON 违反了数据库第一范式的 ...
本文就一起探讨一下表锁、行锁、间隙锁、元数据锁(MDL)用途及避坑点等(本文基于RR隔离级别进行举例)。 开发同学在工作中经常遇到这些问题:数据库明明没报错,为什么接口突然卡顿?为什么简单的更新语句一直未运行完毕?为什么数据会莫名其妙多出 ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
近年来,随着信创浪潮的推进以及数据库自主可控需求的日益增长,数据库领域的竞争格局正在发生深刻变化。作为开源数据库的两大巨头,PostgreSQL和 MySQL的优劣对比,以及它们在国产数据库发展中的作用,成为了行业关注的焦点。 那么,在 2025 年的今天,为 ...
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, ...
The auto-increment column is a bread-and-butter feature of single-node transactional databases. It assigns a unique identifier for each row in a way that requires the least manual effort from users.
Your browser does not support the audio element. Version control systems, and Git in particular, are essential tools for tracking code changes, collaborating with ...
本篇主要介绍 MySQL 的函数索引(也叫表达式索引)。 通常来讲,索引都是基于字段本身或者字段前缀(第 20 篇),而函数索引是基于字段本身加上函数、操作符、表达式等计算而来。如果将表达式或者操作符也看做函数的话,简单来说,这样的索引就可以统称 ...