Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2012-01-03 Thread Leyne, Sean
Thomas, > While the restore process is pretty much I/O bound, While that is true for desktop PCs with HDDs (not SSDs) or server without a cached RAID controllers, but it is certainly not true as a blanket statement. There is plenty of room for more throughput. > Another option might be to res

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2012-01-03 Thread Dimitry Sibiryakov
03.01.2012 20:37, Leyne, Sean wrote: > As for the FKs, I see the tool as being a some which needs to have the > maximum performance. If you are going to move whole database at once - yes. Fortunately, in most cases it is not necessary. -- SY, SD. ---

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2012-01-03 Thread Thomas Steinmaurer
>>> The problem is not downtime is how much downtime. Backup and restore is >>> so much downtime. >> >> There are a couple of possible solutions which would reduce the downtime; >> - a new backup/restore tool which would use multiple readers/writers to >> minimize execution time, > > Here we're ta

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2012-01-03 Thread Leyne, Sean
> 03.01.2012 18:51, Leyne, Sean wrote: > > - a "data port" utility which would allow for data to be ported from a live > database to a new database while live is active but would need a finalization > step where the live database is shutdown to apply the final data changes and > add FK constraint

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject - Email found in subject

2012-01-03 Thread Leyne, Sean
Ann, > > - a new backup/restore tool which would use multiple readers/writers > > to minimize execution time, > > Here we're talking about a logical backup that can be used to restart > transaction numbers. Record numbers are based loosely on record storage > location. Since a logical backup/re

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2012-01-03 Thread Ann Harrison
Sean, > >> The problem is not downtime is how much downtime. Backup and restore is >> so much downtime. > > There are a couple of possible solutions which would reduce the downtime; > - a new backup/restore tool which would use multiple readers/writers to > minimize execution time, Here we're tal

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2012-01-03 Thread Leyne, Sean
Jesus > > Single server without downtime is a myth anyway. > The problem is not downtime is how much downtime. Backup and restore is > so much downtime. If that is the case, how much downtime is acceptable? There are a couple of possible solutions which would reduce the downtime; - a new backu

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-30 Thread Leyne, Sean
Dmitry, > Trunk is the ongoing development branch (formerly known as HEAD in CVS), > i.e. transaction IDs are already unsigned long in FB 3.0. Although this would mean a further ODS change as well as an increase in overhead associated with all rows, perhaps the ODS size should be increased from

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-29 Thread Alex Peshkoff
On 12/29/11 22:05, Leyne, Sean wrote: >> The reason for signed type here was (at least visible reason) very simple >> - into some functions using same parameter might >> be passed transaction number (positive value) and something else (negative >> value). I.e. negative sign meant 'this is not tr

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-29 Thread Dmitry Yemanov
29.12.2011 22:05, Leyne, Sean wrote: > >> This change was done in trunk. > > To be clear, you have a code-branch that uses ULONG for transaction ID? Trunk is the ongoing development branch (formerly known as HEAD in CVS), i.e. transaction IDs are already unsigned long in FB 3.0. Dmitry ---

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject - Email found in subject

2011-12-29 Thread Leyne, Sean
> Actually, there is at least one other "special" value for transaction ids. > Zero is > always the system transaction. The "system transaction" I seem to have forgotten about that item. > Maybe it's time to look at all the small integers as well. Agreed. Mike Nordell and I had tried

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-29 Thread Ann Harrison
Sean, > Alex wrote: >>  - into some functions using same parameter might >> be passed transaction number (positive value) and something else (negative >> value). I.e. negative sign meant 'this is not transaction' and function >> behaved >> according to it. > > And some people have complained ab

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-29 Thread Jesus Garcia
> Heavy loaded systems should use clusters. That's all. While one node is on > maintenance, > others do all work. These systems need clusters anyway for high availability > and/or load > balancing. One can't be serious running critical systems on a single server. > I don't agree with you. Y

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-29 Thread Dimitry Sibiryakov
29.12.2011 20:41, Jesus Garcia wrote: > Would not be better, instead of that, If transaction id is equal To 0, no > transaction, else transaction. There is transaction number zero. > As now there is a problem with transactionid and heavy loaded systems, that > could solve in a little the pro

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-29 Thread Jesus Garcia
> This change was done in trunk. The reason for signed type here was (at > least visible reason) very simple - into some functions using same > parameter might be passed transaction number (positive value) and > something else (negative value). I.e. negative sign meant 'this is not > transaction'

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-29 Thread Leyne, Sean
Alex, > > The "simple" solution is to change the datatype of Transaction related > variables from SLONG* to ULONG. The reality of this solution is, > unfortunately, far uglier given the testing required to confirm that all > references have been changed. > > > > > > Sean > > > > > > * for the life

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-29 Thread Alex Peshkoff
On 12/28/11 22:51, Leyne, Sean wrote: >> It is feasible to roll over the transaction ID without putting the database >> offline? i.e. when ID is close to limit, reset it to 0 from the code? > In theory there is a "simple" code change which would provide you another 6 > months breathing room. > >

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-28 Thread Leyne, Sean
> It is feasible to roll over the transaction ID without putting the database > offline? i.e. when ID is close to limit, reset it to 0 from the code? In theory there is a "simple" code change which would provide you another 6 months breathing room. But there is no permanent solution which is cu

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-27 Thread Leyne, Sean
Dimitry, > 27.12.2011 19:17, Leyne, Sean wrote: > > That type of solution is not what I would define as a cluster. > >As you wish. But the rest of world consider this kind of system to be > called > "a shared-nothing cluster". You are correct! "a shared-nothing cluster" is a type of cluste

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject - Email found in subject

2011-12-27 Thread Leyne, Sean
Dimitry, > 25.12.2011 1:00, Leyne, Sean wrote: > > A cluster won't help, since all databases would see the same number of > transactions, the number of which is the problem. > >No, if several transactions during transfer between nodes are merged into > one. >Besides, there is no need for

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-25 Thread Dimitry Sibiryakov
25.12.2011 1:00, Leyne, Sean wrote: > A cluster won't help, since all databases would see the same number of > transactions, the number of which is the problem. No, if several transactions during transfer between nodes are merged into one. Besides, there is no need for all nodes to start f

Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject

2011-12-24 Thread Leyne, Sean
among Firebird Developers Subject: Re: [Firebird-devel] Firebird Transaction ID limit solution - Email found in subject 24.12.2011 1:37, Yi Lu wrote: > 1.I wonder if anyone now has a proper solution to this issue, without > requireing shutting down the system. Set up cluster. While one node