You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There’s a significant difference in performance when running the same query locally vs. in the dev environment, even though the query uses the same execution strategy in both environments.
Query:
SELECT
*
FROM stacks_blockchain_api.txs
WHERE canonical = true AND microblock_canonical = true AND block_height <= 157521 AND burn_block_time <= 1730591999
AND (
CASE
WHEN EXISTS (
SELECT 1
FROM pg_extension
WHERE extname = 'pg_trgm'
)
THEN similarity(contract_call_function_name, 'swab') > 0.3
ELSE contract_call_function_name ILIKE '%swab%'
END
)
ORDER BY burn_block_time DESC, block_height DESC, microblock_sequence DESC, tx_index DESC
LIMIT 30
OFFSET 0;
There’s a significant difference in performance when running the same query locally vs. in the dev environment, even though the query uses the same execution strategy in both environments.
Query:
Analysis output:
The text was updated successfully, but these errors were encountered: