私はMySQLが好きです。長く使ってきましたし、オンプレミスでの運用もやってきました。 しかし現職に来てからは、PostgreSQLを使う機会が増えました。最初は正直かなり抵抗感がありました。ずっとMySQLを使ってきたので、慣れの問題もありますし、PostgreSQLに対して必要以上に構えていたところもあったと思います。 ただ、実際に使っていくうちに、PostgreSQLの良さが少しずつ見えてきました。最近では、新規開発でどちらを選ぶかと聞かれたら、PostgreSQLを選びたいと思うようになっています。 私はMySQLを長く使ってきたので、昔のMySQLの雑さも知っています。ただ同時に、今でも昔の印象だけでMySQLを語るのは不正確だとも思っています。sql_modeをきちんと設定すれば危ない挙動の多くは避けられますし、MySQL 8でかなり多くの機能が入りました。 また、今回はオンプ
こんにちは。ソフトウェアエンジニアのyasuandです。株式会社estieのデータマネジメントグループ(DMG)という部署で、登記簿データの管理システムを作っています。 登記簿に限らず不動産データと日々触れ合っていると、時々”変な”データと出会うことがあります。住所の読みが面白いという程度ならその場でスルーして終わりなのですが、なかにはデータモデリング上の扱いが問題になるものも存在します。 そこで今回は『プログラマの抱いている名前についての誤謬』をオマージュして『プログラマの抱いている不動産データについての誤謬』というタイトルで、建物を中心とした不動産データに関して多くの方が誤解しているであろう点を10個厳選しました。それぞれ解説もつけているので、ぜひご覧ください。 1. 同じ住所の建物は存在しない 複数の建物が同じ住所になっていたら、郵便物や荷物を配達するときに困りますよね! 解説 建物
We are releasing a series of Agent Skills for Postgres Best Practices to teach AI agents how to write better Postgres code. AI coding agents are good at writing code. They struggle with writing correct code for systems they don't understand. Postgres is one of those systems. It has decades of features, edge cases, and performance characteristics that matter in production. An agent might generate a
なんと、1つのテーブルに全ての項目を放り込むという大胆な設計を提案してきました。しかし、よく考えると実際にこれが理にかなっているのです。 なぜこのシンプル構成がよい? PoCやスモールスタートにおいて、従来の「1エンティティ=1テーブル」という硬い設計は、柔軟な開発の「足枷」になります。エクセルの管理台帳に1つ列を足したいだけなのに、DBのマイグレーション(ALTER TABLE)に怯え、影響調査に時間を費やすことになります。 そこでまずは、テーブルを細かく分けず、あらゆるマスタを一つの大きな器に放り込む 「シングルテーブル設計」 を選択肢に加えます。これにより、構造を固定せず、ビジネスの変化(エクセルの変更)をそのまま受け止める構成を考えることが出来ます。 例えるなら、正規化重視の設計は川の流れをガチガチに固める「堤防」を作るのに対して、シングルテーブル設計は広い「遊水地」を用意するとい
Another year passes. I was hoping to write more articles instead of just these end-of-the-year screeds, but I almost died in the spring semester, and it sucked up my time. Nevertheless, I will go through what I think are the major trends and happenings in databases over the last year. There were many exciting and unprecedented developments in the world of databases. Vibe coding entered the vernacu
We are expanding our partnership with AWS to make it faster for developers to build and scale with AWS infrastructure. On December 15th, Aurora PostgreSQL, Amazon DynamoDB, and Aurora DSQL will be available as native integrations in the Vercel Marketplace. These integrations bring the power and scalability of AWS databases directly into your Vercel workflow, so you can focus on shipping products,
AWS News Blog Introducing Database Savings Plans for AWS Databases Since Amazon Web Services (AWS) introduced Savings Plans, customers have been able to lower the cost of running sustained workloads while maintaining the flexibility to manage usage across accounts, resource types, and AWS Regions. Today, we’re extending this flexible pricing model to AWS managed database services with the launch o
About Me My name is Marc Brooker. I've been writing code, reading code, and living vicariously through computers for as long as I can remember. I like to build things that work. I also dabble in machining, welding, cooking and skiing. I'm currently an engineer at Amazon Web Services (AWS) in Seattle, where I work on databases, serverless, and serverless databases. Before that, I worked on EC2 and
For the vast majority of programs, you needn’t adjust the sql.DB connection pool defaults. But for some advanced programs, you might need to tune the connection pool parameters or work with connections explicitly. This topic explains how. The sql.DB database handle is safe for concurrent use by multiple goroutines (meaning the handle is what other languages might call “thread-safe”). Some other da
PlanetScale Postgres is the fastest way to run Postgres in the cloud. Plans start at just $5 per month. Learn more Ben Dicken [@BenjDicken] | March 13, 2025 Non-volatile storage is a cornerstone of modern computer systems. Every modern photo, email, bank balance, medical record, and other critical pieces of data are kept on digital storage devices, often replicated many times over for added durabi
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く