Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Avoid DataService store
Avoid DataService store [message #1803661] Wed, 06 March 2019 11:03 Go to next message
Pedro de Arquer is currently offline Pedro de ArquerFriend
Messages: 34
Registered: December 2018
Member
Hi,

I've deployed the Kura framework in a restrained memory environment and would like to avoid the storage of the data made by DataService on the memory database as it increases continuously and has provoked serveral times the fall of Kura.

I don't seem to find the way to avoid this database storage, how can I do it? Besides, the field Store Capacity should limit the rows stored? Because it is not working properly in this case. The limit is set to 10.000, and the device has stored around 170.000.

Thanks,

Pedro

[Updated on: Wed, 06 March 2019 11:05]

Report message to a moderator

Re: Avoid DataService store [message #1803662 is a reply to message #1803661] Wed, 06 March 2019 12:28 Go to previous messageGo to next message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
Hi,
the DataService persistence is managed by an instance of H2 DB that in the default configuration runs in memory.
At the following page you'll find how to configure it to best fit your needs.

Best regards,
Matteo
Re: Avoid DataService store [message #1803756 is a reply to message #1803662] Fri, 08 March 2019 11:55 Go to previous messageGo to next message
Pedro de Arquer is currently offline Pedro de ArquerFriend
Messages: 34
Registered: December 2018
Member
Thanks for your reply.

Following your suggestions, I pointed the database out of memory to a file, but what I'd prefer is to disable the storage task of DataService or configure some kind of limit. Is it possible?
Re: Avoid DataService store [message #1803757 is a reply to message #1803756] Fri, 08 March 2019 12:47 Go to previous message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
Hi,
for what I remember, no.

Best regards,
Matteo
Previous Topic:Kura eclipse emulator and DS activation problems
Next Topic:Kura replace MQTT with CoAP
Goto Forum:
  


Current Time: Thu Apr 25 01:54:35 GMT 2024

Powered by FUDForum. Page generated in 0.03418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top