notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it''''''''s already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2024Q3
rocksdb Persistent key-value store for fast storage environments
9.4.0 databases on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 9.4.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-09-08 19:27:05
Last Update: 2024-09-08 19:24:18
Commit Hash: 4d70748
License: APACHE20 GPLv2
WWW:
https://rocksdb.org/
https://github.com/facebook/rocksdb
Description:
RocksDB is an embeddable persistent key-value store for fast storage. RocksDB can also be the foundation for a client-server database but our current focus is on embedded workloads. RocksDB builds on LevelDB to be scalable to run on servers with many CPU cores, to efficiently use fast storage, to support IO-bound, in-memory and write-once workloads, and to be flexible to allow for innovation.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (140 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/rocksdb-9.4.0/catalog.mk
  3. /usr/local/share/licenses/rocksdb-9.4.0/LICENSE
  4. /usr/local/share/licenses/rocksdb-9.4.0/APACHE20
  5. /usr/local/share/licenses/rocksdb-9.4.0/GPLv2
  6. bin/blob_dump
  7. bin/cache_bench
  8. bin/db_bench
  9. bin/db_repl_stress
  10. bin/db_sanity_test
  11. bin/db_stress
  12. bin/ldb
  13. bin/memtablerep_bench
  14. bin/persistent_cache_bench
  15. bin/range_del_aggregator_bench
  16. bin/rocksdb_dump
  17. bin/rocksdb_undump
  18. bin/sst_dump
  19. bin/table_reader_bench
  20. bin/trace_analyzer
  21. bin/write_stress
  22. include/rocksdb/advanced_cache.h
  23. include/rocksdb/advanced_options.h
  24. include/rocksdb/attribute_groups.h
  25. include/rocksdb/block_cache_trace_writer.h
  26. include/rocksdb/c.h
  27. include/rocksdb/cache.h
  28. include/rocksdb/cache_bench_tool.h
  29. include/rocksdb/cleanable.h
  30. include/rocksdb/compaction_filter.h
  31. include/rocksdb/compaction_job_stats.h
  32. include/rocksdb/comparator.h
  33. include/rocksdb/compression_type.h
  34. include/rocksdb/concurrent_task_limiter.h
  35. include/rocksdb/configurable.h
  36. include/rocksdb/convenience.h
  37. include/rocksdb/customizable.h
  38. include/rocksdb/data_structure.h
  39. include/rocksdb/db.h
  40. include/rocksdb/db_bench_tool.h
  41. include/rocksdb/db_dump_tool.h
  42. include/rocksdb/db_stress_tool.h
  43. include/rocksdb/env.h
  44. include/rocksdb/env_encryption.h
  45. include/rocksdb/experimental.h
  46. include/rocksdb/file_checksum.h
  47. include/rocksdb/file_system.h
  48. include/rocksdb/filter_policy.h
  49. include/rocksdb/flush_block_policy.h
  50. include/rocksdb/functor_wrapper.h
  51. include/rocksdb/io_status.h
  52. include/rocksdb/iostats_context.h
  53. include/rocksdb/iterator.h
  54. include/rocksdb/iterator_base.h
  55. include/rocksdb/ldb_tool.h
  56. include/rocksdb/listener.h
  57. include/rocksdb/memory_allocator.h
  58. include/rocksdb/memtablerep.h
  59. include/rocksdb/merge_operator.h
  60. include/rocksdb/metadata.h
  61. include/rocksdb/options.h
  62. include/rocksdb/perf_context.h
  63. include/rocksdb/perf_level.h
  64. include/rocksdb/persistent_cache.h
  65. include/rocksdb/port_defs.h
  66. include/rocksdb/rate_limiter.h
  67. include/rocksdb/rocksdb_namespace.h
  68. include/rocksdb/secondary_cache.h
  69. include/rocksdb/slice.h
  70. include/rocksdb/slice_transform.h
  71. include/rocksdb/snapshot.h
  72. include/rocksdb/sst_dump_tool.h
  73. include/rocksdb/sst_file_manager.h
  74. include/rocksdb/sst_file_reader.h
  75. include/rocksdb/sst_file_writer.h
  76. include/rocksdb/sst_partitioner.h
  77. include/rocksdb/statistics.h
  78. include/rocksdb/stats_history.h
  79. include/rocksdb/status.h
  80. include/rocksdb/system_clock.h
  81. include/rocksdb/table.h
  82. include/rocksdb/table_properties.h
  83. include/rocksdb/table_reader_caller.h
  84. include/rocksdb/thread_status.h
  85. include/rocksdb/threadpool.h
  86. include/rocksdb/trace_reader_writer.h
  87. include/rocksdb/trace_record.h
  88. include/rocksdb/trace_record_result.h
  89. include/rocksdb/transaction_log.h
  90. include/rocksdb/types.h
  91. include/rocksdb/unique_id.h
  92. include/rocksdb/universal_compaction.h
  93. include/rocksdb/user_write_callback.h
  94. include/rocksdb/utilities/agg_merge.h
  95. include/rocksdb/utilities/backup_engine.h
  96. include/rocksdb/utilities/cache_dump_load.h
  97. include/rocksdb/utilities/checkpoint.h
  98. include/rocksdb/utilities/convenience.h
  99. include/rocksdb/utilities/customizable_util.h
  100. include/rocksdb/utilities/db_ttl.h
  101. include/rocksdb/utilities/debug.h
  102. include/rocksdb/utilities/env_mirror.h
  103. include/rocksdb/utilities/info_log_finder.h
  104. include/rocksdb/utilities/ldb_cmd.h
  105. include/rocksdb/utilities/ldb_cmd_execute_result.h
  106. include/rocksdb/utilities/leveldb_options.h
  107. include/rocksdb/utilities/lua/rocks_lua_custom_library.h
  108. include/rocksdb/utilities/lua/rocks_lua_util.h
  109. include/rocksdb/utilities/memory_util.h
  110. include/rocksdb/utilities/object_registry.h
  111. include/rocksdb/utilities/optimistic_transaction_db.h
  112. include/rocksdb/utilities/option_change_migration.h
  113. include/rocksdb/utilities/options_type.h
  114. include/rocksdb/utilities/options_util.h
  115. include/rocksdb/utilities/replayer.h
  116. include/rocksdb/utilities/sim_cache.h
  117. include/rocksdb/utilities/stackable_db.h
  118. include/rocksdb/utilities/table_properties_collectors.h
  119. include/rocksdb/utilities/transaction.h
  120. include/rocksdb/utilities/transaction_db.h
  121. include/rocksdb/utilities/transaction_db_mutex.h
  122. include/rocksdb/utilities/types_util.h
  123. include/rocksdb/utilities/write_batch_with_index.h
  124. include/rocksdb/version.h
  125. include/rocksdb/wal_filter.h
  126. include/rocksdb/wide_columns.h
  127. include/rocksdb/write_batch.h
  128. include/rocksdb/write_batch_base.h
  129. include/rocksdb/write_buffer_manager.h
  130. lib/librocksdb.a
  131. lib/librocksdb.so
  132. lib/librocksdb.so.9
  133. lib/librocksdb.so.9.4
  134. lib/librocksdb.so.9.4.0
  135. lib/librocksdb_test.so
  136. lib/librocksdb_tools.so
  137. libdata/pkgconfig/rocksdb.pc
  138. @owner
  139. @group
  140. @mode
Collapse this list.
Dependency lines:
  • rocksdb>0:databases/rocksdb
Conflicts:
CONFLICTS_INSTALL:
  • rocksdb-lite
To install the port:
cd /usr/ports/databases/rocksdb/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/rocksdb
  • pkg install rocksdb
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rocksdb
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1720893168 SHA256 (facebook-rocksdb-v9.4.0_GH0.tar.gz) = 1f829976aa24b8ba432e156f52c9e0f0bd89c46dc0cc5a9a628ea70571c1551c SIZE (facebook-rocksdb-v9.4.0_GH0.tar.gz) = 13550643

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. gmake>=4.4.1 : devel/gmake
  3. perl5>=5.36<5.37 : lang/perl5.36
Library dependencies:
  1. libgflags.so : devel/gflags
  2. libsnappy.so : archivers/snappy
  3. liblz4.so : archivers/liblz4
  4. libzstd.so : archivers/zstd
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for rocksdb-9.4.0: DEBUG=off: Build with debugging support LZ4=on: LZ4 compression support ZSTD=on: Zstandard compression support ===> Use 'make config' to modify these settings
Options name:
databases_rocksdb
USES:
compiler:c++17-lang gmake localbase:ldflags perl5
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/facebook/rocksdb/tar.gz/v9.4.0?dummy=/
Collapse this list.

Number of commits found: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
9.4.0
08 Sep 2024 19:24:18
commit hash: 4d70748339d90cdbc1144e6630960e8f0fabed5fcommit hash: 4d70748339d90cdbc1144e6630960e8f0fabed5fcommit hash: 4d70748339d90cdbc1144e6630960e8f0fabed5fcommit hash: 4d70748339d90cdbc1144e6630960e8f0fabed5f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
databases/rocksdb: Clean up CXXFLAGS

(cherry picked from commit 4950c4acb71757920490a38159e1b9fa971aebe9)
9.4.0
08 Sep 2024 19:24:17
commit hash: ca4e9a97dad3bea3100edff396e11ae405906067commit hash: ca4e9a97dad3bea3100edff396e11ae405906067commit hash: ca4e9a97dad3bea3100edff396e11ae405906067commit hash: ca4e9a97dad3bea3100edff396e11ae405906067 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
databases/rocksdb: Fix build on i386 with Clang 17+

mkdir -p utilities/transactions/lock/range/range_tree/lib/locktree && clang++
-O2 -pipe  -DOS_FREEBSD -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing   -Wno-inconsistent-missing-override -Wno-unused-parameter
-Wno-unused-variable -Wno-unused-private-field -isystem /usr/local/include
-std=c++17   -fPIC -DROCKSDB_DLL -DROCKSDB_USE_RTTI   -g -W -Wextra -Wall
-Wsign-compare -Wshadow -Wunused-parameter -Werror -I. -I./include -std=c++17
-O2 -pipe  -DOS_FREEBSD -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing   -Wno-inconsistent-missing-override -Wno-unused-parameter
-Wno-unused-variable -Wno-unused-private-field -isystem /usr/local/include
-std=c++17  -faligned-new -DHAVE_ALIGNED_NEW -DROCKSDB_PLATFORM_POSIX
-DROCKSDB_LIB_IO_POSIX -O2 -pipe  -DOS_FREEBSD -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -D_REENTRANT -DOS_FREEBSD -DSNAPPY
-DGFLAGS=1 -DZLIB -DBZIP2 -DLZ4 -DZSTD -DROCKSDB_MALLOC_USABLE_SIZE
-DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_BACKTRACE
-DROCKSDB_SCHED_GETCPU_PRESENT   -isystem third-party/gtest-1.8.1/fused-src -O2
-fno-omit-frame-pointer -momit-leaf-frame-pointer -DNDEBUG -Woverloaded-virtual
-Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-invalid-offsetof -c
utilities/transactions/lock/range/range_tree/lib/locktree/manager.cc -o
utilities/transactions/lock/range/range_tree/lib/locktree/manager.o
In file included from
utilities/transactions/lock/range/range_tree/lib/locktree/manager.cc:58:
In file included from
utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_pthread.h:60:
In file included from
utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_portability.h:71:
utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_atomic.h:80:10:
error: __sync builtin operation MUST have natural alignment (consider using
__atomic). [-Werror,-Wsync-alignment]
   80 |   return __sync_fetch_and_add(addr, diff);
      |          ^
utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_atomic.h:92:10:
error: __sync builtin operation MUST have natural alignment (consider using
__atomic). [-Werror,-Wsync-alignment]
   92 |   return __sync_fetch_and_sub(addr, diff);
      |          ^
2 errors generated.
gmake: *** [Makefile:2566:
utilities/transactions/lock/range/range_tree/lib/locktree/manager.o] Error 1

Tested on:	13.3-RELEASE-p5 (17.0.6), 15.0-CURRENT (18.1.6)
Reference:	https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p1963f6d23107_s10d5b43424d/logs/rocksdb-9.4.0.log
		https://github.com/llvm/llvm-project/issues/69146

(cherry picked from commit ebdfcf26c93e631c979ce0068ff7fb1ba4ba6d0f)
9.4.0
08 Sep 2024 19:24:17
commit hash: fc8ff83b4c4dad084b3cae748b30486dd797a247commit hash: fc8ff83b4c4dad084b3cae748b30486dd797a247commit hash: fc8ff83b4c4dad084b3cae748b30486dd797a247commit hash: fc8ff83b4c4dad084b3cae748b30486dd797a247 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
databases/rocksdb: Update to 9.4.0

Changes:	https://github.com/facebook/rocksdb/releases
(cherry picked from commit b0391241ed62a6ef7c5441164d6b1cd3feb8b39a)
9.3.1
08 Sep 2024 19:24:16
commit hash: 421dedba2d31e6238741f9a88c0fb1150a5d1856commit hash: 421dedba2d31e6238741f9a88c0fb1150a5d1856commit hash: 421dedba2d31e6238741f9a88c0fb1150a5d1856commit hash: 421dedba2d31e6238741f9a88c0fb1150a5d1856 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
databases/rocksdb: Update to 9.3.1

Changes:	https://github.com/facebook/rocksdb/releases
(cherry picked from commit fb53d29d6e3bca157651fccf8e9c9e043e2337c8)

Number of commits found: 4