PR

【9/3】log_del_present_boxパーティション化 #1097

wada opened this at 2021-08-31T15:42:54; closed

Description

opened by wada at 2021-08-31T15:42:54; updated 2025-06-09T10:13:32

概要

log_del_present_boxパーティション化 #1096
テーブルスイッチ後の当日データ移動バッチ作成
ログテーブル移動バッチの期間修正

テスト方法、確認した内容

ログdbへ移動

issue記載のログテーブルをjrye_logに作成し、パーティション作成
jrye.log_del_present_boxに14日以前のデータがある状態で以下実行

cd lib/exec
ENVIRONMENT=develop PF=yamada HTTP_HOST=127.0.0.1 IS_DOCKER=true php del_log_del_present_box.php

当日データ移動

issue記載の新テーブルスイッチを実行後(当日データは必要)以下実行

cd lib/exec
ENVIRONMENT=develop PF=yamada HTTP_HOST=127.0.0.1 IS_DOCKER=true php tool_insert_today_del_present.php
wada add_label at 2021-08-31T15:43:30: レビュー待ち

Comment

#13334 by wada at 2021-08-31T15:43:47; updated 2021-08-31T15:43:47

@iwamoto @kouho
レビューお願いします。

wada assign at 2021-08-31T15:46:53: Not assigned:wada

Comment

#13373 by kouho at 2021-09-01T18:12:55; updated 2021-09-01T18:12:55

@wada
確認しました。問題ないです。

kouho add_label at 2021-09-01T18:12:59: 皇甫 LGTM

Comment

#13382 by iwamoto at 2021-09-01T19:32:49; updated 2021-09-01T19:32:49

@wada
確認しました。

iwamoto add_label at 2021-09-01T19:33:02: 岩本 LGTM
wada merge at 2021-09-06T13:51:40: 【9/3】log_del_present_boxパーティション化
wada close at 2021-09-06T13:51:40: Close

Commit range

base647257e2a4ffe156533a22178018d580ed820cb4
headd83301958b2d9e1dcd42a3fb7201c9cdf2174df1
base branchjolly/jr-web:develop
head branchjolly/jr-web:log_del_present

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed2 filesView patch
statusfile
modifiedlib/exec/del_log_del_present_box.inc
addedlib/exec/tool_insert_today_del_present.php
Patch body is stored as a separate file to keep this page lightweight.