Ramon Vermeulen
10/17/2022, 8:18 AMHarshith (Airbyte)
10/17/2022, 8:18 AMRamon Vermeulen
10/17/2022, 8:21 AMRamon Vermeulen
10/17/2022, 8:29 AMRamon Vermeulen
10/17/2022, 8:37 AMuser
10/17/2022, 11:57 AMuser
10/17/2022, 2:30 PMuser
10/17/2022, 2:30 PMRamon Vermeulen
10/17/2022, 3:05 PM0.4.17 to 0.4.20 and for MySQL from 0.6.8 to 1.0.4 and they are both about 5 times slower since the upgrade. We followed both migration guides where we had to update 1 records due to the schema changes. Besides that we also did upgraded airbyte from 0.40.2 to 0.40.6 .user
10/17/2022, 4:51 PMRamon Vermeulen
10/17/2022, 5:28 PMAttempting to start pod = source-mssql-read-2005-0-sebsv for airbyte/source-mssql:0.4.20 with resources io.airbyte.config.ResourceRequirements@72d6d7c0[cpuRequest=0.25,cpuLimit=1,memoryRequest=2Gi,memoryLimit=4Gi
Or do you advice to allocate even more resources for this workload?user
10/17/2022, 6:52 PMRamon Vermeulen
10/18/2022, 6:47 AMRamon Vermeulen
10/18/2022, 7:01 AMjobs:
resources:
limits:
cpu: 1
memory: 4Gi
requests:
cpu: 0.25
memory: 2Gi
And if I look in the env-configmap.yaml I see:
JOB_MAIN_CONTAINER_CPU_LIMIT: {{ ((.Values.jobs.resources | default dict).limits | default dict).cpu | default "" | quote }}
JOB_MAIN_CONTAINER_CPU_REQUEST: {{ ((.Values.jobs.resources | default dict).requests | default dict).cpu | default "" | quote }}
JOB_MAIN_CONTAINER_MEMORY_LIMIT: {{ ((.Values.jobs.resources | default dict).limits | default dict).memory | default "" | quote }}
JOB_MAIN_CONTAINER_MEMORY_REQUEST: {{ ((.Values.jobs.resources | default dict).requests | default dict).memory | default "" | quote }}
And if I do a printenv | grep MEMORY in the pod I'm getting:
# printenv | grep MEMORY
JOB_MAIN_CONTAINER_MEMORY_LIMIT=4Gi
JOB_MAIN_CONTAINER_MEMORY_REQUEST=2GiRamon Vermeulen
10/18/2022, 7:16 AMRamon Vermeulen
10/18/2022, 8:02 AM# MySQL
update public.actor set configuration =jsonb_set(configuration, '{replication_method}', '"STANDARD"', true)
WHERE actor_definition_id ='435bb9a5-7887-4809-aa58-28c27df0d7ad';
# MSSQL
update public.actor set configuration =jsonb_set(configuration, '{replication_method}', '"STANDARD"', true)
WHERE actor_definition_id ='b5ea17b1-f170-46dc-bc31-cc744ca984c1';
I just started both the connections, I'll give an update later if the performance is back as it used to be.
Not sure if it improved, I'll keep monitoring, current speed isn't that promising (2 logs 1 minute apart from eachother):
# MySQL
2022-10-18 08:11:30 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 42000 (20 MB)
2022-10-18 08:12:30 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 106000 (63 MB)
(106000 - 42000) / 60 = 1066,66 records per second
# MSSQL
2022-10-18 08:16:30 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 1161000 (587 MB)
2022-10-18 08:17:30 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 1221000 (617 MB)
(1221000 - 1161000) / 60 = 1000 records per second
Maybe it hasn't anything to do with the connectors upgrade, but with the airbyte upgrade from 0.40.2 to 0.40.6? I can try to downgrade that as well.Ramon Vermeulen
10/18/2022, 8:50 AM0.40.6 to `0.40.2`:
MSSQL is fixed, and runs around 2/3k records per second. However MySQL connector is still quite slow.
# MySQL
2022-10-18 08:56:05 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):339 - Records read: 387000 (295 MB)
2022-10-18 08:57:05 INFO i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):339 - Records read: 445000 (343 MB)
(445000 - 387000) / 60 = 966user
10/18/2022, 1:35 PM0.40.6 or 0.40.2 currently - we are on 0.40.15. Did you mean 0.40.02 and 0.40.06? If so, have you tried upgrading to the latest version? The problem might arise from there.
https://github.com/airbytehq/airbyte/releasesuser
10/18/2022, 1:35 PM0.40.6 or 0.40.2 currently - we are on 0.40.15. Did you mean 0.40.02 and 0.40.06? If so, have you tried upgrading to the latest version? The problem might arise from there.
https://github.com/airbytehq/airbyte/releasesRamon Vermeulen
10/18/2022, 2:20 PMMessage: No bean of type [io.airbyte.config.persistence.split_secrets.SecretPersistence] exists for the given qualifier: @Named('secretPersistence')
I already did the minio config migration.user
10/18/2022, 4:27 PMRamon Vermeulen
10/19/2022, 5:44 AMuser
10/19/2022, 2:34 PMRamon Vermeulen
10/19/2022, 6:45 PMresource "helm_release" "airbyte" {
name = "aibyte-chart"
repository = "<https://airbytehq.github.io/helm-charts>"
chart = "airbyte"
version = "0.40.27"
... lots of values.yaml variables being set ...
}
Everything seems to be a lot faster now, I'll get back later if this solved the issue. One weird thing I noticed, maybe it is a setting of the way airbyte saves it's current source/destination container versions? Everytime I do a new helm release, for instance upping the helm chart version from one version to another (happend from 0.40.24 to 0.40.27) for some reason it seems to automatically update the MSSQL destionation to the latest version. So I had to manually pin it back to 0.4.17, nothing too bad but just some weird behavior I noticed and was wondering if you have any idea what might cause it. Thanks for all support so far @Nataly Merezhuk (Airbyte) 🙂Nataly Merezhuk (Airbyte)
10/19/2022, 6:57 PM