Gathering Information for SQream Support
When contacting SQream Support, we recommend reporting the following information:
What is the problem encountered?
What was the expected outcome?
How can SQream reproduce the issue?
When possible, please attach as many of the following:
If we are able to easily reproduce your issue in our testing lab, this greatly improves the speed at which we can fix it.
Reproducing an issue consists of understanding:
What was SQream DB doing at the time?
How is the SQream DB cluster configured?
How does the schema look?
What is the query or statement that exposed the problem?
Were there any external factors? (e.g. Network disconnection, hardware failure, etc.)
See the Collecting a Reproducible Example of a Problematic Statement section ahead for information about collecting a full reproducible example.
The logs produced by SQream DB contain a lot of information that may be useful for debugging.
Look for error messages in the log and the offending statements. SQream’s support staff are experienced in correlating logs to workloads, and finding possible problems.
See the Collecting Logs and Metadata Database section ahead for information about collecting a set of logs that can be analyzed by SQream support.
Once we have a fix, this can be issued as a hotfix to an existing version, or as part of a bigger major release.
Your SQream account manager will keep you up-to-date about the status of the issue.
SQream DB contains an SQL utility that can help SQream support reproduce a problem with a query or statement.
This utility compiles and executes a statement, and collects the relevant data in a small database which can be used to recreate and investigate the issue.
SELECT EXPORT_REPRODUCIBLE_SAMPLE(output_path, query_stmt [, ... ]) ; output_path ::= filepath
Path for the output archive. The output file will be a tarball.
Statements to analyze.
SELECT EXPORT_REPRODUCIBLE_SAMPLE('/home/rhendricks', 'SELECT * FROM t', $$SELECT "Name", "Team" FROM nba$$);
SQream DB comes bundled with a data collection utility and an SQL utility intended for collecting logs and additional information that can help SQream support drill down into possible issues.
Write an archive to
/home/rhendricks, containing log files:
SELECT REPORT_COLLECTION('/home/rhendricks', 'log') ;
Write an archive to
/home/rhendricks, containing log files and metadata database:
SELECT REPORT_COLLECTION('/home/rhendricks', 'db_and_log') ;
$ ./bin/report_collection /home/rhendricks/sqream_storage /home/rhendricks db_and_log