Skip to content

Enable speedb features rebase - #543

Merged
Yuval-Ariel merged 1 commit into
mainfrom
enable_speedb_features_rebase
Aug 14, 2023
Merged

Enable speedb features rebase#543
Yuval-Ariel merged 1 commit into
mainfrom
enable_speedb_features_rebase

Conversation

@RoyBenMoshe

Copy link
Copy Markdown
Contributor

No description provided.

@RoyBenMoshe
RoyBenMoshe requested a review from udi-speedb June 7, 2023 17:18
@udi-speedb

Copy link
Copy Markdown
Contributor

Running make_format on the branch still has formatting issues

Comment thread include/rocksdb/options.h Outdated
Comment thread include/rocksdb/options.h Outdated
Comment thread include/rocksdb/options.h Outdated
Comment thread include/rocksdb/options.h Outdated
Comment thread include/rocksdb/options.h Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
@udi-speedb

Copy link
Copy Markdown
Contributor

@RoyBenMoshe - An initial batch of comments. Let's discuss

Comment thread include/rocksdb/version.h Outdated
Comment thread examples/Makefile Outdated
Comment thread options/options.cc Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread examples/enable_speedb_features_example.cc
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread include/rocksdb/options.h Outdated
Comment thread tools/db_bench_tool.cc Outdated
Comment thread options/options.cc
Comment thread options/options.cc
Comment thread options/options_test.cc Outdated
Comment thread options/options_test.cc Outdated
@udi-speedb
udi-speedb self-requested a review June 10, 2023 11:42
Comment thread include/rocksdb/options.h Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread examples/enable_speedb_features_example.cc Outdated
Comment thread options/options.cc Outdated
Comment thread options/options.cc Outdated
Comment thread options/options.cc Outdated
Comment thread options/options.cc Outdated
Comment thread options/options.cc Outdated
@udi-speedb

Copy link
Copy Markdown
Contributor

@RoyBenMoshe Another batch of comments. I am not done yet, but will wait with the rest until you have addressed the comments in this batch. Thanks

@udi-speedb
udi-speedb self-requested a review June 11, 2023 15:50
Comment thread examples/enable_speedb_features_example.cc
Comment thread include/rocksdb/options.h Outdated
Comment thread include/rocksdb/options.h Outdated
Comment thread options/options.cc
Comment thread include/rocksdb/options.h Outdated
Comment thread options/options_test.cc
Comment thread options/options_test.cc Outdated
Comment thread options/options_test.cc Outdated
Comment thread options/options_test.cc Outdated
Comment thread options/options_test.cc Outdated
@udi-speedb

Copy link
Copy Markdown
Contributor

Please update the HISTORY.md as part of the PR as well.

Comment thread include/rocksdb/options.h
Comment thread include/rocksdb/options.h Outdated
// enable the spdb features
// please note that a call to enable speedb options in the level of cf should
// follow
DBOptions* EnableSpeedbFeaturesDB(SpeedbSharedOptions& shared_options);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above (the cf part)

Comment thread include/rocksdb/options.h Outdated
Comment thread options/options.cc Outdated
Comment thread options/options.cc Outdated
Comment thread options/options_test.cc Outdated
Comment thread options/options_test.cc
Comment thread tools/db_bench_tool.cc Outdated
Comment thread examples/enable_speedb_features_example.cc
Comment thread options/options_test.cc Outdated
Comment thread examples/Makefile Outdated
Comment thread include/rocksdb/options.h Outdated
Comment thread examples/enable_speedb_features_example.cc
Comment thread include/rocksdb/options.h Outdated
Comment thread include/rocksdb/options.h Outdated
Comment thread include/rocksdb/options.h Outdated
Comment thread options/options.cc Outdated
Comment thread options/options.cc Outdated
Comment thread options/options_test.cc Outdated
@udi-speedb
udi-speedb self-requested a review June 14, 2023 02:53
Comment thread examples/enable_speedb_features_example.cc
Comment thread examples/enable_speedb_features_example.cc
Comment thread include/rocksdb/options.h
@RoyBenMoshe
RoyBenMoshe requested a review from ayulas July 11, 2023 16:24
Comment thread options/options.cc
Comment thread options/options.cc
Comment thread options/options.cc
Comment thread options/options_test.cc
@RoyBenMoshe
RoyBenMoshe force-pushed the enable_speedb_features_rebase branch from 6975047 to 46f8553 Compare July 12, 2023 16:59
@Guyme Guyme linked an issue Jul 24, 2023 that may be closed by this pull request
@Yuval-Ariel

Copy link
Copy Markdown
Contributor

on hold until #610 is pushed

@Yuval-Ariel

Copy link
Copy Markdown
Contributor

This cannot be merged until the requested changes from @mrambacher are addressed.

@RoyBenMoshe
RoyBenMoshe force-pushed the enable_speedb_features_rebase branch 2 times, most recently from c941690 to d6dd77f Compare August 6, 2023 11:23
@autogit-speedb
autogit-speedb force-pushed the enable_speedb_features_rebase branch from d6dd77f to 25ecc10 Compare August 6, 2023 12:48
@autogit-speedb
autogit-speedb force-pushed the enable_speedb_features_rebase branch from 9cdd880 to 1edf41a Compare August 7, 2023 13:13
@RoyBenMoshe
RoyBenMoshe requested a review from ayulas August 7, 2023 13:16
Comment thread tools/db_bench_tool.cc
"\twaitforcompaction - pause until compaction is (probably) done\n"
"\tflush - flush the memtable\n"
"\tstats -- Print DB stats\n"
"\ttable-readers-mem -- Print table readers memory. excluding memory "

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why it is related?

Comment thread options/options.cc Outdated
void SharedOptions::IncreaseWriteBufferSize(size_t increase_by) {
if (write_buffer_manager->buffer_size() == 1 && increase_by > 1) {
write_buffer_manager->SetBufferSize(increase_by);
if (total_ram_size_bytes_ / 4 > increase_by) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using 4 is not the right way . pls defined and. use the define

Comment thread options/options.cc Outdated
void SharedOptions::IncreaseWriteBufferSize(size_t increase_by) {
if (write_buffer_manager->buffer_size() == 1 && increase_by > 1) {
write_buffer_manager->SetBufferSize(increase_by);
if (total_ram_size_bytes_ / 4 > increase_by) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls calc the increase size on a local parameter, and just call SetBufferSize once with the correct value

@autogit-speedb
autogit-speedb force-pushed the enable_speedb_features_rebase branch 2 times, most recently from 57a129b to 98fbb56 Compare August 13, 2023 13:25
@autogit-speedb
autogit-speedb force-pushed the enable_speedb_features_rebase branch from 98fbb56 to b4be9d9 Compare August 13, 2023 14:08
@Yuval-Ariel
Yuval-Ariel merged commit 2075487 into main Aug 14, 2023
@Yuval-Ariel
Yuval-Ariel deleted the enable_speedb_features_rebase branch August 14, 2023 04:38
udi-speedb pushed a commit that referenced this pull request Nov 22, 2023
udi-speedb pushed a commit that referenced this pull request Dec 5, 2023
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.

Tuning Function - optimize db for Speedb

6 participants