Kratos migrate seems exceptionally slow (using Coc...
# talk-kratos
l
Kratos migrate seems exceptionally slow (using CockroachDB). It takes about 3 minutes to complete the 444 migrations locally. Is this expected? Maybe I've made a mistake in the setup somewhere.
m
Should be much faster I think, but hard to say what the issue is without knowing more 🤔
l
Not sure what more there is to know. 😅 Local KinD setup, cockroachdb deployed as a 3 replica stateful set without authentication and SSL (insecure mode), kratos is running as a single replica deployment, migrate is run as a job. Doesn't look like there are any
kratos migrate sql
command line parameters to enable logging or output of any kind, so it is hard to tell what's going on.