https://github.com/maxime-cllt/sqlitecleaner
A simple program that clean and optimize your SQLite file
https://github.com/maxime-cllt/sqlitecleaner
cargo cicd cleaner github-actions optimizer rust sqlite
Last synced: about 2 months ago
JSON representation
A simple program that clean and optimize your SQLite file
- Host: GitHub
- URL: https://github.com/maxime-cllt/sqlitecleaner
- Owner: Maxime-Cllt
- Created: 2024-12-03T12:54:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-19T07:29:31.000Z (over 1 year ago)
- Last Synced: 2025-03-19T08:29:28.366Z (over 1 year ago)
- Topics: cargo, cicd, cleaner, github-actions, optimizer, rust, sqlite
- Language: Rust
- Homepage:
- Size: 83 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SQLiteCleaner
## ๐ Description
SQLiteCleaner is a program designed to clean your SQLite database efficiently. It reduces database storage and
optimizes all tables (except system tables). Built with Rust, it is compatible with all platforms, ensuring smooth
operation across servers and applications. Download the program from the releases section and keep your database in top
shape!
## โจ Features
- ๐๏ธ Reduce database storage but don't delete any data.
- ๐ Optimize all tables except system tables.
- ๐ก Simple and efficient way to clean SQLite databases.
- ๐ Cross-platform compatibility.
- โ๏ธ Maintain databases in optimal condition.
- โ No need for dumps or backups.
- ๐ Does not modify your configuration files.
- ๐ฅ๏ธ Easily run on any server or application.
- ๐ ๏ธ User-friendly and easy to use.
## ๐ป Platform Support
## ๐ผ๏ธ Example of Execution
## ๐ฅ Installation
To run the program:
1. Clone the repository:
```bash
git clone https://github.com/Maxime-Cllt/SQLiteCleaner.git
```
2. Build the program:
```bash
cargo build --release
```
3. Execute the program:
You may need to give the program execute permissions on Linux and macOS:
```bash
chmod +x target/release/SQLiteCleaner
```
### MacOS & Linux
```bash
./target/release/SQLiteCleaner "path/to/your_database.db"
```
### Windows
```bash
.\target\release\SQLiteCleaner.exe "path/to/your_database.db"
```
### Cargo
You can also run the program using Cargo:
```bash
cargo run --release -- "path/to/your_database.db"
```
## ๐งช Code Quality
### Unit Tests available
To run unit tests, use the following command:
```bash
cargo test
```
## ๐ Notes
- โฑ๏ธ Fast execution.
- โ ๏ธ Does not clean triggers, stored procedures, functions, and views.
- ๐ May not reduce storage significantly but is quick to run and can be executed frequently.
## ๐ See Also
- ๐ [DBMSCleaner](https://github.com/Maxime-Cllt/DBMSCleaner)