Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose data engine (vinyl or memtx) #52

Open
ligurio opened this issue Oct 15, 2020 · 2 comments
Open

Choose data engine (vinyl or memtx) #52

ligurio opened this issue Oct 15, 2020 · 2 comments
Labels

Comments

@ligurio
Copy link
Member

ligurio commented Oct 15, 2020

In SQL:
box.execute([[set session "sql_default_engine" = 'memtx';]])

In Lua:
box.space.j:alter{engine = memtx}

(was broken in 3214905#diff-5e0349f9a230fa195fa381f7688a7bdad9ebc811c4828edfdc82ce46b7433698)

ligurio added a commit that referenced this issue Oct 21, 2020
Closes #52
ligurio added a commit that referenced this issue Oct 21, 2020
Closes #52
ligurio added a commit that referenced this issue Oct 21, 2020
Fix setting data engine broken in commit "Rewrite client in a register
workload" 3214905 and add option validation.

Closes #52
@ligurio ligurio changed the title Make ability to choose engine (vinyl or memtx) Choose data engine (vinyl or memtx) Oct 21, 2020
@ligurio
Copy link
Member Author

ligurio commented Oct 26, 2020

ligurio added a commit that referenced this issue Nov 6, 2020
Fix setting data engine broken in commit "Rewrite client in a register
workload" 3214905 and add option validation.

Blocked by tarantool/tarantool-java#63

Closes #52
@ligurio ligurio self-assigned this Nov 6, 2020
@ligurio
Copy link
Member Author

ligurio commented Mar 12, 2021

how test-run sets engine:

UPDATE "_session_settings" SET "value" = 'memtx|vinyl' WHERE "name" = 'sql_default_engine'
pragma sql_default_engine='memtx|vinyl'

https://github.com/tarantool/test-run/blob/f246567bfc444b7bee4e66d6e187da572b962cbd/lib/tarantool_server.py#L126-L166

@ligurio ligurio removed their assignment Jun 10, 2022
@NickVolynkin NickVolynkin removed the 1sp label Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants