This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

Notification from MariaDB Table - Streaming Vs Trigger

We are working on an application that requires data from mariadb table as soon a new row gets added. There number of inserted rows will be close to 100 per second. The same table can be used for read by another GUI occasionally. We don't plan on update but a batch delete every fortnight is under consideration.

We were planning to use row level trigger and then we came across Streaming. What are the best approaches on mariadb to notify an application as soon a new row is inserted. Are there any performance matrix between Trigger and Streaming.

Thanks.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.