#rdbms

Dave MasonDaveMasonDotMe
2025-05-05

I saw a post touting the virtues of using an ORM.

I threw up in my mouth a little. 🤮


Dave MasonDaveMasonDotMe
2025-05-02

Sigh. My SQL Servers often feel like NoSQL data dumpsters.


Dave MasonDaveMasonDotMe
2025-04-21

It's true with database design too.



It is easier to resist at the beginning than at the end.
~Leonardo da Vinci
Gea-Suan Lingslin@abpe.org
2025-04-13

Cloudflare Workers 提供的 MySQL/MariaDB 方案

在「Build global MySQL apps using Cloudflare Workers and Hyperdrive」這邊看到 Cloudflare 提供了 Cloudflare Workers 使用 MySQL/MariaDB 的方案。 本來以為是做出了 replicated globally 的系統,還在想要怎麼處理 ACID 問題,花了點時間看完才發現是弄出了一個類似 ProxySQL 的架構,最終還是要連回某個區域的 MySQL 主機上,可能是 AWS、GCP、Azure 或是自己的 MySQL 伺服器: Now, you can create new Hyperdrive c…

blog.gslin.org/archives/2025/0

#cloudflare #database #db #hyperdrive #mariadb #mysql #proxy #rdbms #serverless #sql #workers

2025-04-10

Today I discovered "lnav"or the Log Navigator cli utility. It is a truly awesome log follower and navigator for the terminal which works beautifully with PostgreSQL log files.

youtube.com/watch?v=Su6aUb2yM1

Victoria Stuart 🇨🇦 🏳️‍⚧️persagen
2025-04-09

A Relational Model of Data for Large Shared Data Banks - E.F. Codd, 1970

* introduced a revolutionary approach to database design
* fundamentally changed how we store/access data
* rather than complex hierarchical structures, organized data into tables (relations) w. rows/columns
* manipulated through well-defined operations
...

fermatslibrary.com/s/a-relatio

This week's paper is "A Relational Model of Data for Large Shared Data Banks" by E.F. Codd, published in 1970.

Codd's paper introduces a revolutionary approach to database design that fundamentally changed how we store and access data. Rather than navigating through complex hierarchical or network structures, he proposed organizing data into simple tables (relations) with rows and columns that could be manipulated through a set of well-defined operations.

This groundbreaking model provided true data independence - protecting users from changes in how data is physically stored and represented. Its elegant mathematical foundation enabled a level of flexibility and expressiveness previously impossible, ultimately leading to SQL and the relational database systems that power nearly every application we use today.

https://fermatslibrary.com/s/a-relational-model-of-data-for-large-shared-data-banks#email-newsletter

#RDBMS #RelationalData #datascience #databases #Codd
2025-04-08

New problem, new library! This time, I made a small utility for Laravel to limit a group of models on the table.

github.com/Laragear/Capstone

I talked about the implementation on my Medium blog, but in a nutshell, it uses a subquery to keep only the records you don't want to delete, like the latest five.

Gea-Suan Lingslin@abpe.org
2025-04-04

Django 5.2 支援 composite primary key

看到 Django 5.2 的公告,裡面列出了比較重大的改變,其中一個注意到的是支援 Composite (Compound) Primary Key 了:「Django 5.2 released」,完整的 release notes 則是在「Django 5.2 release notes」這邊可以看到。 就是因為這些 ORM library 不支援 compsite primary key,所以才會有 best (?) practice 要求每個表格都要有 primary key,而且是單一欄位... 大家應該都習以為常了,怎麼會突然在 2025 年才想要支援? …

blog.gslin.org/archives/2025/0

#composite #compound #database #db #django #library #orm #pk #PrimaryKey #rdbms

Dave MasonDaveMasonDotMe
2025-04-01

Ugh. We have > 7,000 database tables with a column named [ID].

This is true, even on days not dated April 1st.


Dave MasonDaveMasonDotMe
2025-03-27

Here's the TSQL thing I mentioned a day or two ago: a stored procedure that performs an assessment of an existing database table.

So far, it does the following:
Checks for the presence/absence of certain criteria:
🔹A Primary Key and/or Unique Key.
🔹A clustered index.
🔹Compression (if any).
🔹Total number of rows.
🔹Create date.
🔹Columns with deprecated data types.
🔹Columns with ambiguous names.

codeberg.org/DaveMasonDotMe/SQ




Dave MasonDaveMasonDotMe
2025-03-21

Many will tell you the leading cause of alcoholism is family history.

But they're wrong--it's poor database design.


HiramFromTheChi 👨🏽‍💻💭hiramfromthechi
2025-02-28
2025-02-28

Ook erg interessant was #DuckDB, een #OpenSource #RDBMS waarmee je ook razendsnel rechtstreeks op csv- en parquet-files kunt queriën. Uiteraard kun je zo'n #database ook in je #Java-project opnemen waarbij de jdbc-connectie zelf de database is. 👀

youtu.be/utWdNJEAG74

duckdb.org/

#DevWorldConference

HiramFromTheChi 👨🏽‍💻💭hiramfromthechi
2025-02-27
Firebird Databasefirebirdsql
2025-02-26

Firebird Project is happy to announce general availability of Firebird 5.0.2 — the latest minor release in the Firebird 5.0 series.

This minor release offers bug fixes as well as a few improvements, please refer to the Release Notes for the full list of changes.

Binary kits for Windows, Linux, MacOS and Android platforms are immediately available for download.

firebirdsql.org/en/news/firebi

2025-02-25

@mariadb und #HeidiSQL, ein tolles Paar!😉

@mariadb_org 👍
#RDBMS #SQL

रञ्जित (Ranjit Mathew)rmathew
2025-02-15
Douglas J Hunleyhunleyd@fosstodon.org
2025-02-14
Gea-Suan Lingslin@abpe.org
2025-02-03

Let's Encrypt 的 Rate Limit 機制實作的演進

Let's Encrypt 把 Rate Limit 機制實作的演進整理出來:「Scaling Our Rate Limits to Prepare for a Billion Active Certificates」。

blog.gslin.org/archives/2025/0

#Computer #Database #Infrastructure #MariaDB #Murmuring #Network #Privacy #Security #Service #Software #database #db #letsencrypt #limit #mariadb #quota #rate #rdbms #redis

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst