stellarsql / StellarSQL

🚧 (Archived) StellarSQL: a minimal SQL DBMS written in Rust
https://stellarsql.github.io/StellarSQL/stellar_sql/
MIT License
86 stars 16 forks source link

Add a memory pool #12

Closed Dong513 closed 5 years ago

Dong513 commented 5 years ago

Create a memory pool

todo[bot] commented 5 years ago

read index file, find all row data range, call fetch_rows

https://github.com/tigercosmos/StellarSQL/blob/85bc00446fb81a569ae0cfe2e04cfe5cdee198e6/src/component/table.rs#L113-L118


This comment was generated by todo based on a TODO comment in 85bc00446fb81a569ae0cfe2e04cfe5cdee198e6 in #12. cc @Dong513.
todo[bot] commented 5 years ago

3. check dirty bit of rows

https://github.com/tigercosmos/StellarSQL/blob/85bc00446fb81a569ae0cfe2e04cfe5cdee198e6/src/manager/pool.rs#L138-L143


This comment was generated by todo based on a TODO comment in 85bc00446fb81a569ae0cfe2e04cfe5cdee198e6 in #12. cc @Dong513.
todo[bot] commented 5 years ago

check db delete bit

https://github.com/tigercosmos/StellarSQL/blob/85bc00446fb81a569ae0cfe2e04cfe5cdee198e6/src/sql/worker.rs#L50-L55


This comment was generated by todo based on a TODO comment in 85bc00446fb81a569ae0cfe2e04cfe5cdee198e6 in #12. cc @Dong513.
todo[bot] commented 5 years ago

check db, table delete bit

https://github.com/tigercosmos/StellarSQL/blob/85bc00446fb81a569ae0cfe2e04cfe5cdee198e6/src/sql/worker.rs#L57-L60


This comment was generated by todo based on a TODO comment in 85bc00446fb81a569ae0cfe2e04cfe5cdee198e6 in #12. cc @Dong513.