-
-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile with SQLITE_ENABLE_DBSTAT_VTAB to enable DBSTAT table support? #1279
Comments
Hi @broofa, Interesting question, I don't think this has come up before. Enabling DBSTAT is something that you can do yourself if you build from source. Clone this repository, make the changes above and then run |
Thanks for the quick reply. I'll try compiling with those flags and see how it goes.. |
Quick followup: After looking into this, we've decided that compiling our own version of this is not worth the complexity and time it adds to our build pipeline. @kewde While I don't know what perf impact this would have, the precompiled binariesand Homebrew both have this option enabled. That seems to suggest it's not a serious concern. So... enable it here for the sake of consistency? |
@broofa fixed in v4.2.0 |
Per https://www.sqlite.org/dbstat.html , the DBSTAT table is only available if when sqlite is compiled with the SQLITE_ENABLE_DBSTAT_VTAB flag. Any reason not to do this?
Asking because the DBSTAT table is particularly helpful when analyzing db storage usage.
The text was updated successfully, but these errors were encountered: