Phoenix Performance Result :: Fri Sep 20 15:57:01 PDT 2013

Queries by Category


Index

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

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

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


Index Creation After Data

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

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

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


Load Data

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

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

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




Queries by Table



INDEX_IMMUTABLE


IMMutable Indexing.

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.22s PHOENIX-SNAPSHOT

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

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


INDEX_MUTABLE


Mutable Indexing.

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.1s PHOENIX-SNAPSHOT

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

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


NO_INDEX


No Indexing.

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
3.9s PHOENIX-SNAPSHOT

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

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



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