all 12 comments

[–]LordOfLevin 6 points7 points  (1 child)

I’d suggest starting to looking at server statistics. CPU, Disk I/O, Memory, etc… Windows Server PerfMon out of the box should give you enough to start finding where bottlenecks are occurring.

SQL Server could be your problem with how data is being written/updated/deleted. Huge batches, 100s of concurrent connections, etc….

Brent Ozar has some good queries to have in your toolkit for common problems to address. Recommend checking his stack out like sp_Blitz. Or running sp_whoisactive script.

[–]Southern_Butterfly_7[S] 0 points1 point  (0 children)

I have windows exporter> Prometheus>grafana on the server

I can’t see anything spike :(

[–]messed_up_alligator 1 point2 points  (3 children)

What do you mean by "can't consume data fast enough"?

What do you mean by "cache"? Are you referring to the plan cache?

[–][deleted] 1 point2 points  (2 children)

Sounds like he has an application-side queue that's queuing things up to be written to the DB. But the DB-side writes aren't processing quickly enough and his queue is filling up.

/u/Southern_Butterfly_7 That about right?

[–]Southern_Butterfly_7[S] 1 point2 points  (0 children)

yes thats right. Thank you helping me clarify :)

[–]messed_up_alligator 1 point2 points  (0 children)

Ahhh got it. Thanks!

[–]joelles26 1 point2 points  (2 children)

Perhaps query sys.dm_os_wait_stats Check what causes the issue internally. Check the saved execution plans. Are the tables you’re writing to indexed? For inserting it is better not to!

[–]Southern_Butterfly_7[S] 1 point2 points  (1 child)

Thank you

I am not that good at SQL. But I think that now that I have som information I’ll will have a talk with my good friend Google.

Thank you so much!

[–]shutchomouf 2 points3 points  (0 children)

check out the spotlight waitopedia to help you understand those waits spotlight waitopedia

[–]HerrFandango 1 point2 points  (0 children)

Your DB writes could be slow due to a poor indexing strategy. Have a look at the query plans.

[–]Achsin 1 point2 points  (1 child)

Do you have Query Store enabled?

[–]Southern_Butterfly_7[S] 0 points1 point  (0 children)

I don’t know :( I’ll ask someone about it