掘友等级
获得徽章 0
#每天一个知识点#
数据库|mysql 数据库中 SYSDATE() returns the time at which it executes. This differs from the behavior for NOW(), which returns a constant time that indicates the time at which the statement began to execute. (Within a stored function or trigger, NOW() returns the time at which the function or triggering statement began to execute.)
#每天一个知识点#
数据库| Postgresql 数据库中 :log_min_duration_statement 指在SQL执行完之后记录时间,而 log_statement 在解析完执行前就记录到日志
#每天一个知识点#
数据库|数据库的常见的 online ddl 算法包括阻塞式算法、拷贝算法、日志重放算法,Google F1 异步 schema 变更算法。大部分分布式数据库的online ddl 均参考 Google F1 异步 schema 变更算法,该算法引入了 中间状态:delete_only、write_only
#每天一个知识点#
分布式系统|“幽灵复现” 是 Oceanbase 在实现 Multi-Paxos 过程中提出的问题,具体指当 Leader 故障, Follower 当选为 New Leader 的时候,New Leader 不清楚当前的 committed index,导致已经提交的 log 被丢弃的现象。在转账的情景中,“幽灵复现” 会造成重复转账
#每天一个知识点#
数据库理论|当前大多数 DBMS 系统管理 buffer pool 一般使用 steal/no-force 策略。其中 steal 指当 buffer pool 满时,允许脏页刷新到磁盘。no-force 指buffer pool 中的脏页在提交时,不立即刷新到磁盘
Hard work always pays off.