a project and my "Find(&test)" is taking around 25s. The query itself only needs "Query took 6.773µs", so the problem is at Find. Is there a way to speedup the progress? 25 seconds to put x data into an array seems kinda slow. I know that presenting data in sql can be slow but that would be insane. For example 800 rows are taking the same time as 2500 rows.
@mxrkw did you managed your indexes in the DB? Is there some kind of complex structure? Just to understand, seems to be very strange to me
you ever figure out the issue?
Did you try looking into db.Debug()?
Обсуждают сегодня