Re: llvm dependency and space concerns - Mailing list pgsql-hackers

From Christoph Moench-Tegeder
Subject Re: llvm dependency and space concerns
Date
Msg-id Z4L_z9QAzhV7Pw0l@elch.exwg.net
Whole thread Raw
In response to llvm dependency and space concerns  (Jeremy Schneider <schneider@ardentperf.com>)
List pgsql-hackers
## Jeremy Schneider (schneider@ardentperf.com):

> I'm running Postgres in containers, and recently did some analysis of
> the total container sizes. I posted some analysis over on the debian
> packaging mailing list [1] [2]. The TLDR is that LLVM alone makes up
> 33% of a postgres container's bytes (143MB / 434MB) [1].

Does that even matter compared with the size of the database itself?

> I haven't yet looked closely, but my assumption is that the --with-llvm
> flag may not work the same. I'm going to spend some time taking a look,
> but if someone knows off the top of their head and can give me a head
> start that would be appreciated!

Have a look at the RPM packages and how they split off postgresql-llvmjit
there:
https://git.postgresql.org/gitweb/?p=pgrpms.git;a=tree;f=rpm/redhat/main/non-common/postgresql-17/main;hb=HEAD

Regards,
Christoph

-- 
Spare Space



pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: Proposal to Enable/Disable Index using ALTER INDEX (with patch)
Next
From: Tomas Vondra
Date:
Subject: Re: Adjusting hash join memory limit to handle batch explosion