Hi there,
I have few questions on tokudb. Please help to clarify.
TokuDB : version | 5.5.41-tokudb-7.5.5
1. I have table with 2 B records and two clustering Indexes on this table – One is with 6 dimensions and another one on date column and no PK
2. Daily ETL should delete 17M records and Insert 18M records. Currently this step takes more than 40 Minutes – is there any other ways to tune this script to reduce the Loading time? (attached the code)
3. During this loading, my select query fails with “Error Code: 1205. Lock wait timeout exceeded; try restarting transaction” error. –How to avoid this issue?
4. When we do complete data restatement – it taking more than 48 hours to restate the data. Loading data from flat file to staging table(using parallel loads) -5 hours and loading data to target table from staging tables – How to reduce the loading time?
5. To load the data in parallel in target table – created yearly table like table_2010,table_2011,..,table_2015 and loaded the table into it and create view on top of these five tables. But when we access data view – it is not using the Clustering index. Copying the data to buffer from all the tables and then applying filter. This is causing the delay ( more than 10 minutes). Is there any better plan?
6. Do you suggest partition this large table for easy maintenance? If yes than which type? Partition with clustering Index will provide better performance?
Please let me know if you need any other data to provide suggestion for above questions.
Thanks,
Vinoth
Hi Rhys Campbell,
Thanks for suggestions.
TokuDB version is 5.5.41-tokudb-7.5.5. we using mysql 5.5, so it is not
possible to leverage the advantage of EXCHANGE PARTITION.
Our table size is 4.5 billion records, so dropping and recreating index will take hours to complete
Sure. I will try to break up the delete and insert process. Will keep posted on this.
Thanks,
Vinoth
--
You received this message because you are subscribed to the Google Groups "tokudb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tokudb-user...@googlegroups.com.
To post to this group, send email to tokud...@googlegroups.com.
Visit this group at http://groups.google.com/group/tokudb-user.
For more options, visit https://groups.google.com/d/optout.
Hi Abdelhak Errami,
Thanks for the update.
Percona Server 5.6 has tokudb-7.5.4 but currently we are using 5.5.41-tokudb-7.5.5.
Does this cause any big problems?
My another question – Is the option available like using TokuDB without Percona Server?
Thanks,
Vinoth
not sure where you get the binaries from but the ones I have mentioned have tokudb 7.5.8
mysql> select @@tokudb_version\G select @@version\G
*************************** 1. row ***************************
@@tokudb_version: tokudb-7.5.8
1 row in set (0.00 sec)
*************************** 1. row ***************************
@@version: 5.6.25-73.1-log
1 row in set (0.00 sec)
For this question:
My another question – Is the option available like using TokuDB without Percona Server?
It's not supported, you will have to compile from source, and it's going to be very hard to maintain going forward.
Thanks for the update Abdelhak Errami.
Yeah, you are right, I used the old one. I got it now.
Thanks,
Vinoth
But toku itself is no longer distributing new releases, right?
But toku itself is no longer distributing new releases, right?
Am 03.09.2015 12:33 schrieb "Phil"
You can also get TokuDB as part of MariaDB (also based on MySQL).