Logo
4.3

Contents:

  • Getting Started
    • Preparing Your Machine to Install SQreamDB
    • Installing SQreamDB
    • Executing Statements in SQreamDB
    • Performing Basic SQream Operations
      • Running the SQream SQL Client
      • Creating Your First Table
      • Listing Tables
      • Inserting Rows
      • Running Queries
      • Deleting Rows
      • Saving Query Results to a CSV or PSV File
    • Hardware Guide
  • Installation Guides
    • Installing and Launching SQream
      • Pre-Installation Configuration
      • Installing SQream Using Binary Packages
      • Installing Monit
      • Launching SQream with Monit
    • Installing SQream Studio
      • Installing Prometheus Exporter
      • Installing Prometheus Using Binary Packages
      • Installing the Dashboard Data Collector
      • Installing Studio on a Stand-Alone Server
      • Installing an NGINX Proxy Over a Secure Connection
  • Data Ingestion Sources
    • Overview
    • Avro
    • CSV
    • Parquet
    • ORC
    • JSON
    • External Databases
  • Connecting to SQreamDB
    • Client Platforms
      • Connect to SQream Using Informatica Cloud Services
      • MicroStrategy
      • Pentaho Data Integration
      • Connect to SQream Using PHP
      • BI Desktop
      • R
      • Connecting to SQream Using SAP BusinessObjects
      • SAS Viya
      • Connect to SQream Using SQL Workbench
      • Tableau
      • Talend
      • TIBCO Spotfire
    • Client Drivers
      • JDBC
      • Connecting to SQream Using Python (pysqream)
      • Connecting to SQream Using Node.JS
      • ODBC
        • Install and Configure ODBC on Windows
        • Install and configure ODBC on Linux
      • Connecting to SQream Using .NET
  • External Storage Platforms
    • HDFS Environment
    • Amazon Web Services
  • Loading and Unloading Data
  • Feature Guides
    • Automatic Foreign Table DDL Resolution
    • Query Healer
    • Compression
    • Python User-Defined Functions
    • Workload Manager
    • Concurrency and Locks
    • Concurrency and Scaling in SQream DB
  • Operational Guides
    • Access Control
      • Overview
      • Password Policy
      • Managing Roles
      • Permissions
      • Departmental Example
    • Creating or Cloning Storage Clusters
    • Working with External Data
    • Foreign Tables
    • Deleting Data
    • Logging
    • Monitoring Query Performance
    • Security
    • Saved Queries
    • Optimization and Best Practices
  • SQream Acceleration Studio 5.6.0
    • Getting Started with SQream Acceleration Studio 5.6.0
    • Monitoring Workers and Services from the Dashboard
    • Executing Statements and Running Queries from the Editor
    • Viewing Logs
    • Creating, Assigning, and Managing Roles and Permissions
    • Configuring Your Instance of SQreams
  • Architecture
    • Internals and Architecture
    • Filesystem and Usage
    • Sizing
  • Configuration Guides
    • Configuring SQream
      • Configuration Levels
      • Flag Types
      • Configuration Roles
      • Modification Methods
      • Parameter Values
      • Command Examples
      • Showing All Flags in the Catalog Table
      • All Configurations
    • Configuring LDAP authentication
  • References
    • SQL Statements and Syntax
      • SQL Syntax Features
      • SQL Statements
      • SQL Functions
        • Built-In Scalar Functions
        • User-Defined Functions
        • Aggregate Functions
        • Window Functions
    • Catalog Reference Guide
      • Overview
      • What Information Does the Schema Contain?
      • Catalog Tables
      • Additional Tables
      • Examples
    • Command line programs
      • metadata_server
      • sqreamd
      • SqreamDB Console
      • Server Picker
      • SqreamStorage
      • sqream sql
      • upgrade_storage
    • SQL Feature Checklist
  • Data Type Guides
    • Converting and Casting Types
    • Supported Data Types
    • Supported Casts
      • Numeric
      • Boolean
      • Integer
      • Floating Point
      • String
      • Date
  • Release Notes
    • Release Notes 4.0
      • Release Notes 4.0
      • Release Notes 4.1
      • Release Notes 4.2
      • Release Notes 4.3
    • Release Notes 2022.1
      • Release Notes 2022.1.7
      • Release Notes 2022.1.6
      • Release Notes 2022.1.5
      • Release Notes 2022.1.4
      • Release Notes 2022.1.3
      • Release Notes 2022.1.2
      • Release Notes 2022.1.1
      • Release Notes 2022.1
  • Troubleshooting
    • Remedying Slow Queries
    • Resolving Common Issues
    • Identifying Configuration Issues
    • Lock Related Issues
    • Log Related Issues
    • Core Dumping Related Issues
    • Gathering Information for SQream Support
  • Glossary
SQream DB
  • Troubleshooting
  • Lock Related Issues

Lock Related Issues

Sometimes, a rare situation can occur where a lock is never freed.

The workflow for troubleshooting locks is:

  1. Identify which statement has obtained locks.

  2. Understand if the statement is itself stuck, or waiting for another statement.

  3. Try to stop the offending statement, as in the following example:

SELECT STOP_STATEMENT(2484923);
Previous Next

© Copyright 2023 SQream. Revision f25e9a5b.