Skip to content

Commit

Permalink
Increase LRU buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
Codetector1374 committed Aug 4, 2024
1 parent e894062 commit b3bfe99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/innodb/buffer_manager/lru.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::innodb::{
use anyhow::{anyhow, Result};
use tracing::{trace, warn};

const LRU_PAGE_COUNT: usize = 5;
const LRU_PAGE_COUNT: usize = 128;

pub struct LRUBufferManager {
backing_store: Vec<[u8; FIL_PAGE_SIZE]>,
Expand Down

0 comments on commit b3bfe99

Please sign in to comment.