УкраїнськаEnglishmRussian
Вход/Новый
В теме нет новых постов

Aperiodic DB Value Archivator


Автор Сообщение
Сообщение создано: 05. 11. 2011 [18:15]
Unaie
Unai Ezta
Создатель темы
Зарегистрирован(а) с: 30.06.2009
Сообщения: 42
Hi. Is there any way to archivate values to DB on demand instead of periodically?

That is.. I want to save all values only when a variable or flag goes from 0 to 1.

Thx.
Сообщение создано: 06. 11. 2011 [09:55]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3743
"Unaie" wrote:

Hi. Is there any way to archivate values to DB on demand instead of periodically?

No, DB is too slow for that and read operation will too slow, by need several requests to single value up-to no changed base.

"Unaie" wrote:

That is.. I want to save all values only when a variable or flag goes from 0 to 1.

Use FSArch for any save. DB use only for export and exchange need.

Learn, learn and learn better than work, work and work.



3712