it is ok to change defaultBankSize=1 in SequenceUtil.java file?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

it is ok to change defaultBankSize=1 in SequenceUtil.java file?

edward wang
Hi Folks,

When i restarted my sever, then place an order, i found the order id jumped
from 11010 to 11020. i know the reason it is defaultBankSize=10. can i
change it to  defaultBankSize=1?
thanks,

Chwang
Reply | Threaded
Open this post in threaded view
|

Re: it is ok to change defaultBankSize=1 in SequenceUtil.java file?

vaibhav londhe
Hello Chwang,

Yes you can change defaultBankSize=1
 in


"framework/entity/src/org/ofbiz/entity/util/SequenceUtil.java"

Regards,
Vaibhav Londhe


On Wed, Jun 9, 2010 at 4:37 AM, chaohua wang <[hidden email]> wrote:

> Hi Folks,
>
> When i restarted my sever, then place an order, i found the order id jumped
> from 11010 to 11020. i know the reason it is defaultBankSize=10. can i
> change it to  defaultBankSize=1?
> thanks,
>
> Chwang
>
Reply | Threaded
Open this post in threaded view
|

Re: it is ok to change defaultBankSize=1 in SequenceUtil.java file?

edward wang
Thank you very much.
Could you tell me the reason why defaultBankSize=10 as default? there is any
other concerns?

Chwang


On Tue, Jun 8, 2010 at 10:13 PM, vaibhav londhe <[hidden email]>wrote:

> Hello Chwang,
>
> Yes you can change defaultBankSize=1
>  in
>
>
> "framework/entity/src/org/ofbiz/entity/util/SequenceUtil.java"
>
> Regards,
> Vaibhav Londhe
>
>
> On Wed, Jun 9, 2010 at 4:37 AM, chaohua wang <[hidden email]> wrote:
>
> > Hi Folks,
> >
> > When i restarted my sever, then place an order, i found the order id
> jumped
> > from 11010 to 11020. i know the reason it is defaultBankSize=10. can i
> > change it to  defaultBankSize=1?
> > thanks,
> >
> > Chwang
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: it is ok to change defaultBankSize=1 in SequenceUtil.java file?

Jacques Le Roux
Administrator
From: "chaohua wang" <[hidden email]>
> Thank you very much.
> Could you tell me the reason why defaultBankSize=10 as default?

Performance (caching)

>there is any other concerns?

Any

Jacques
 

> Chwang
>
>
> On Tue, Jun 8, 2010 at 10:13 PM, vaibhav londhe <[hidden email]>wrote:
>
>> Hello Chwang,
>>
>> Yes you can change defaultBankSize=1
>>  in
>>
>>
>> "framework/entity/src/org/ofbiz/entity/util/SequenceUtil.java"
>>
>> Regards,
>> Vaibhav Londhe
>>
>>
>> On Wed, Jun 9, 2010 at 4:37 AM, chaohua wang <[hidden email]> wrote:
>>
>> > Hi Folks,
>> >
>> > When i restarted my sever, then place an order, i found the order id
>> jumped
>> > from 11010 to 11020. i know the reason it is defaultBankSize=10. can i
>> > change it to  defaultBankSize=1?
>> > thanks,
>> >
>> > Chwang
>> >
>>
>