From: Kees Monshouwer Date: Tue, 31 Dec 2013 18:55:55 +0000 (+0100) Subject: goracle backend schema update X-Git-Tag: rec-3.6.0-rc1~274^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0e5046726179be2d50c5b3b735706a75e8f91e1;p=pdns goracle backend schema update --- diff --git a/modules/goraclebackend/goracle-schema.sql b/modules/goraclebackend/goracle-schema.sql index 4e826e480..6ee48b21e 100644 --- a/modules/goraclebackend/goracle-schema.sql +++ b/modules/goraclebackend/goracle-schema.sql @@ -25,11 +25,12 @@ CREATE TABLE records ( ordername VARCHAR(255) DEFAULT NULL, auth INT DEFAULT NULL, primary key (id) -); +) pctfree 40; -create index RECORDS$NAME on RECORDS (NAME); -create index records$domainidordername on records (domain_id, ordername); -create sequence RECORDS_ID_SEQUENCE; +create index records$nametype on records (name, type); +create index records$domain_id on records (domain_id); +create index records$recordorder on records (domain_id, ordername); +create sequence records_id_sequence; create table supermasters (