Downloads:

18,477

Downloads of v 3.38.1:

71

Last Update:

13 Mar 2022

Package Maintainer(s):

Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

Tags:

sqlite db database analyzer embedded hwaci

SQLite Analyzer

This is not the latest version of SQLite Analyzer available.

  • 1
  • 2
  • 3

3.38.1 | Updated: 13 Mar 2022

Downloads:

18,477

Downloads of v 3.38.1:

71

Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

  • 1
  • 2
  • 3
SQLite Analyzer 3.38.1

This is not the latest version of SQLite Analyzer available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install SQLite Analyzer, run the following command from the command line or from PowerShell:

>

To upgrade SQLite Analyzer, run the following command from the command line or from PowerShell:

>

To uninstall SQLite Analyzer, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade sqlite.analyzer -y --source="'INTERNAL REPO URL'" --version="'3.38.1'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade sqlite.analyzer -y --source="'INTERNAL REPO URL'" --version="'3.38.1'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install sqlite.analyzer
  win_chocolatey:
    name: sqlite.analyzer
    version: '3.38.1'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'sqlite.analyzer' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.38.1'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller sqlite.analyzer
{
    Name     = "sqlite.analyzer"
    Version  = "3.38.1"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'sqlite.analyzer':
  ensure   => '3.38.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 13 Mar 2022.

Description

SQLite Analyzer is a command-line utility program that measures and displays how much and how efficiently space is used
by individual tables and indexes with an SQLite database file.

The sqlite3_analyzer.exe binary is a command-line utility program that measures and displays how much and how
efficiently space is used by individual tables and indexes with an SQLite database file. Example usage:

sqlite3_analyzer database.sqlite

The output is a human-readable ASCII text report that provides information on the space utilization of the database
file. The report is intended to be self-explanatory, though there is some additional explanation of the various
parameters reported toward the end of the report.

The output is also valid SQL. Most of the report text is contained within a header comment, with various SQL statements
that create and initialize a database at the end of the report.

The constructed database contains the raw data from which the report was extracted. Hence the original report can be
read into an instance of the command-line shell and then the raw data can be queried to dig deeper into the space
utilization of a particular database file.

screenshot

Notes

  • The sqlite3_analyzer.exe program is a TCL program that uses the dbstat virtual table
    to gather information about the database file and then format that information neatly.
  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU).
    If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.

legal\LICENSE.txt
SQLite Is Public Domain

 All of the code and documentation in SQLite has been dedicated to  the  public
 domain by the authors. All code authors, and representatives of the  companies
 they work for, have signed affidavits dedicating their  contributions  to  the
 public domain and originals  of  those  signed  affidavits  are  stored  in  a
 firesafe at the main  offices  of  Hwaci.  Anyone  is free  to  copy,  modify,
 publish, use, compile, sell, or distribute the original SQLite code, either in
 source code form or as a compiled  binary,  for  any  purpose,  commercial  or
 non-commercial, and by any means.

The previous paragraph applies to the deliverable  code  and  documentation  in
SQLite - those parts of the SQLite library that you actually  bundle  and  ship
with a larger application. Some scripts used as part of the build process  (for
example the "configure" scripts generated by autoconf) might fall  under  other
open-source licenses.  Nothing from these build scripts ever reaches the  final
deliverable SQLite library, however, and so the licenses associated with  those
scripts should not be a factor in assessing your rights to  copy  and  use  the
SQLite library.

All of the deliverable code in SQLite has been written from  scratch.  No  code
has been taken from other projects or from the open  internet.  Every  line  of
code can be traced back to its original author, and all of those  authors  have
public domain dedications on file.  So the SQLite code base  is  clean  and  is
uncontaminated with licensed code from other projects.


Open-Source, not Open-Contribution

SQLite is open-source, meaning that you can make as many copies of  it  as  you
want and do whatever you  want  with  those  copies,  without  limitation.  But
SQLite is not open-contribution.  In order to keep SQLite in the public  domain
and ensure that the code does  not  become  contaminated  with  proprietary  or
licensed content, the project does not accept patches from unknown persons.

All of the code in SQLite is original, having been written specifically for use
by SQLite.  No code has been copied from unknown sources on the internet.


Warranty of Title

SQLite is in the public domain and does not require a license.  Even  so,  some
organizations want legal proof of their  right  to  use  SQLite.  Circumstances
where this occurs include the following:

    * Your company desires indemnity against claims of copyright infringement.
    * You are using SQLite in a jurisdiction that does not recognize the public
      domain.
    * You are using SQLite in a jurisdiction that does not recognize the right
      of an author to dedicate their work to the public domain.
    * You want to hold a tangible legal document as evidence that you have the
      legal right to use and distribute SQLite.
    * Your legal department tells you that you have to purchase a license.

If any of the above circumstances apply to you, Hwaci, the company that employs
all the developers of SQLite, will sell you a Warranty of Title for  SQLite.  A
Warranty of Title is a legal document that asserts that the claimed authors  of
SQLite are the true authors, and that the  authors  have  the  legal  right  to
dedicate the SQLite to the public domain, and that Hwaci will vigorously defend
against challenges to those claims.  All  proceeds  from  the  sale  of  SQLite
Warranties of Title are used to fund  continuing  improvement  and  support  of
SQLite.


Contributed Code

In order to keep SQLite completely  free  and  unencumbered  by  copyright, the
project does not accept patches. If you would like to make a suggested  change,
and include a patch as a proof-of-concept, that would be great.  However please
do not be offended if we rewrite your patch from scratch.
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The application has been downloaded from the official distribution and can
be verified by:

1. Go to the binary distribution page

  https://sqlite.org/download.html
  
and download the archive sqlite-tools-win32-x86-3380100.zip using the link in
the Precompiled Binaries for Windows section.

Alternatively the archives can be downloaded directly from

  https://sqlite.org/2021/sqlite-tools-win32-x86-3380100.zip

2. Extract the file sqlite3.exe from the archive

3. The executable can be validated by comparing checksums
  - Use powershell function 'Get-Filehash' - Get-Filehash -algorithm sha256 sqlite3.exe
  - Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f sqlite3_analyzer.exe

  File:         sqlite3_analyzer.exe
  ChecksumType: sha256
  Checksum:     15E96E08A531D0BCFDF4F66B31ABC0E8D9D6783A28DB0E7EAA0B6B5DF481424A
 
  Contents of file LICENSE.txt is obtained from http://www.sqlite.org/copyright.html
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir   = Split-Path -parent $MyInvocation.MyCommand.Definition
$executable = Get-ChildItem -Path $toolsDir 'sqlite?_analyzer.exe' -Recurse

Install-BinFile -Name $executable.Name -Path $executable
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir   = Split-Path -parent $MyInvocation.MyCommand.Definition
$executable = Get-ChildItem -Path $toolsDir 'sqlite?_analyzer.exe' -Recurse

Uninstall-BinFile -Name $executable.Name -Path $executable
tools\sqlite3_analyzer.exe
md5: 8B15A9F4EB4A05C99DEFE14166E57B17 | sha1: 0891CF609BE4DF63B27BD07FA397B92B373BC652 | sha256: 15E96E08A531D0BCFDF4F66B31ABC0E8D9D6783A28DB0E7EAA0B6B5DF481424A | sha512: 9FC111EC99BC21106C45C7D134EF9758322F247AD55DD67B23965FCAE37B8388C5745308506900E50D0DD39F7790829817293BE02FD0B4C1F8EDDC97C967FE8D

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
SQLite Analyzer 3.38.5 92 Saturday, May 7, 2022 Approved
SQLite Analyzer 3.38.4 37 Thursday, May 5, 2022 Approved
SQLite Analyzer 3.38.3 47 Friday, April 29, 2022 Approved
SQLite Analyzer 3.38.2 97 Sunday, March 27, 2022 Approved
SQLite Analyzer 3.38.1 71 Sunday, March 13, 2022 Approved
SQLite Analyzer 3.38.0 93 Wednesday, February 23, 2022 Approved
SQLite Analyzer 3.37.2 122 Friday, January 7, 2022 Approved
SQLite Analyzer 3.37.1 16 Friday, December 31, 2021 Approved
SQLite Analyzer 3.37.0 79 Sunday, November 28, 2021 Approved

This package has no dependencies.

Discussion for the SQLite Analyzer Package

Ground Rules:

  • This discussion is only about SQLite Analyzer and the SQLite Analyzer package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or SQLite Analyzer, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus