This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get Ubuntu with NGINX | |
sudo apt update | |
sudo apt upgrade | |
# install Docker | |
# https://docs.docker.com/engine/install/ubuntu/ | |
git clone https://github.com/getsentry/self-hosted.git --branch 22.4.0 <tag> | |
cd self-hosted | |
./install.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT TOP ( 10 ) | |
dbname = DB_NAME( qt.dbid ) | |
, qt.objectid | |
, qs.execution_count | |
, query_text = SUBSTRING( | |
qt.text, qs.statement_start_offset / 2 + 1 | |
, ( CASE | |
WHEN qs.statement_end_offset = -1 THEN LEN( CONVERT( nvarchar(MAX), qt.text )) * 2 | |
ELSE qs.statement_end_offset | |
END - qs.statement_start_offset ) / 2 ) |
OlderNewer