MemSQL Forum
333 FOLLOWERS
MemSQL is a real-time database for cloud and on-premises that delivers immediate insights across live and historical data. Ask questions about using other tools in companion to the database tools, discuss errors & bugs, and more.
MemSQL Forum
2d ago
We recently got an inquiry from a customer asking “How do you pass command line arguments into SQL scripts as session variables from mysql or singlestore client?”
I’ll answer it below.
2 posts - 1 participant
Read full topic ..read more
MemSQL Forum
2d ago
Hello everyone! I have a question about variable pipelines_batches_metadata_to_keep.
I read in the document that this variable limits the number of pipeline batches in the information_schema.pipelines_batches table. It defaults to 1000. But when I count distinct from this table, I see that the number of batches is much larger (about more than 10,000 batches).
Am I understanding this variable correctly?
1 post - 1 participant
Read full topic ..read more
MemSQL Forum
1w ago
have any body used and give me an example of singlestore-jdbc-client-1.2.1.jar i want to enable a failover JDBC connection with my aggregator node as it will be promoted to Master incase of primary failure.
1 post - 1 participant
Read full topic ..read more
MemSQL Forum
3w ago
Hi
I’m reading your documentation and it’s clear that I can choose to prewarm data (Local and Unlimited Database Storage Concepts · SingleStore Documentation) or prematurely execute my query to make sure that the data is fetched from unlimited storage and put onto the local disk.
However, I’m looking for the opposite. How do I evict from the local disk/cache, if I know I’m not going to be needing the data that’s been pulled for the near future?
I acknowledge it might be a weird request, but we’re seeing performance hits due to fetching data in some occasions when we’ve had to ingest a large bu ..read more
MemSQL Forum
3w ago
Hey folks,
I’ve been working on a deployment script both for internal use, and as a public project to help folks installing SingleStore.
Currently I’ve gone through the setup of installing it through the UI, but I’d like to automate that. Right now I only use 1 master aggregator and 1 leaf, what commands would need to be ran to install it locally instead?
Thanks
2 posts - 2 participants
Read full topic ..read more
MemSQL Forum
1M ago
Hey guys. I’ve created the following procedure:
DELIMITER //
CREATE OR REPLACE PROCEDURE updateColumnModelName(tableName TEXT, columnName TEXT) AS
DECLARE has_column INT DEFAULT 0;
DECLARE command TEXT;
BEGIN
SELECT EXISTS (
SELECT *
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = tableName
AND COLUMN_NAME = columnName
) INTO has_column;
IF has_column THEN
SET command = CONCAT('ALTER TABLE ', table_name, ' ADD COLUMN ', column_name, ' LONGTEXT CHARACTER SET utf8mb4 NOT NULL');
ELSE
SET command = CONCAT('ALTER TABLE ', table_name ..read more
MemSQL Forum
1M ago
I have a memsql ciab cluster I use for local development.
I’ve used the latest instructions to spin up this cluster from github page
docker run -i --init \
--name memsql-ciab \
-e SINGLESTORE_LICENSE=$MEMSQL_LICENSE_KEY \
-e ROOT_PASSWORD=singlestore_doesnt_work \
-p 3306:3306 -p 8080:8080 \
--platform linux/amd64 \
ghcr.io/singlestore-labs/singlestoredb-dev:latest
The cluster is healthy when there are no queries running.
The moment I run a query, I start getting these errors.
uncategorized SQLException for SQL [SELECT col1, col2, col3, DOT_PRODUCT(vector, JSON_ARRAY ..read more
MemSQL Forum
1M ago
We are observing something strange with our leaf node memory utilization.
We have a database with a couple schemas on it, each containing some data. We see “TOTAL MEMORY USAGE” of around 15GB of memory in Studio.
We then create a new schema. We do not populate the new schema with any data at all. It has a fair number of tables (about 1,000) but Studio shows only 9MB for memory usage in the Databases view.
However, we see the “TOTAL MEMORY USAGE” goes up to around 19GB of memory in Studio when we add this schema. Dropping the schema reclaims the memory.
What are we doing wrong that causes so mu ..read more
MemSQL Forum
1M ago
As per docs:
There’s unlimited storage access available for SingleStore in Standard edition.
How can this be used?
When I try to attach an unlimited storage, it asks me to get premium license.
1 post - 1 participant
Read full topic ..read more
MemSQL Forum
1M ago
Hello everyone! I have a question that what memory (RAM) of master aggregator stores and how can i manage them? Typically my Singlestore cluster uses very little memory from the master aggregator. But because of some error it increased very high and I couldn’t release it even after restarting MA. Thank you in advance.
1 post - 1 participant
Read full topic ..read more