Project

General

Profile

Actions

Feature #267

closed
RA

[TAK-8] PostgreSQL マルチテナント戦略を整理する

Feature #267: [TAK-8] PostgreSQL マルチテナント戦略を整理する

Added by Redmine Admin about 2 hours ago. Updated about 2 hours ago.

Status:
Closed
Priority:
High
Assignee:
-
Start date:
09/30/2026
Due date:
% Done:

0%

Estimated time:

Description

Linear migration metadata


Original description

概要

EPAAのマルチテナントDB構成を整理する。

検討対象

  • DB分離
  • Schema分離
  • Row Level Security
  • バックアップ
  • テナント追加
  • パフォーマンス

完了条件

  • 初期戦略決定
  • 将来拡張パターン整理
  • 運用負荷評価

Linear comments

{"id" => "9aded6b7-dac6-4cf8-920a-d263232a992d", "name" => "Takayuki Komoda"} (2026-06-21T01:09:06.241Z)

TAK-8 の残論点として見ていた2点を対応しました。

対応内容:

  • database-rules.adoc を更新し、DB schema 変更の正本を db/releases/<app-version>/ 配下の versioned release SQL とする方針へ整理
  • 初期マルチテナント方針を single PostgreSQL database / shared schema / tenant_id row separation と明記
  • RLS、tenant partition、schema 分離、DB 分離を比較表で整理し、将来レビュー条件として位置付け
  • backup / recovery、tenant 追加、performance、運用負荷の観点を追記
  • backend-architecture.adoc に残っていた EF Core Migrations 正本方針を release SQL 方針へ整合
  • reports/2026-06-21-tak-8-multitenant-strategy/ に requirements / design / development / test / review を作成

検証:

  • powershell -NoProfile -ExecutionPolicy Bypass -File .\build-docs.ps1 成功
  • 古い EF Core Migrations 方針が adoc/ と docs/ から消えていることを rg で確認
  • 追加した release SQL / multitenant 方針が AsciiDoc と生成 HTML に反映されていることを確認

FE / BE / API / DB schema / seed data の実装変更はありません。

RA Updated by Redmine Admin about 2 hours ago Actions #1

  • Status changed from New to Closed
Actions

Also available in: PDF Atom