Contributed by Calpont, InfiniDB Community Edition is an open source, scale-up analytics database engine for your data warehousing, business intelligence and read-intensive application needs. Enabled via MySQLTM and purpose-built for an analytical workload with column-oriented technology at its core, the multi-threaded capabilities of InfiniDB Community Edition fully encompass query, transactional support and bulk load operations.  So come on in, grab a download and get started.

             | 

Welcome, Guest
Username Password: Remember me

INSERT speed
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: INSERT speed

INSERT speed 1 year, 5 months ago #1293

  • maitri98
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
We have not yet tested doing standard INSERTS into InfiniDB and benchmarking it against InnoDB...our current engine of choice. The presumption is InfiniDB will be much slower for obvious reasons.

From what I have read you have an excellent batch loader utility for populating the DB. Have you considered exposing this through an API for use? Most true applications cannot just do a batch load of data from a file. There is auditing that needs done, loads may come from 100's of client machines connecting to the DB through a middle tier server, there is rollback support needed in the case of something bombing out, etc. So being able to do these loads fast yet supporting a true production environment would be useful.

FYI...i am aware that your standard batch loader does not provide rollback support, but if a variant existed that does support this, yet is faster than a standard SQL insert, would be useful.

Kevin

Re:INSERT speed 1 year, 5 months ago #1298

  • davestokes
  • OFFLINE
  • Expert Boarder
  • Posts: 116
  • Karma: 2
Kevin,

I will pass your request to expose the API to the team.

--Dave

Re:INSERT speed 1 year, 5 months ago #1300

  • maitri98
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Thanks Dave for this and the other replies...

Re:INSERT speed 8 months ago #2298

  • ddumitri
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi,

Currently I am using JDBC and load data infile to do the loading but it's too slow (compared to mysql).

Any updates on the plans to provide an API for the bulk loader?

Thanks
Dan

Re:INSERT speed 8 months ago #2302

  • radams
  • OFFLINE
  • Moderator
  • Posts: 220
  • Karma: 3
Hi Dan,

We don't have an API for other apps to use, but cpimport is still the fastest way to load data into Infinidb.

An additional update for the original post, cpimport does have rollback support.

Thanks,

Robert
Calpont

Re:INSERT speed 8 months ago #2304

  • ddumitri
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
I agree it is the fastest

As a thing on the wish list : currently I cannot specify the column order in the file (it must be exactly same column order as in the DB). Can we get such a feature?

Also it would be useful to be able to leave out some columns if you do not necessarily want to load them. Currently I am forced to give a file matching exactly the table.

thanks
  • Page:
  • 1
  • 2
Time to create page: 0.49 seconds