Phoenix Performance Result :: Sun Oct 06 11:08:32 PDT 2013

Queries by Category


Index

select count(*) from INDEX_IMMUTABLE
2.33s PHOENIX-SNAPSHOT

select count(*) from INDEX_IMMUTABLE_SALTED
0.67s PHOENIX-SNAPSHOT

select count(*) from INDEX_MUTABLE
3.47s PHOENIX-SNAPSHOT

select count(*) from INDEX_MUTABLE_SALTED
0.84s PHOENIX-SNAPSHOT

select count(*) from NO_INDEX
4.12s PHOENIX-SNAPSHOT

select count(*) from NO_INDEX_SALTED
1.07s PHOENIX-SNAPSHOT


Index Creation After Data

CREATE INDEX IDX_AFTER_LOAD_INDEX_IMMUTABLE ON INDEX_IMMUTABLE (CORE) INCLUDE (DB,ACTIVE_VISITOR)
62.18s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_INDEX_IMMUTABLE_SALTED ON INDEX_IMMUTABLE_SALTED (CORE) INCLUDE (DB,ACTIVE_VISITOR)
15.66s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_INDEX_MUTABLE ON INDEX_MUTABLE (CORE) INCLUDE (DB,ACTIVE_VISITOR)
61.22s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_INDEX_MUTABLE_SALTED ON INDEX_MUTABLE_SALTED (CORE) INCLUDE (DB,ACTIVE_VISITOR)
15.13s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_NO_INDEX ON NO_INDEX (CORE) INCLUDE (DB,ACTIVE_VISITOR)
58.34s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_NO_INDEX_SALTED ON NO_INDEX_SALTED (CORE) INCLUDE (DB,ACTIVE_VISITOR)
14.24s PHOENIX-SNAPSHOT


Load Data

LOAD DATA INDEX_IMMUTABLE [1000000 ROWS]
68.8s PHOENIX-SNAPSHOT

LOAD DATA INDEX_IMMUTABLE_SALTED [1000000 ROWS]
64.63s PHOENIX-SNAPSHOT

LOAD DATA INDEX_MUTABLE [1000000 ROWS]
148.08s PHOENIX-SNAPSHOT

LOAD DATA INDEX_MUTABLE_SALTED [1000000 ROWS]
97.22s PHOENIX-SNAPSHOT

LOAD DATA NO_INDEX [1000000 ROWS]
49.27s PHOENIX-SNAPSHOT

LOAD DATA NO_INDEX_SALTED [1000000 ROWS]
43.04s PHOENIX-SNAPSHOT




Queries by Table



INDEX_IMMUTABLE




ROWS 1000000 [1M]

DDL CREATE TABLE $TABLE (HOST CHAR(2) NOT NULL,DOMAIN VARCHAR NOT NULL,FEATURE VARCHAR NOT NULL,DATE DATE NOT NULL,USAGE.CORE BIGINT,USAGE.DB BIGINT,STATS.ACTIVE_VISITOR INTEGER CONSTRAINT PK PRIMARY KEY (HOST, DOMAIN, FEATURE, DATE)) IMMUTABLE_ROWS=true;CREATE INDEX IDX_ON_LOAD_$TABLE ON $TABLE (CORE,DB,ACTIVE_VISITOR);

DATA GENERATOR
STRING :: Values: NA|CS|EU
STRING :: Values: Salesforce.com|Apple.com|Google.com|Yelp.com
STRING :: Values: Login|Report|Dashboard|Sales|UI
DATE :: Values: SEQUENTIAL
INTEGER :: Max. Value: 100 Values: RANDOM
INTEGER :: Max. Value: 2000 Values: RANDOM
INTEGER :: Max. Value: 10000 Values: RANDOM

select count(*) from INDEX_IMMUTABLE
2.33s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_INDEX_IMMUTABLE ON INDEX_IMMUTABLE (CORE) INCLUDE (DB,ACTIVE_VISITOR)
62.18s PHOENIX-SNAPSHOT

LOAD DATA INDEX_IMMUTABLE [1000000 ROWS]
68.8s PHOENIX-SNAPSHOT


INDEX_IMMUTABLE_SALTED




ROWS 1000000 [1M]

DDL CREATE TABLE $TABLE (HOST CHAR(2) NOT NULL,DOMAIN VARCHAR NOT NULL,FEATURE VARCHAR NOT NULL,DATE DATE NOT NULL,USAGE.CORE BIGINT,USAGE.DB BIGINT,STATS.ACTIVE_VISITOR INTEGER CONSTRAINT PK PRIMARY KEY (HOST, DOMAIN, FEATURE, DATE)) IMMUTABLE_ROWS=true,SALT_BUCKETS=4;CREATE INDEX IDX_ON_LOAD_$TABLE ON $TABLE (CORE,DB,ACTIVE_VISITOR);

DATA GENERATOR
STRING :: Values: NA|CS|EU
STRING :: Values: Salesforce.com|Apple.com|Google.com|Yelp.com
STRING :: Values: Login|Report|Dashboard|Sales|UI
DATE :: Values: SEQUENTIAL
INTEGER :: Max. Value: 100 Values: RANDOM
INTEGER :: Max. Value: 2000 Values: RANDOM
INTEGER :: Max. Value: 10000 Values: RANDOM

select count(*) from INDEX_IMMUTABLE_SALTED
0.67s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_INDEX_IMMUTABLE_SALTED ON INDEX_IMMUTABLE_SALTED (CORE) INCLUDE (DB,ACTIVE_VISITOR)
15.66s PHOENIX-SNAPSHOT

LOAD DATA INDEX_IMMUTABLE_SALTED [1000000 ROWS]
64.63s PHOENIX-SNAPSHOT


INDEX_MUTABLE




ROWS 1000000 [1M]

