0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【公ド読】データベースのデッドロックまたはデータ整合性の問題の解決

Posted at

【公式ドキュメントを読もうシリーズ】データベースのデッドロックまたはデータ整合性の問題の解決

シリーズ概要

https://qiita.com/yasu_programming/items/cec66f9e8d5d571e9ce3

URL

https://docs.github.com/ja/copilot/copilot-chat-cookbook/refactoring-code/fixing-database-deadlocks-or-data-integrity-issues

説明

  • デッドロックに対応したコードの修正
  • インデックスを使用したトランザクションの最適化
  • 長いトランザクションを避ける
  • データの整合性を保ってくれる

をしてくれる。

所感

生成したコードが正しいかどうか判断した後に(判断する前でもいいが)、上記のことに関するプロンプトを入れることで、デッドロックや処理時間の短縮、データの整合性の一致などができるのであれば、一度sql周りの処理の実装をした後は、全部プロンプトを生成して入れてもいいのだろうなと思っている。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?