Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
新しいレッスンがテーブルに追加されるたびにlessons、その学年のすべての生徒に通知が送信されるようにします。5 年生に 10,000 人の生徒がいるとしましょう。つまり、notificationsテーブルで 10,000 回の挿入操作が行われ、これは大きな負荷になります。
lessons
notifications
ユーザーが通知を一度しか見ることができないことを知って、ユーザーに通知を送信する方法についてより良いアイデアはありますか?