singlestore-labs / singlestoredb-dev-image

The SingleStoreDB Dev Container is the fastest way to develop with SingleStore on your laptop or in a CI/CD environment.
Apache License 2.0
41 stars 16 forks source link

Use sdb-admin to set global variables #24

Closed michel94 closed 1 year ago

michel94 commented 1 year ago

We were simply setting global variables in the MA using memsqlctl. This of course means we are not setting variables for leaves. This isn't a problem for most recent variables, which are sync vars, but can be a problem for non-sync ones.

In my case, I was running the singlestore-dev image in a pretty big machine, which made the default maximum_memory too big for the free license. Setting the maximum_memory at the MA level wasn't enough.

Manually tested by deploying the image and changing variables.