Materialized Result Table storage mechanism
MemSQL Forum
by daotuan1903
3d ago
Can anyone tell me how a result table/materialized result table stores its data? Where does it store (RAM/disk), on Aggregator or Leaf, etc…? Thank you very much in advance. 1 post - 1 participant Read full topic ..read more
Visit website
Total disk space used by ingest errors
MemSQL Forum
by daotuan1903
3d ago
Is there a way to know how much disk space is occupied by ingest errors, a.k.a the number limited by the variable ingest_errors_max_disk_space? I guess it can be found by querying information_schema views but I do not find anything related in the docs. 1 post - 1 participant Read full topic ..read more
Visit website
Ignore specific `sdb-report send-alert` checkers
MemSQL Forum
by wedwards
6d ago
The sdb-report send-alert command sends alerts about swapUsage ‘failures’. How do I ignore those? The documentation at send-alert · SingleStore Documentation does not show the full config file format. It does show the thresholds key, which specifies ‘checkers’ that seem to be documented only on check · SingleStore Documentation. One of these checkers is called swapUsage, but the documentation does not specify how to ignore it, rather than setting a threshold (if that is even possible for all checkers). 1 post - 1 participant Read full topic ..read more
Visit website
Add hostname to `sdb-report send-alert` emails
MemSQL Forum
by wedwards
6d ago
Describe the problem you’re experiencing? Emails generated by sdb-report send-alert do not contain hostname. This is messy with multiple SingleStore hosts/clusters. What is your ideal solution? What are you looking for? Add hostname to email. What version(s) of MemSQL or related tools is this affecting? root@ss-msh01:~# sdb-report version Version: 1.17.8 Commit: 75e493abb458ca7875b9f2d93950a50790386f7c 1 post - 1 participant Read full topic ..read more
Visit website
Waiting for metadata lock on 'table', when running insert/ when duplicate update
MemSQL Forum
by moralez.rodrigo
2w ago
We are running an insert/when duplicate update over a rowstore table, it has in total 2M rows. We tried updating into batches of 100k, 10k, 4k, 1k (with start transaction as well), for all the cases it reaches a point on which the rest of the queries that are being done into the same table are locked with the message “waiting for metadata lock on ‘table’” and it got stuck for a minute until all the updates finish. Do you know why this is doing a metadata lock? Is there a way to do this update without locking the whole table? Memsql version 7.0.16. 1 post - 1 participant Read full topic ..read more
Visit website
Error 1706 er_memsql_feature_lockdown
MemSQL Forum
by daotuan1903
2w ago
I got an error while trying to examine with CREATE MATERIALIZED RESULT TABLE query. I tried to execute this query in SingleStore Studio: create materialized result table result_tbl_name as select * from db_name.tb_name; But I got this error: ERROR 1706 ER_MEMSQL_FEATURE_LOCKDOWN: Feature ‘CREATE RESULT TABLE on aggregator with non-leaf plan’ is not supported by SingleStore. and the query can not be executed. Can you tell me which error that was?. My deployment is an on-premise type with SingleStore Operator, version 8.1.17, deployed on Openshift Container Platform 1 post - 1 participant Re ..read more
Visit website
Ingest parquet with pipelines multiple set clauses for datetime objects
MemSQL Forum
by User6002
1M ago
I need to convert datetime objects in my pipeline unfortunately i cannot find any documentation on the syntax for multiple set clauses for multiple columns. Example: CREATE PIPELINE testpipeline AS LOAD DATA S3 “s3://test-bucket/modules/flow/snowflakeExportTemp/17c3e786-b376-4f4d-9ef5-2f30849f1f26/*” CONFIG ’ { “region”: “eu-central-1” } ’ CREDENTIALS ’ { “aws_access_key_id”:“”, “aws_secret_access_key”: “”, “aws_session_token:”" } ’ INTO TABLE TestTable FORMAT PARQUET (AMOUNT ← %::AMOUNT,@CREATEDATE ← %::CREATEDATE,CREATE DATE V1 ← %::CREATE DATE V1,test/column ← %::test/column) SET CREATEDATE ..read more
Visit website
License Expiration
MemSQL Forum
by Novian
1M ago
Please can someone explain the expired license on the Self-managed “Premium Trial License”. After the license expires, will the singlestore cluster still run and be able to read and write? So what is the real impact of the expiration of the license on the singlestore cluster? 1 post - 1 participant Read full topic ..read more
Visit website
Result table disappear before reading all partitions
MemSQL Forum
by jwas
1M ago
I’m trying to read query results in parallel. I’m following the docs at Read Query Results in Parallel · SingleStore Documentation When I create result tables for two queries and then try to read from these tables, for one of them I’m getting an error like Aggregator result table 'some_db.some_table' doesn't exist. After creating these result tables, I make sure they exist by running a SHOW RESULT TABLE query. It does not matter if I use single-reader mode or create materialized result tables. I’m testing this with very tiny tables (5-25 rows), where all rows are in a single partition. There a ..read more
Visit website
UPDATE query failure with 'Invalid JSON value' error on unrelated column
MemSQL Forum
by osvaldo
1M ago
Hello community, I’ve been successfully running the following UPDATE query in SingleStore for months: UPDATE app_events e JOIN users u USING(user_id) SET e.server_id = u.server_id WHERE e.event_date >= CURRENT_DATE() - INTERVAL 2 DAY AND e.event_timestamp >= u.install_date AND (e.server_old IS NULL OR e.server_old = ""); But recently, I encountered the following error: SQL Error [1844] [HY000]: Leaf Error (memsql-02.thehost.local:3307): Invalid JSON value for column 'score_data' What’s puzzling is that the column mentioned in the error (‘score_data’) is not related to the query I ..read more
Visit website

Follow MemSQL Forum on FeedSpot

Continue with Google
Continue with Apple
OR