Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Create skipping indexes on observations and analysis tables

Aperta
#411 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@hellais ci sta già lavorando.

Dal 21/4/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Currently the observations and analysis tables don't have complete indexes. We should create the following ones:

ALTER TABLE obs_web ON CLUSTER oonidata_cluster ADD INDEX measurement_start_time_idx measurement_start_time TYPE minmax GRANULARITY 2;
ALTER TABLE obs_web ON CLUSTER oonidata_cluster ADD INDEX probe_cc_idx probe_cc TYPE minmax GRANULARITY 1;
ALTER TABLE obs_web ON CLUSTER oonidata_cluster ADD INDEX probe_asn_idx probe_asn TYPE minmax GRANULARITY 1;

ALTER TABLE analysis_web_measurement ON CLUSTER oonidata_cluster ADD INDEX probe_asn_idx probe_asn TYPE minmax GRANULARITY 1;

And then re-index the data using:

ALTER TABLE obs_web ON CLUSTER oonidata_cluster MATERIALIZE INDEX measurement_start_time_idx;
ALTER TABLE obs_web ON CLUSTER oonidata_cluster MATERIALIZE INDEX probe_cc_idx;
ALTER TABLE obs_web ON CLUSTER oonidata_cluster MATERIALIZE INDEX probe_asn_idx;
ALTER TABLE analysis_web_measurement ON CLUSTER oonidata_cluster MATERIALIZE INDEX probe_asn_idx;

Lingua principale
HCL
Stelle
4
Fork
15
Merge medio
3g 1h
PR unite (30g)
9

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ooni/devops

Tutte le issue di ooni/devops

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.