!zghijEASpYQWYFzriI:nixos.org

Hydra

374 Members
110 Servers

Load older messages


SenderMessageTime
18 Dec 2023
@raitobezarius:matrix.orgraitobezarius
public.jobsetevalmembers                                 | 186 GB
12:53:09
@k900:0upti.meK900Whee12:53:29
@raitobezarius:matrix.orgraitobezarius * just realized that the M2M between builds and evals12:53:33
@k900:0upti.meK900Can we at least make a backup of the database and truncate some history12:53:39
@raitobezarius:matrix.orgraitobezariusit's a stupid (left_id, right_id, bool) table of course12:53:43
@k900:0upti.meK900I don't know if I want to know the answer to this question12:54:03
@k900:0upti.meK900But what is the bool for12:54:05
@raitobezarius:matrix.orgraitobezarius
In reply to @k900:0upti.me
Can we at least make a backup of the database and truncate some history
you'd break our 2010 urls for performance ???
12:54:06
@raitobezarius:matrix.orgraitobezarius
In reply to @k900:0upti.me
But what is the bool for
isnew
12:54:10
@raitobezarius:matrix.orgraitobezarius
hydra-nixos-org=# \d jobsetevalmembers 
         Table "public.jobsetevalmembers"
 Column |  Type   | Collation | Nullable | Default 
--------+---------+-----------+----------+---------
 eval   | integer |           | not null | 
 build  | integer |           | not null | 
 isnew  | integer |           | not null |
12:54:17
@k900:0upti.meK900Ah yes]12:54:24
@k900:0upti.meK900* Ah yes12:54:25
@k900:0upti.meK900A bool12:54:26
@raitobezarius:matrix.orgraitobezariusoh fuck lol12:55:39
@raitobezarius:matrix.orgraitobezariusI didn't even realize that12:55:42
@raitobezarius:matrix.orgraitobezariusit's wasting so many fucking bytes by using an integer12:55:51
@raitobezarius:matrix.orgraitobezariuslet me get the count so I can get a feeling12:56:21
@raitobezarius:matrix.orgraitobezarius
hydra-nixos-org=# select count(*) from jobsetevalmembers;
   count    
------------
 2417504605
(1 row)
12:56:39
@sandro:supersandro.deSandro
In reply to @raitobezarius:matrix.org
you'd break our 2010 urls for performance ???
Yes 👀
13:13:52
@sandro:supersandro.deSandro
In reply to @raitobezarius:matrix.org
it's wasting so many fucking bytes by using an integer
So we could save maybe a third of database size by using the correct type there?
13:16:57
@raitobezarius:matrix.orgraitobezariusnot 1/313:17:10
@sandro:supersandro.deSandrobut still a lot? 😅13:46:34
@k900:0upti.meK900Honestly Postgres doesn't really care about on disk size too much 15:22:55
@k900:0upti.meK900Especially when there's likely an index on those anyway 15:23:05
@jackdk:matrix.orgjackdk
In reply to @tomberek:matrix.org
When hydra is doing it, there are a few options.... either a store variable with ?secret-key set, or via a RunCommand hook.
Thanks Tom, I've opened https://github.com/NixOS/hydra/pull/1328 to capture this knowledge in the manual.
21:59:50
20 Dec 2023
@bb_wtt.jpeg:matrix.orgbb_wtt.jpeg joined the room.11:58:51
21 Dec 2023
@eyduh:matrix.orgeyduh (she/they) joined the room.02:18:55
22 Dec 2023
@medliviz:matrix.orgmedliviz joined the room.12:31:41
23 Dec 2023
@arcayr:rascals.net@arcayr:rascals.net joined the room.16:04:53
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT 2128).22:22:47

Show newer messages


Back to Room ListRoom Version: 6