Author Topic: List Object Limit  (Read 3513 times)

Offline Nathzn

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
List Object Limit
« on: July 02, 2014, 10:32:21 AM »
Hi Guys,

Quick question - tried to find the information through genesys documentation but cannot find this.

Do List Objects have a limit? if it does how big can it go?

Thanks,
Nathan

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: List Object Limit
« Reply #1 on: July 02, 2014, 11:31:28 AM »
My opinion is that the limit is given by used database, but I am not pretty sure about it. But, I cannot imagine reasons for creating so big list with so many key-value pairs and section. We are using ListObject very often and within each installation and the maximum values within one ListObject is approx 5k.

Offline Nathzn

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: List Object Limit
« Reply #2 on: July 02, 2014, 02:34:19 PM »
Hi Kubig,

Thanks for the response, we plan to use a new list to store customer input/data from our IRD strategies. Which could result in the list becoming very big. What would be your opinion on this?

Thanks

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: List Object Limit
« Reply #3 on: July 02, 2014, 06:07:10 PM »
There is no any "hardcoded" limitations on list size.
Just URS keep entire list data (plus associated hashtables) in memory so it will depends from how much memory URS might use.

Plus (if such necessity happens) updating huge lists directly from strategies might result URS performnce problems. 

Offline mduran22

  • Full Member
  • ***
  • Posts: 108
  • Karma: 5
Re: List Object Limit
« Reply #4 on: July 02, 2014, 07:46:51 PM »
Have you considered writing this out to a custom database? That way you can set your limits on the database itself and not worry about affecting the config database with writes or reads. That way if someone runs a massive query you won't see performance issues. You can also set a time out value for database calls so that if there is no response DB Server (I believe) closes the connection and responds with an error.

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: List Object Limit
« Reply #5 on: July 03, 2014, 07:53:08 AM »
[quote author=Nathzn link=topic=8409.msg36931#msg36931 date=1404311659]
Hi Kubig,

Thanks for the response, we plan to use a new list to store customer input/data from our IRD strategies. Which could result in the list becoming very big. What would be your opinion on this?

Thanks
[/quote]

You can store anything you like in List Objects, however, they weren't designed to store large amount of customer data, but just to provide a flexible mechanism to manage your environment (resource-related, rather then customer related).

Plus, I would object that using them to store (possibly sensible) customer data it's neither really compliant to security regulations nor easily manageable (how would you do look up, mass inserts etc?).

Fra

Offline Nathzn

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: List Object Limit
« Reply #6 on: July 03, 2014, 04:08:05 PM »
Hi,

Thanks you all for the detailed responses, this will help indefinatly! I think the sensible option is to use a database to store the customer data and keep list objects to manage the enviroment dynamically.

I also have another question - is it possible to script/automate data into a list object? would be interested if anyone has complete/attempted this.

Cheers,

Offline mduran22

  • Full Member
  • ***
  • Posts: 108
  • Karma: 5
Re: List Object Limit
« Reply #7 on: July 03, 2014, 04:46:19 PM »
It is possible to write automate scripts to insert/update data in to the config database using config SDK API. I haven't done it for a list object, but have done it to update/insert RoutePoints, Extensions, VT ports.