sslab-gatech / apollo Goto Github PK
View Code? Open in Web Editor NEWA toolchain for automatically detecting, reporting, and diagnosing performance bugs in DBMSs.
A toolchain for automatically detecting, reporting, and diagnosing performance bugs in DBMSs.
The paper says:
We develop SQLFUZZ based on SQLSmith and Random Query Generator (RQG) [20].
And also it says:
Third, SQLFUZZ supports two types of query generators to address query dialect problem: a
SQLSmith-based generator [26] for SQLite and PostgreSQL systems, and a RQG-based random query generator [20] for MySQL and MariaDB systems.
So, what is the generator used in the evaluation part? What is used as the default generator in the current SQLFuzz?
Hi,
SQLFuzz was executed for 24 hours, but I found nothing under the out
folder. I also didn't see coverage report in the verbose info printed in the console.
Is there any commandline args that should report fuzzing result?
I looked into using SQLMin to reduce SQLite test cases. Most existing reducers like C-Reduce or Delta accept an "interestingness test", which essentially captures whether the reducer maintains a specific property as specified in a script. While for APOLLO, this is obviously the performance regression, I think it would be highly useful to also allow other interestingness tests (e.g., whether a logic bug is still reproduced). Judging from the source code and options, there is currently no way to specify other interestingness tests. Would it be possible to implement such an option?
Hi, I still cannot compile the code. I've run the scripts and installed the packages with apt
:
....
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether the Boost::Regex library is available... yes
configure: error: Could not find a version of the Boost::Regex library!
make: *** No targets specified and no makefile found. Stop.
configure.ac:19: installing './compile'
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
Makefile.am: installing './depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking for pg_config... /usr/bin/pg_config
checking for PostgreSQL libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBPQXX... yes
checking for MONETDB_MAPI... no
checking for boostlib >= 1.20.0... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether the Boost::Regex library is available... yes
configure: error: Could not find a version of the Boost::Regex library!
make: *** No targets specified and no makefile found. Stop.
ln: failed to create symbolic link 'src/sqlfuzz/sqlsmith': File exists
ln: failed to create symbolic link 'src/sqlfuzz/sqlsmith-prob': File exists
ln: failed to create symbolic link 'src/sqlmin/sqlparse/sqlparse': File exists
ln: failed to create symbolic link 'src/sqlmin/pg_format': File exists
apollo@8c0ed6dc05f4:/$ sudo apt install libboost-regex-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-regex-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Could I know which version you are using?
Hi,
Could you please provide the Python version and also dependent packages (requirements.txt)? I get a lot of missing dependencies when trying to run fuzz.py
. I think the Python 2 is used but I'm not sure.
Hi all,
I read the install-deps.sh
file, and I think it would be better to build the tool inside a container. For example, libboost-regex-dev
will make compilation of original header files unstable (from my experience). And also testing the sqlite3
from apt
version will make the database unusable and unstable. For me I will only install the required headers for sqlite3
with apt and build the database separately.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.