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

Set Oracle data dir back to /var/lib/oracle/data from /opt/oracle/ora… #568

Merged
merged 1 commit into from
May 31, 2024

Conversation

mnovak1
Copy link
Contributor

@mnovak1 mnovak1 commented May 30, 2024

…data to speed up Oracle DB start.

@liborfuka fyi I've tried Oracle FREE and started significantly faster as well. So this should work for both Oracle FREE and Oracle XE.

Please make sure your PR meets the following requirements:

  • Pull Request contains a description of the changes
  • Pull Request does not include fixes for multiple issues/topics
  • Code is formatted, imports ordered, code compiles and tests are passing
  • Code is self-descriptive and/or documented

@liborfuka
Copy link
Contributor

Hi @mnovak1

Oracle data files are stored in /opt/oracle/oradata in Oracle DB images. If you change it to something else it starts faster but you can not test with physical volume claims and you can not test these test scenarios.

@mnovak1
Copy link
Contributor Author

mnovak1 commented May 30, 2024

Hi @mnovak1

Oracle data files are stored in /opt/oracle/oradata in Oracle DB images. If you change it to something else it starts faster but you can not test with physical volume claims and you can not test these test scenarios.

Is it actually needed for the purpose of testing where we don't care about DB data to survive the test?

@liborfuka
Copy link
Contributor

I have test scenario where I restart DB in the middle of test and test if Spring Boot app reconnect to DB successfully.

@liborfuka
Copy link
Contributor

You can merge it. I can skip this test.

@mnovak1 mnovak1 merged commit 4a91de8 into xtf-cz:master May 31, 2024
2 checks passed
@mnovak1
Copy link
Contributor Author

mnovak1 commented May 31, 2024

@liborfuka Thanks, merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants