Re: [Firebird-devel] Proposal for value encoding schema

2015-03-02 Thread Jim Starkey
You missed the point. You can do much, much better. Use the full range of codes. Don't split the code byte into code + value.. Give yourself the full 256 code space. Have a range of values to specific numbers and one byte ints, two byte ints, up to eight byte ints. Have a set of codes for s

[Firebird-devel] Proposal for value encoding schema

2015-03-02 Thread Slavomir Skopalik
Hi all, after discusion with Jim, I was created frist draft of proposal for value encoding. Pros: efectivity for numerical values including date and time Cons: poor for strings (can be worst then current), can be solved by apply RLE (not current) over final result. It is designed as simple (the

Re: [Firebird-devel] [FB SERVICES] Question about shutdown

2015-03-02 Thread Alex Peshkoff
On 03/02/15 12:01, arnaud le roy wrote: > it's strange because it seems that have twice the same parameters options : > > isc_spb_prp_shutdown_db = 7, > isc_spb_prp_deny_new_attachments = 9, > isc_spb_prp_deny_new_transactions = 10, Sorry, you are right, this parameters are abbreviations use in se

Re: [Firebird-devel] [FB SERVICES] Question about shutdown

2015-03-02 Thread arnaud le roy
it's strange because it seems that have twice the same parameters options : isc_spb_prp_shutdown_db = 7, isc_spb_prp_deny_new_attachments = 9, isc_spb_prp_deny_new_transactions = 10, and isc_spb_prp_force_shutdown = 41, isc_spb_prp_attachments_shutdown = 42, isc_spb_prp_transactions_shutdown = 4

Re: [Firebird-devel] [FB SERVICES] Question about shutdown

2015-03-02 Thread arnaud le roy
it's strange because it seems that have twice the same parameters options : isc_spb_prp_shutdown_db = 7, isc_spb_prp_deny_new_attachments = 9, isc_spb_prp_deny_new_transactions = 10, and isc_spb_prp_force_shutdown = 41, isc_spb_prp_attachments_shutdown = 42, isc_spb_prp_transactions_shutdown = 4

Re: [Firebird-devel] [FB SERVICES] Question about shutdown

2015-03-02 Thread Alex Peshkoff
On 03/01/15 15:44, arnaud le roy wrote: > Hi, > > somebody can tell me what is the difference between > > isc_spb_prp_shutdown_db It's a command telling firebird that database must be shutdown. > and > > isc_spb_prp_force_shutdown This is the type of shutdown (one of isc_spb_prp_force_shutdown,