Skip to content
Snippets Groups Projects
Commit 78184caf authored by julian's avatar julian
Browse files

added experiment without index, minor adjustments

parent 560985b9
No related branches found
No related tags found
No related merge requests found
......@@ -36,8 +36,8 @@ services:
postgres:
build: postgres
command: -c config_file=/postgres_conf
shm_size: 5gb
hostname: $PGHOST
shm_size: 10gb
environment:
- PGUSER
- POSTGRES_USER=$PGUSER
......
......@@ -169,6 +169,14 @@ if __name__ == "__main__":
),
"env": env_default,
},
{
"name": "experiment_no_index",
"compose_files": (
"compose.yml",
"compose.edge-id.yml",
),
"env": env_default,
},
)
for experiment in experiments:
run_experiment(**experiment)
......@@ -95,15 +95,11 @@ PREPARE two_hop (INTEGER) AS
), hop1 AS (
SELECT destination AS vertex
FROM double_edge
WHERE source = $1
WHERE source = $1 AND destination <> $1
)
SELECT vertex
FROM (
SELECT vertex
FROM hop1
UNION
SELECT destination
FROM double_edge
JOIN hop1 ON vertex=source
)
WHERE vertex <> $1;
JOIN hop1 ON vertex = source AND destination <> $1;
......@@ -62,7 +62,7 @@ listen_addresses = '*'
# defaults to 'localhost'; use '*' for all
# (change requires restart)
#port = 5432 # (change requires restart)
max_connections = 100 # (change requires restart)
max_connections = 6 # (change requires restart)
#reserved_connections = 0 # (change requires restart)
#superuser_reserved_connections = 3 # (change requires restart)
#unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
......@@ -127,7 +127,7 @@ max_connections = 100 # (change requires restart)
# - Memory -
shared_buffers = 10GB # min 128kB
shared_buffers = 8GB # min 128kB
# (change requires restart)
#huge_pages = try # on, off, or try
# (change requires restart)
......@@ -140,7 +140,7 @@ shared_buffers = 10GB # min 128kB
# you actively intend to use prepared transactions.
work_mem = 256MB # min 64kB
#hash_mem_multiplier = 2.0 # 1-1000.0 multiplier on hash table work_mem
maintenance_work_mem = 1GB # min 1MB
maintenance_work_mem = 2GB # min 1MB
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
#logical_decoding_work_mem = 64MB # min 64kB
#max_stack_depth = 2MB # min 100kB
......@@ -192,7 +192,7 @@ dynamic_shared_memory_type = posix # the default is usually the first option
#backend_flush_after = 0 # measured in pages, 0 disables
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
#maintenance_io_concurrency = 10 # 1-1000; 0 disables prefetching
#max_worker_processes = 8 # (change requires restart)
max_worker_processes = 6 # (change requires restart)
#max_parallel_workers_per_gather = 2 # limited by max_parallel_workers
#max_parallel_maintenance_workers = 2 # limited by max_parallel_workers
#max_parallel_workers = 8 # number of max_worker_processes that
......@@ -406,7 +406,7 @@ random_page_cost = 1.1 # same scale as above
#parallel_tuple_cost = 0.1 # same scale as above
#min_parallel_table_scan_size = 8MB
#min_parallel_index_scan_size = 512kB
effective_cache_size = 10GB
effective_cache_size = 12GB
#jit_above_cost = 100000 # perform JIT compilation if available
# and query more expensive than this;
......@@ -429,7 +429,7 @@ effective_cache_size = 10GB
# - Other Planner Options -
default_statistics_target = 300 # range 1-10000
default_statistics_target = 1000 # range 1-10000
#constraint_exclusion = partition # on, off, or partition
#cursor_tuple_fraction = 0.1 # range 0.0-1.0
#from_collapse_limit = 8
......@@ -597,7 +597,7 @@ default_statistics_target = 300 # range 1-10000
# -1 means print in full, 0 disables
#log_statement = 'none' # none, ddl, mod, all
#log_replication_commands = off
#log_temp_files = -1 # log temporary files equal or larger
log_temp_files = 0 # log temporary files equal or larger
# than the specified size in kilobytes;
# -1 disables, 0 logs all temp files
log_timezone = 'Etc/UTC'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment