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?
How to check in which server mode (e.g. SuperClassic or Superserver) a Firebird database is running?
Asked
Active
Viewed 9,831 times
10
-
From application or on a server? – cincura.net Mar 06 '13 at 13:14
-
On a server. But an application like Flamerobin won't tell me either. It allows me to retrieve the database version, but not the server mode. – Jan Derk Mar 06 '13 at 13:55
2 Answers
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
-
What if I am in client? I can't retrieve the executable file name from client. – Chau Chee Yang Nov 13 '13 at 05:48
-
The client should not have a knowledge on server edition. If you need to, you're doing probably something wrong. – cincura.net Nov 13 '13 at 10:31
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'

Pavel Katalymov
- 41
- 2