---
title: "Discussion on \"The Day Our Inventory Sync Ran Out of Prepared Statements\" | Hashnode"
description: "Discussion on \"The Day Our Inventory Sync Ran Out of Prepared Statements\". How our IMS to OMS inventory sync hit MySQL's max_prepared_stmt_count limit, and how moving from Sequelize to stored procedures to text SQL fixed it"
url: "https://hashnode.com/posts/day-our-db-exceeded-prep-stmts/6afeb9a34522a1173b90eed1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Day Our Inventory Sync Ran Out of Prepared Statements](https://kurohashi.hashnode.dev/day-our-db-exceeded-prep-stmts?utm_source=hashnode&utm_medium=feed)

How our IMS to OMS inventory sync hit MySQL's max\_prepared\_stmt\_count limit, and how moving from Sequelize to stored procedures to text SQL fixed it

Nov 19 · 13 min read · kurohashi.hashnode.dev  
Read the article

-   [#databases](https://hashnode.com/tag/databases)
-   [#system-design](https://hashnode.com/tag/system-design)
-   [#mysql](https://hashnode.com/tag/mysql)
-   [#orm](https://hashnode.com/tag/orm)
-   [#scalability](https://hashnode.com/tag/scalability)

## Written by

[Shubham Srivastava](https://hashnode.com/@kurohashi)

@kurohashi

  
[View profile](https://hashnode.com/@kurohashi)

Always a learner

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
