Skip to main content
Question

Can use jemalloc with Vertica 8.x?

  • Jan 4, 2019 2:16 PM UTC
  • 4 replies
  • 27 views

sittisakj

Hi Team,

Our partner has received response from our support team about Vertica node down (48-node cluster) to change default from "malloc" to "jemalloc" by changing symbolic link. However, they've few questions as below.

 - Vertica has been including jemalloc library since v8.0(/opt/vertica/lib/libjemalloc.so)

So, Can I use that library without compiling?
- Why Vertica doesn't use jemalloc as default, despite including jemalloc library?

Thank you.

4 replies

Car1os
Forum|alt.badge.img
  • Participating Frequently
  • Jan 4, 2019 3:34 PM UTC

Support should have provided all the instructions to launch vertica using jemalloc, it's a dynamic library so there is no need to recompile. Jemalloc is a little bit slower than the allocator in glibc, but under some circumstances it does a better job managing memory.


sittisakj
  • Author
  • New Participant
  • Jan 4, 2019 3:51 PM UTC

There's OOM issue and make some nodes down. After investigated, support team suggested to use jemalloc.

Thank you for information.


kboyd
  • New Participant
  • Jan 4, 2019 5:43 PM UTC
Hi,

Yes you can use jemalloc with Vertica 8.x. With some customer workloads, we find that jemalloc actually works better, and I have customers that are using it with Vertica 8.x in production today.

Kristen Boyd
Vertica Solutions Architect

sittisakj
  • Author
  • New Participant
  • Jan 5, 2019 3:19 AM UTC
Hi Kristen,

Thank you for information.

Best Regards,
Sittisak Jongvattanasiri


www.vertica.com