diff --git a/migration.sql b/migration.sql index a904106..8f52b05 100644 --- a/migration.sql +++ b/migration.sql @@ -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); diff --git a/src/postgres.rs b/src/postgres.rs index 0974270..0482d96 100644 --- a/src/postgres.rs +++ b/src/postgres.rs @@ -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() );