Subject | SUPERSERVER_V2 |
---|---|
Author | Dmitry Kuzmenko |
Post date | 2001-01-31T13:24:56Z |
Hello, All!
My question is related to sources, but I think it is question about FB architecture
and features.
Reading sources I've found interesting define named
SUPERSERVER_V2.
At least in jrd\winnt.c there is a code
P I O _ o p e n (open a database file)
if ((desc = CreateFile (ptr,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL |
#ifdef SUPERSERVER_V2
FILE_FLAG_OVERLAPPED |
FILE_FLAG_NO_BUFFERING |
#endif
FILE_FLAG_RANDOM_ACCESS,
0)) == INVALID_HANDLE_VALUE)
these two flags (in SUPERSERVER_V2 ifdef) looks very interesting.
Does somebody tested performance with this define enabled?
Will it be set in future FireBird builds for Windows?
Why this define is not yet enabled? (or it is already?)
p.s. also, who can comment another interesting define - ISC_DATABASE_ENCRYPTION?
--
Dmitry Kuzmenko, Epsylon Technologies.
My question is related to sources, but I think it is question about FB architecture
and features.
Reading sources I've found interesting define named
SUPERSERVER_V2.
At least in jrd\winnt.c there is a code
P I O _ o p e n (open a database file)
if ((desc = CreateFile (ptr,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL |
#ifdef SUPERSERVER_V2
FILE_FLAG_OVERLAPPED |
FILE_FLAG_NO_BUFFERING |
#endif
FILE_FLAG_RANDOM_ACCESS,
0)) == INVALID_HANDLE_VALUE)
these two flags (in SUPERSERVER_V2 ifdef) looks very interesting.
Does somebody tested performance with this define enabled?
Will it be set in future FireBird builds for Windows?
Why this define is not yet enabled? (or it is already?)
p.s. also, who can comment another interesting define - ISC_DATABASE_ENCRYPTION?
--
Dmitry Kuzmenko, Epsylon Technologies.