Code Monkey home page Code Monkey logo

Comments (3)

nlcamp avatar nlcamp commented on June 14, 2024

@tcochunk - Please consider the following documented approaches for interacting with a SQL database using IoT Edge:

  1. https://learn.microsoft.com/en-us/azure/iot-edge/tutorial-store-data-sql-server?view=iotedge-1.4
  2. https://learn.microsoft.com/en-us/azure/azure-sql-edge/overview

from iotedge.

tcochunk avatar tcochunk commented on June 14, 2024

@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.

ryanwinter avatar ryanwinter commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.