MySQL - Custom uploads
Posted: Sun 24 May 2015 1:41 pm
Observations:
The processed SQL is not logged in the diag files for "Custom upload seconds"**, in fact nothing seems to get logged unless there is an error.
It would be nice for debugging to see the processed SQL statement, and normal logging to see "X rows affected".
The "Custom upload minutes" SQL statement does get logged, but again, not the results.
Could the entry 'line' be a box, the SQL tends to be very long on one line and difficult to read/edit.
Q: Can you put multiple statements separated with semicolons?
I have an extra column on my realtime table so I am adding a 'upload seconds' SQL statement set to 60 seconds to do the insert, then adding a 'upload minute' SQL set to 1 minute to do the 'retention' deletion. Maybe they could be combined as semicolon separated commands?
**(we really need simpler names to refer to these entries in the config!)
The processed SQL is not logged in the diag files for "Custom upload seconds"**, in fact nothing seems to get logged unless there is an error.
It would be nice for debugging to see the processed SQL statement, and normal logging to see "X rows affected".
The "Custom upload minutes" SQL statement does get logged, but again, not the results.
Could the entry 'line' be a box, the SQL tends to be very long on one line and difficult to read/edit.
Q: Can you put multiple statements separated with semicolons?
I have an extra column on my realtime table so I am adding a 'upload seconds' SQL statement set to 60 seconds to do the insert, then adding a 'upload minute' SQL set to 1 minute to do the 'retention' deletion. Maybe they could be combined as semicolon separated commands?
**(we really need simpler names to refer to these entries in the config!)