where does Keycloak store sessions?

284 views
Skip to first unread message

Brian Levine

unread,
Jun 30, 2022, 4:17:00 PM6/30/22
to Keycloak User
I can't find in which DB table user sessions are stored.  I have about 100 active sessions in my realm and all tables that have word "session" in the name are empty.

Thanks!

Niko Köbler

unread,
Jul 1, 2022, 2:01:44 AM7/1/22
to Keycloak User
Sessions are only held in memory (infinispan).

Schuster Sebastian (IOB/PAU1)

unread,
Jul 1, 2022, 3:28:30 AM7/1/22
to Brian Levine, Keycloak User

Hi Brian,

 

in its standard configuration, Keycloak stores normal (non-offline) sessions only in memory/Infinispan. That’s what makes it so fast.

 

Best regards,

Sebastian

 

Mit freundlichen Grüßen / Best regards

Dr.-Ing. Sebastian Schuster


Product Area User Management (IOB/PAU1)
Bosch.IO GmbH | Ullsteinstr. 128 | 12109 Berlin | GERMANY | www.bosch.io
Tel. +49(30)726112-485 | Mobil +49(152)02177668 | Telefax +49(30)726112-100 | Sebastian...@bosch.io


Sitz: Berlin, Registergericht: Amtsgericht Charlottenburg; HRB 148411 B
Aufsichtsratsvorsitzender: Stefan Koss; Geschäftsführung: Dr. Andreas Nauerz, Yvonne Reckling 

--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/008eac86-6225-42ad-97e0-bc47ee36bddan%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages