minor fixes

This commit is contained in:
GroovieGermanikus 2024-02-23 16:41:29 +01:00
parent cb5f7dea64
commit 8966b1ac28
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
2 changed files with 3 additions and 3 deletions

View File

@ -55,8 +55,8 @@ CREATE TABLE banking_stage_results_2.blocks (
leader_identity varchar(44) NOT NULL,
supp_infos text
);
-- page layout: blockhash is important
ALTER TABLE banking_stage_results_2.blocks SET (toast_tuple_target=128);
-- page layout: blockhash is frequently used
ALTER TABLE banking_stage_results_2.blocks SET (toast_tuple_target=200);
CREATE INDEX idx_blocks_block_hash ON banking_stage_results_2.blocks(block_hash);

View File

@ -515,7 +515,7 @@ impl PostgresSession {
let started_at = Instant::now();
let num_rows = self.client.execute(statement.as_str(), &[]).await?;
debug!(
"merged new transactions into accounts_map_transaction_latest for {} accounts in {}ms",
"merged new transactions into accounts_map_transaction_latest temp table for {} accounts in {}ms",
num_rows,
started_at.elapsed().as_millis()
);