Add tld,domain_name idx on Domain for RDAP searches (#3200)

this allows us to quickly serve requests like "*.tld" which we need to
order to allow for cursored results

b/535250462
This commit is contained in:
gbrodman
2026-08-05 19:55:01 +00:00
committed by GitHub
parent c9a82f1322
commit 4f332d397e
5 changed files with 50 additions and 8 deletions
@@ -1841,6 +1841,13 @@ CREATE INDEX domain_history_to_transaction_record_idx ON public."DomainTransacti
CREATE UNIQUE INDEX domain_no_duplicate_active ON public."Domain" USING btree (domain_name) WHERE (deletion_time = '294247-01-10 04:00:54.775+00'::timestamp with time zone);
--
-- Name: domain_tld_domain_name_idx; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX domain_tld_domain_name_idx ON public."Domain" USING btree (tld, domain_name);
--
-- Name: domaindsdatahistory_domain_history_revision_id_hash; Type: INDEX; Schema: public; Owner: -
--