Downloads:

16,563

Downloads of v 3.36.0:

120

Last Update:

19 Jun 2021

Package Maintainer(s):

Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

Tags:

sqlite db database analyzer embedded hwaci

SQLite Analyzer

  • 1
  • 2
  • 3

3.36.0 | Updated: 19 Jun 2021

Downloads:

16,563

Downloads of v 3.36.0:

120

Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

  • 1
  • 2
  • 3
SQLite Analyzer 3.36.0

  • 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

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:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade sqlite.analyzer -y --source="'STEP 3 URL'" [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="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure sqlite.analyzer installed
  win_chocolatey:
    name: sqlite.analyzer
    state: present
    version: 3.36.0
    source: STEP 3 URL

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


chocolatey_package 'sqlite.analyzer' do
  action    :install
  version  '3.36.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: sqlite.analyzer,
    Version: 3.36.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller sqlite.analyzer
{
   Name     = 'sqlite.analyzer'
   Ensure   = 'Present'
   Version  = '3.36.0'
   Source   = 'STEP 3 URL'
}

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


package { 'sqlite.analyzer':
  provider => 'chocolatey',
  ensure   => '3.36.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install sqlite.analyzer version="3.36.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 21 Jun 2021.

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-3360000.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-3360000.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:     2A95CFCC35481DE46B0FB8A40F46B8CFC17BCD6A89AB20325F032381EC0C5E9B
 
  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: 27783CB37E4CA3A592AF16F3006BCCC8 | sha1: FE3BB43C2FA58F23878C2AF33099F74FDE84942A | sha256: 2A95CFCC35481DE46B0FB8A40F46B8CFC17BCD6A89AB20325F032381EC0C5E9B | sha512: 10B1C8F1BA5E3EE7C43E7715ACDE994E8762ADB7BFAE9BD96048E75800CCEC0D25200312A6470F3C713B31F7AB192ECF836CAB1C7D58A251D98E86266BA33936

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.

Version Downloads Last Updated Status
SQLite Analyzer 3.35.5 99 Tuesday, April 20, 2021 Approved
SQLite Analyzer 3.35.4 42 Wednesday, April 14, 2021 Approved
SQLite Analyzer 3.35.3 27 Wednesday, April 14, 2021 Approved
SQLite Analyzer 3.10.1 1565 Thursday, January 14, 2016 Approved
SQLite Analyzer 3.10.0 306 Wednesday, January 6, 2016 Approved
SQLite Analyzer 3.9.2 410 Monday, November 2, 2015 Approved
SQLite Analyzer 3.9.1 394 Friday, October 16, 2015 Approved
SQLite Analyzer 3.9.0 374 Wednesday, October 14, 2015 Approved
SQLite Analyzer 3.8.11.1 413 Wednesday, July 29, 2015 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