-
Notifications
You must be signed in to change notification settings - Fork 0
Getting started
Charly edited this page May 30, 2020
·
1 revision
git clone https://github.com/Sargul/exasol-statistics.gitI'm using DBeaver as it is open source and I'm the maintainer of the Exasol Plugin. If you are using DBeaver make sure that you have set disable the option "Blank line is statement delimiter".
Otherwise the creation of objects will fail
If you are using another SQL editor than DBeaver you will have to replace
@set schema=STATISTICS
open schema :schema;whatever schema you want to use. In DBeaver you can execute and create all necessary functions by ALT+x
open schema :schema
EXECUTE SCRIPT install_upgrade()This will create the statistics tables and necessary parameters table with default values for the thresholds for certain statistics
open schema :schema
EXECUTE SCRIPT gather_statistics();This script will always gather the statistics in delta mode, so only missing values will be gathered