[MCOL-118] Creating tables is very slow Created: 2016-06-11  Updated: 2016-12-21  Resolved: 2016-12-21

Status: Closed
Project: MariaDB ColumnStore
Component/s: MariaDB Server
Affects Version/s: None
Fix Version/s: 1.0.6

Type: Bug Priority: Major
Reporter: Justin Swanhart (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None


 Description   

CREATE TABLE IF NOT EXISTS lineorder
(
LO_OrderKey bigint not null,
LO_LineNumber tinyint not null,
LO_CustKey int not null,
LO_PartKey int not null,
LO_SuppKey int not null,
LO_OrderDateKey int not null,
LO_OrderPriority varchar(15),
LO_ShipPriority char(1),
LO_Quantity tinyint,
LO_ExtendedPrice decimal,
LO_OrdTotalPrice decimal,
LO_Discount decimal,
LO_Revenue decimal,
LO_SupplyCost decimal,
LO_Tax tinyint,
LO_CommitDateKey int not null,
LO_ShipMode varchar(10)
);
Query OK, 0 rows affected (5.90 sec)



 Comments   
Comment by David Thompson (Inactive) [ 2016-12-21 ]

This takes 0.5s on my local machine which is a modern spec i7 with ssd drive. This is quite old and when we had some performance issues so may just be down to that.

In general creating tables is more expensive for columnstore compared to innodb since it has to go off and handle creation of extents for each columns.

Generated at Thu Feb 08 02:18:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.