FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Implement sqlite3_db_status interface by fractaledmind · Pull Request #462 · sparklemotion/sqlite3-ruby · GitHub

Implement sqlite3_db_status interface - #462

Draft
fractaledmind wants to merge 2 commits into
sparklemotion:mainfrom
fractaledmind:db-status
Draft

Implement sqlite3_db_status interface#462
fractaledmind wants to merge 2 commits into
sparklemotion:mainfrom
fractaledmind:db-status

Conversation

Copy link
Copy Markdown
Contributor

This PR is work-in-progress while I figure out test cases for each of the counters. But I thought I would get the benefits of the amazingly thorough CI as I build, so I'm opening this draft PR early with my first method: cache_misses.

This PR will add 13 instance methods to the Statement class:

  • lookaside_used
  • cache_used
  • schema_used
  • stmt_used
  • lookaside_hits
  • lookaside_miss_size
  • lookaside_miss_full
  • cache_hits
  • cache_misses
  • cache_writes
  • deferred_fks
  • cache_used_shared
  • cache_spills

Each method corresponds to one of the counters available to the db_status interface.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL