@Vishvanath Bhat - Thanks for the question and using MS Q&A paltform.
It seems like you are facing data sync issues in your Stream Analytics job to Azure SQL database. Based on the screenshot you provided, it looks like there are some gaps in the data and it is not reflecting consistently at regular intervals.
There could be several reasons for this issue. One possible reason could be the network latency between the Raspberry Pi Azure IoT Online Simulator and Azure IoT Hub. Another reason could be the configuration of your Stream Analytics job.
To troubleshoot this issue, I would suggest you to check the following:
- Check the network latency between the Raspberry Pi Azure IoT Online Simulator and Azure IoT Hub. You can use the Azure IoT Hub metrics to monitor the incoming messages and check if there are any spikes or drops in the message count.
- Check the configuration of your Stream Analytics job. Make sure that the input and output settings are configured correctly. Also, check if there are any errors or warnings in the job diagnostics logs.
- Check the schema of the data being sent from the Raspberry Pi Azure IoT Online Simulator. Make sure that the schema matches the schema of the target table in your SQL database.
- Check if there are any throttling limits on your Azure SQL database. If there are, you may need to increase the limits to handle the incoming data.
If you are still facing issues after checking the above, you can try increasing the batch size and the batch frequency in your Stream Analytics job. This will help in reducing the number of transactions and improve the performance of your job.
I hope this helps! Let me know if you have any further questions.