-14
ufos/src/storage_fjall.rs
-14
ufos/src/storage_fjall.rs
···
1143
1143
"how many items are in the fjall batch for batched inserts"
1144
1144
);
1145
1145
describe_histogram!(
1146
-
"storage_insert_batch_db_batch_size",
1147
-
Unit::Count,
1148
-
"in-memory size of the fjall batch for batched inserts"
1149
-
);
1150
-
describe_histogram!(
1151
1146
"storage_rollup_counts_db_batch_items",
1152
1147
Unit::Count,
1153
1148
"how many items are in the fjall batch for a timlies rollup"
1154
-
);
1155
-
describe_histogram!(
1156
-
"storage_rollup_counts_db_batch_size",
1157
-
Unit::Count,
1158
-
"in-memory size of the fjall batch for a timelies rollup"
1159
1149
);
1160
1150
describe_counter!(
1161
1151
"storage_delete_account_partial_commits",
···
1356
1346
insert_batch_static_neu::<NewRollupCursorKey>(&mut batch, &self.global, last_cursor)?;
1357
1347
1358
1348
histogram!("storage_rollup_counts_db_batch_items").record(batch.len() as f64);
1359
-
histogram!("storage_rollup_counts_db_batch_size")
1360
-
.record(std::mem::size_of_val(&batch) as f64);
1361
1349
batch.commit()?;
1362
1350
Ok((cursors_advanced, dirty_nsids))
1363
1351
}
···
1463
1451
);
1464
1452
1465
1453
histogram!("storage_insert_batch_db_batch_items").record(batch.len() as f64);
1466
-
histogram!("storage_insert_batch_db_batch_size")
1467
-
.record(std::mem::size_of_val(&batch) as f64);
1468
1454
batch.commit()?;
1469
1455
Ok(())
1470
1456
}