version 2.4.27 query takes too long to run #38409
Replies: 5 comments 4 replies
-
Try search with consistency_level="Eventually". |
Beta Was this translation helpful? Give feedback.
-
If you are using standalone, usually it slow because rocksdb consume slow. |
Beta Was this translation helpful? Give feedback.
-
This is the exported log. I have not analyzed any obvious errors. Please ask the professionals to find out what the problem is. thks!!! |
Beta Was this translation helpful? Give feedback.
-
From your log, the pod seems to be very slow. |
Beta Was this translation helpful? Give feedback.
-
The previously deployed version was 2.4.13. Due to the inability to load data after restarting, we upgraded to version 2.4.17. After the upgrade, the query was very slowly. There were only a few vectors in database , but the query took 7-10 seconds. Don't understand why!!!
this is deployment file:
apiVersion: milvus.io/v1beta1
kind: Milvus
metadata:
name: milvus-cluster
labels:
app: milvus
spec:
mode: cluster
components:
#image: milvusdb/milvusv:2.4.13-hotfix
image: milvusdb/milvus:v2.4.17
mixCoord:
replicas: 1
resources:
limits:
cpu: 2
memory: 4Gi
indexNode:
replicas: 3
resources:
limits:
cpu: 2
memory: 4Gi
proxy:
replicas: 1
resources:
limits:
cpu: 2
memory: 4Gi
config:
queryNode:
enableDisk: true
dataCoord:
segment:
maxSize: 2048
diskSegmentMaxSize: 2048
gc:
interval: 7200
missingTolerance: 43200
log:
level: warn
file:
maxAge: 1
maxBackups: 1
dependencies:
etcd:
inCluster:
values:
autoCompactionMode: revision
autoCompactionRetention: "1000"
extraEnvVars:
- name: ETCD_QUOTA_BACKEND_BYTES
value: "4294967296"
- name: ETCD_HEARTBEAT_INTERVAL
value: "500"
- name: ETCD_ELECTION_TIMEOUT
value: "25000"
- name: ETCD_SNAPSHOT_COUNT
value: "10000"
- name: ETCD_ENABLE_PPROF
value: "true"
persistence:
accessMode: ReadWriteOnce
enabled: true
size: 30Gi #SSD Required
storageClass: nfs
replicaCount: 2
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 1
memory: 4Gi
Beta Was this translation helpful? Give feedback.
All reactions