Comments (3)
@tcochunk - Please consider the following documented approaches for interacting with a SQL database using IoT Edge:
- https://learn.microsoft.com/en-us/azure/iot-edge/tutorial-store-data-sql-server?view=iotedge-1.4
- https://learn.microsoft.com/en-us/azure/azure-sql-edge/overview
from iotedge.
@nlcamp thank you for the response. I read the articles and it seems like they are about using the database and some maintenance for a local edge device. That is not really what i am asking. I am looking for the ability to run sql commands (maybe to update the schema or update data) for a device that i dont have physical access too because it is at a remote location. I have not been able to find any guidance on this and i have to believe this is a common problem in the iot space.
imagine i develop a product running on a RPI for reading garden soil moisture and store the data in a database. Imagine the database is synced with the cloud so they can get information on their phone. now lets says i figure out how to read the temperature of the soil and need to add a temperature column to the database at all the millions of customers who have bought the product spread across the world. What is the recommended best practice for doing that?
since the data needs to survive container restarts, the container has a mounted volume where the data resides so just deploying a new container with a new schema does not seem like it would retain the data (maybe there is a trick that i dont know about)???
from iotedge.
Hi @tcochunk,
We unfortunately can't give and specific guidance on your individual scenario as this doesn't appear to be an IoT Edge product related question and more about updating distributed databases with new features/scenarios.
Closing for now, please reopen if you have an IoT Edge product related question.
Ryan
from iotedge.
Related Issues (20)
- IoT Edge 1.4 install fails if system has users with UID 13622 / 13623 HOT 7
- IoT device works perfectly for days, then it does not - reboot fixes issue HOT 3
- Error getting device scope result from IoTHub (IotHubUnauthorizedAccess) HOT 2
- Unexpected shutdown, is it a kind of planned upgrade? HOT 4
- Direct Method of IoTEdge module takes 3 minutes to start responding HOT 11
- IoT Edge produces too much traffic with default configuration, it is not conducive for billable networks such as cellular. HOT 13
- Iotedge fails to make docker-proxy.sock after reboot (file exists) in Ubuntu Core HOT 15
- How to run aziot-edge in a docker container? HOT 10
- EdgeAgent does not restart crashed module if busy downloading new manifest 1.4.10 HOT 3
- Create a reusable Volume in Azure IOT Edge Module via Container Create Options HOT 2
- Can not ssh into a (running) VM with Ubuntu Core 20 on my k3s cluster HOT 1
- Reported twin does not reflect running container HOT 2
- Scarthgap support? HOT 1
- edgeAgent hangs after a networking issue. HOT 2
- [Documentation] [Low priority] Add to the config.toml template and documentation a section for logging HOT 2
- "Did not receive ack for message / System.TimeoutException: Message completion response not received" errors after environment upgrade HOT 3
- Iot edge not starting on debian bullseye HOT 2
- IoT Edge child node unable to connect to IoT Edge transparent gateway
- User module unable to connect to Hub with 'Communication_error' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotedge.