10

The latest Firebird 2.5.x database can run in either Classic, SuperClassic, or SuperServer mode. How can I check in which of these modes an installed database is running?

Jan Derk
  • 2,552
  • 27
  • 22

2 Answers2

15

There's no API that exposes this. But because you're on a server, you can check what process is running.

I.e. on Windows and Firebird 2.5:

  • One fb_inet_server.exe = very likely SuperClassic
  • Multiple fb_inet_server.exe = very likely Classic
  • fbserver.exe = very likely SuperServer
cincura.net
  • 4,130
  • 16
  • 40
3

Firebird 4+ has RDB$CONFIG table. To read ServerMode see record with rdb$config_name='ServerMode':

select rdb$config_value from RDB$CONFIG where rdb$config_name='ServerMode'