DDL CREATE TABLE $TABLE (HOST CHAR(2) NOT NULL,DOMAIN VARCHAR NOT NULL,FEATURE VARCHAR NOT NULL,DATE DATE NOT NULL,USAGE.CORE BIGINT,USAGE.DB BIGINT,STATS.ACTIVE_VISITOR INTEGER CONSTRAINT PK PRIMARY KEY (HOST, DOMAIN, FEATURE, DATE));CREATE INDEX IDX_ON_LOAD_$TABLE ON $TABLE (CORE,DB,ACTIVE_VISITOR);

DATA GENERATOR
STRING :: Values: NA|CS|EU
STRING :: Values: Salesforce.com|Apple.com|Google.com|Yelp.com
STRING :: Values: Login|Report|Dashboard|Sales|UI
DATE :: Values: SEQUENTIAL
INTEGER :: Max. Value: 100 Values: RANDOM
INTEGER :: Max. Value: 2000 Values: RANDOM
INTEGER :: Max. Value: 10000 Values: RANDOM

select count(*) from INDEX_MUTABLE
3.47s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_INDEX_MUTABLE ON INDEX_MUTABLE (CORE) INCLUDE (DB,ACTIVE_VISITOR)
61.22s PHOENIX-SNAPSHOT

LOAD DATA INDEX_MUTABLE [1000000 ROWS]
148.08s PHOENIX-SNAPSHOT


INDEX_MUTABLE_SALTED




ROWS 1000000 [1M]

DDL CREATE TABLE $TABLE (HOST CHAR(2) NOT NULL,DOMAIN VARCHAR NOT NULL,FEATURE VARCHAR NOT NULL,DATE DATE NOT NULL,USAGE.CORE BIGINT,USAGE.DB BIGINT,STATS.ACTIVE_VISITOR INTEGER CONSTRAINT PK PRIMARY KEY (HOST, DOMAIN, FEATURE, DATE)) SALT_BUCKETS=4;CREATE INDEX IDX_ON_LOAD_$TABLE ON $TABLE (CORE,DB,ACTIVE_VISITOR);

DATA GENERATOR
STRING :: Values: NA|CS|EU
STRING :: Values: Salesforce.com|Apple.com|Google.com|Yelp.com
STRING :: Values: Login|Report|Dashboard|Sales|UI
DATE :: Values: SEQUENTIAL
INTEGER :: Max. Value: 100 Values: RANDOM
INTEGER :: Max. Value: 2000 Values: RANDOM
INTEGER :: Max. Value: 10000 Values: RANDOM

select count(*) from INDEX_MUTABLE_SALTED
0.84s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_INDEX_MUTABLE_SALTED ON INDEX_MUTABLE_SALTED (CORE) INCLUDE (DB,ACTIVE_VISITOR)
15.13s PHOENIX-SNAPSHOT

LOAD DATA INDEX_MUTABLE_SALTED [1000000 ROWS]
97.22s PHOENIX-SNAPSHOT


NO_INDEX




ROWS 1000000 [1M]

DDL CREATE TABLE $TABLE (HOST CHAR(2) NOT NULL,DOMAIN VARCHAR NOT NULL,FEATURE VARCHAR NOT NULL,DATE DATE NOT NULL,USAGE.CORE BIGINT,USAGE.DB BIGINT,STATS.ACTIVE_VISITOR INTEGER CONSTRAINT PK PRIMARY KEY (HOST, DOMAIN, FEATURE, DATE));

DATA GENERATOR
STRING :: Values: NA|CS|EU
STRING :: Values: Salesforce.com|Apple.com|Google.com|Yelp.com
STRING :: Values: Login|Report|Dashboard|Sales|UI
DATE :: Values: SEQUENTIAL
INTEGER :: Max. Value: 100 Values: RANDOM
INTEGER :: Max. Value: 2000 Values: RANDOM
INTEGER :: Max. Value: 10000 Values: RANDOM

select count(*) from NO_INDEX
4.12s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_NO_INDEX ON NO_INDEX (CORE) INCLUDE (DB,ACTIVE_VISITOR)
58.34s PHOENIX-SNAPSHOT

LOAD DATA NO_INDEX [1000000 ROWS]
49.27s PHOENIX-SNAPSHOT


NO_INDEX_SALTED




ROWS 1000000 [1M]

DDL CREATE TABLE $TABLE (HOST CHAR(2) NOT NULL,DOMAIN VARCHAR NOT NULL,FEATURE VARCHAR NOT NULL,DATE DATE NOT NULL,USAGE.CORE BIGINT,USAGE.DB BIGINT,STATS.ACTIVE_VISITOR INTEGER CONSTRAINT PK PRIMARY KEY (HOST, DOMAIN, FEATURE, DATE)) SALT_BUCKETS=4;

DATA GENERATOR
STRING :: Values: NA|CS|EU
STRING :: Values: Salesforce.com|Apple.com|Google.com|Yelp.com
STRING :: Values: Login|Report|Dashboard|Sales|UI
DATE :: Values: SEQUENTIAL
INTEGER :: Max. Value: 100 Values: RANDOM
INTEGER :: Max. Value: 2000 Values: RANDOM
INTEGER :: Max. Value: 10000 Values: RANDOM

select count(*) from NO_INDEX_SALTED
1.07s PHOENIX-SNAPSHOT

CREATE INDEX IDX_AFTER_LOAD_NO_INDEX_SALTED ON NO_INDEX_SALTED (CORE) INCLUDE (DB,ACTIVE_VISITOR)
14.24s PHOENIX-SNAPSHOT

LOAD DATA NO_INDEX_SALTED [1000000 ROWS]
43.04s PHOENIX-SNAPSHOT



Note: Hover over version label to see Phoenix Query Explain Plan.