File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,16 @@ Example: executing the sql snippet `select current_date` in parallel on all data
54
54
55
55
php bin/console db3v4l:sql:execute --sql='select current_date'
56
56
57
+ exit
58
+ docker-compose stop
59
+
57
60
If you have a bigger set of SQL commands to execute than it is practical to put in a command-line, you can save them
58
61
to a file and then execute it in parallel on all databases:
59
62
60
- php bin/console sql:execute --file=/my_huge_script.sql
61
-
63
+ php bin/console sql:execute --file=./shared/my_huge_script.sql
64
+
65
+ * NB* to share files between the host computer and the container, put them in the ` shared ` folder.
66
+
62
67
From within the worker container, you can also list all available databases:
63
68
64
69
php bin/console db3v4l:instance:list
You can’t perform that action at this time.
0 commit comments