deniskuzZ commented on PR #5700: URL: https://github.com/apache/hive/pull/5700#issuecomment-2748931027
> Got it, we are still running hive `3.1.2` version that does not include `LeaderElection`. Besides `countOpenTxns()` api, we also find slow query in `openTxns()`, the new index would improve it: > > ```sql > select min(txn_id) from TXNS where txn_state='o'; > ``` It might improve the `select`, but degrade the `insert` that is more important (we need to minimize the db lock time during txn open) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
