Talk:Recorder (mysql)

Large scale recorders
It seems there may be memory problems when trying to do large-scale recordings. Here's what we can do to enable large numbers of points to be collected at one time.

Convert table to a pseudo-property
This would allow the property to be specified multiple times, with each call allowing multiple entries to be specified. The entries would then be collected in a recording list that would processed each time an update occurs.

Example
The object specification

object recorder { property "property1,property2"; property "property3,property4,property5"; }

would output a table with the following columns

id,t,property1,property2,property3,property4,property5;

Allow multiple objects to be used
When no parent is specified, then if a 'group' property is specified, all the objects in the group are used to collect the properties from. If no 'group' property is specified the properties must include an object specification as well.

Example
The object specification

object recorder { group "class=myclass"; property "property1,property2,property3"; }

would output a table with the following columns

id,t,name1_property1,...,nameN,property1,name1_property2,...,nameN_property2,...

or the specification

object recorder { property "name1.property1,name2.property1,name1.property2"; }

would output

id,t,name1_property1,name2_property1,name1_property2;