Administrator
- Administrator
- All Products
CREATE TABLE AeProcessLogData ( ProcessId BIGINT NOT NULL, SequenceId BIGINT NOT NULL, PlanId BIGINT NOT NULL, TenantContextId VARCHAR(32), LocationPath TEXT NOT NULL, InstanceLocationId INT NOT NULL, DefLocationId INT NOT NULL, CorrelationId INT NOT NULL, EventId INT NOT NULL, SessionId INT NOT NULL, SourceId INT NOT NULL, FaultName VARCHAR(255), AncillaryStr TEXT, AncillaryInt INT, EventTime BIGINT NOT NULL, DataDocument TEXT, PRIMARY KEY (ProcessId, SequenceId) ); CREATE INDEX AeLogDataPidInsId ON AeProcessLogData(PlanId, ProcessId, InstanceLocationId);
CREATE ROLEusernameWITH NOLOGIN NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT NOREPLICATION NOBYPASSRLS CONNECTION LIMIT -1 PASSWORD 'xxxxxx'; GRANT pg_read_all_data, pg_write_all_data TOusername;