Comments (3)
Thank you for turn your attention to it. I will try to do it soon.
from aqo.
In the meanwhile my (really not optimized) Dockerfile could maybe help.
FROM ubuntu:18.04
RUN apt-get update
RUN apt-get install make gcc vim git build-essential libreadline-dev zlib1g-dev flex bison libxml2-dev libxslt-dev libssl-dev -y \
&& cd / \
&& git clone https://github.com/postgres/postgres.git \
&& cd /postgres \
&& git checkout REL_11_4 \
&& git clone https://github.com/tigvarts/aqo.git contrib/aqo \
&& cd contrib/aqo \
&& git checkout stable11 \
&& cd /postgres \
&& patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_pg11.patch \
&& ./configure \
&& make clean && make && make install \
&& cd contrib/aqo \
&& make && make install \
&& useradd -ms /bin/bash postgres \
&& chown -R postgres:postgres /postgres/ \
&& su postgres -c "make check" \
&& mkdir /data \
&& chown -R postgres:postgres /data/ \
&& su postgres -c "/postgres/tmp_install/usr/local/pgsql/bin/initdb -D /data/" \
&& echo "shared_preload_libraries = 'aqo'" >> /data/postgresql.conf
ENTRYPOINT su postgres -c "/postgres/tmp_install/usr/local/pgsql/bin/pg_ctl -D /data/ -l /data/postgres.log start" && tail -f /data/postgres.log
Simply build and run it
docker build . -t aqo
docker run -p 5432:5432 aqo
from aqo.
At the branch stable11 I commit Dockerfile. It contains also some optimized postgresql.conf settings.
Please, check usability of this template.
from aqo.
Related Issues (20)
- License? HOT 1
- AQO service storage problems HOT 2
- One of the Join Order Benchmark queries stops reducing cardinality error HOT 2
- ERROR: could not find block containing chunk HOT 3
- Compilation Issues HOT 5
- First-time user question - setting up and running aqo HOT 3
- can not build aqo HOT 1
- AQO не может найти оптимальный параметризованый план запроса, поскольку то не разу не выполнялся
- AQO state for IndexScan doesn't contain Index column
- AQO doesn't learn in plpgsql script
- Getting join cardinality convergence on a difficult query HOT 1
- Recommended way to delete queries HOT 2
- Search path order could cause aqo_* tables to not be stored in the public schema HOT 2
- Hook calling order HOT 5
- query_id usage in bundle of AQO and pg_stat_statements (PGSS) extensions
- WARNING: Unexpected number of features for hash HOT 2
- Document dependency of aqo and pg_hint_plan
- How to use this extension on a Postgres using Docker ? HOT 1
- How can i move aqo data from one db to another? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aqo.