Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL Server database size #1332

Open
hsmarkusschweitzer opened this issue Jan 23, 2025 · 0 comments
Open

SQL Server database size #1332

hsmarkusschweitzer opened this issue Jan 23, 2025 · 0 comments

Comments

@hsmarkusschweitzer
Copy link

hsmarkusschweitzer commented Jan 23, 2025

Describe the bug
WorkflowCore 3.13.0
WorkflowCore.QueueProviders.SqlServer 3.13.0
WorkflowCore.Persistence.SqlServer 3.13.0

Our SQL Server db size increased nearly 30 times in one day (from some MB to 5 GB).

This are the stats of our current DB:
Image

Regarding the queues: The only queue containing items is "//workflow-core/workflowQueue" with 2k entries.

The only thing I discovered is that there are 6mio conversations (Is this normal?).

To Reproduce

  1. Create a simple workflow application
  2. Start 10 - 40 workflows
  3. Let it run for a day
  4. Check db

Expected behavior
Consistent database size that is not increasing if nothing happens (or at least not 33 times)

UPDATE: After deleting them with END CONVERSATION xxx WITH CLEANUP, and shrinking the db, it got back to its normal size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant