mirror of
https://github.com/google/nomulus.git
synced 2025-08-12 12:39:39 +02:00
Add an index on Host.host_name column (#1510)
* Add an index on Host.host_name column This field is queried during host creation and needs an index to speed up the query. Since Hibernate does not explicitly refer to indexes, we can change the code and schema in one PR.
This commit is contained in:
parent
28d41488b1
commit
e2bd72a74e
7 changed files with 600 additions and 573 deletions
|
@ -1728,6 +1728,13 @@ CREATE INDEX idxkjt9yaq92876dstimd93hwckh ON public."Domain" USING btree (curren
|
|||
CREATE INDEX idxknk8gmj7s47q56cwpa6rmpt5l ON public."HostHistory" USING btree (history_type);
|
||||
|
||||
|
||||
--
|
||||
-- Name: idxkpkh68n6dy5v51047yr6b0e9l; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE INDEX idxkpkh68n6dy5v51047yr6b0e9l ON public."Host" USING btree (host_name);
|
||||
|
||||
|
||||
--
|
||||
-- Name: idxlrq7v63pc21uoh3auq6eybyhl; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue