🚀 جرب Zilliz Cloud، الـ Milvus المدارة بالكامل، مجاناً — تجربة أداء أسرع بـ 10 أضعاف! جرب الآن>>

milvus-logo
LFAI
الصفحة الرئيسية
  • دليل الإدارة
  • Home
  • Docs
  • دليل الإدارة

  • التكوين

  • على الطاير

تكوين ميلفوس أثناء التنقل

يسمح لك Milvus بتغيير بعض تكويناته أثناء التنقل.

قبل البدء

تحتاج إلى التأكد من أن: :

  • لديك برنامج Birdwatcher مثبتاً. لمزيد من التفاصيل، راجع تثبيت Birdwatcher,
  • لديك برنامج إلخdctl مثبت لديك. لمزيد من التفاصيل، راجع التفاعل مع إلخd، أو
  • إذا كان لديك عملاء آخرين لـ etcd، مثل عميل Python، مثبتين.
  • تقوم الأمثلة في هذا الدليل بتغيير قيمة proxy.minPasswordLength إلى 8. يمكنك استبدال المفتاح بالمفاتيح القابلة للتطبيق المدرجة في عناصر التكوين القابلة للتطبيق.
  • تفترض الأمثلة في هذا الدليل أن المسار الجذر لـ Milvus الخاص بك هو by-dev. جميع التكوينات مدرجة تحت المسار by-dev/config. يختلف مسار جذر Milvus باختلاف طريقة تثبيته. بالنسبة للمثيلات المثبتة باستخدام مخططات Helm، يتم تعيين المسار الجذر افتراضيًا إلى by-dev. إذا كنت لا تعرف المسار الجذر، فارجع إلى الاتصال بـ etcd.

تغيير التكوينات

في ميلفوس، يتم تعيين proxy.minPasswordLength على 6 افتراضيًا. لتغيير هذه القيمة، يمكنك القيام بما يلي:

$ etcdctl put by-dev/config/proxy/minPasswordLength 8
# or
$ birdwatcher -olc "#connect --etcd 127.0.0.1:2379 --rootPath=by-dev,set config-etcd --key by-dev/config/proxy/minPasswordLength --value 8"

ثم يمكنك التحقق من التكوينات على النحو التالي:

$ etcdctl get by-dev/config/proxy/minPasswordLength

استرجاع التكوينات

يسمح لك Milvus أيضاً باستعادة التكوينات الخاصة بك في حال لم تعد القيمة التي تم تغييرها سارية.

$ etcdctl del by-dev/config/proxy/minPasswordLength 
# or 
$ birdwatcher -olc "#connect --etcd 127.0.0.1:2379 --rootPath=by-dev,remove config-etcd --key by-dev/config/proxy/minPasswordLength"

ثم يمكنك التحقق من التكوينات على النحو التالي:

$ etcdctl get by-dev/config/proxy/minPasswordLength

عرض التكوينات

بدلاً من عرض قيمة عنصر تكوين معين، يمكنك أيضاً سرد جميع التكوينات.

$ etcdctl get --prefix by-dev/config
# or
$ birdwatcher -olc "#connect --etcd 127.0.0.1:2379 --rootPath=by-dev,show config-etcd"

لعرض تكوينات عقدة محددة:

Offline > connect --etcd ip:port 
Milvus(by-dev) > show session          # List all nodes with their server ID
Milvus(by-dev) > visit querycoord 1    # Visit a node by server ID
QueryCoord-1(ip:port) > configuration  # List the configuration of the node

عناصر التكوين القابلة للتطبيق

في الوقت الحالي، يمكنك تغيير عناصر التكوين التالية بشكل سريع.

عنصر التكوينالقيمة الافتراضية
pulsar.maxMessageSize5242880
شائع.مدة الاحتفاظ86400
شائع.entityExpiration-1
الوقت الشائع.gracefulTime5000
شائع.gracefulStopTimeTimeout30
quotaAndLimits.ddl.enabledFALSE
تم تمكين quotaAndLimits.indexRate.enabledFALSE
تم تمكين quotaAndLimits.flushRate.enabledFALSE
تم تمكين quotaAndLimits.compactionRate.enabledFALSE
تم تمكين quotaAndLimits.dml.enabledFALSE
تم تمكين quotaAndLimits.dql.enabledFALSE
quotaAndLimits.limits.collection.maxNum64
quotaAndLimits.limitWriting.forceDeny.forceDenyFALSE
quotaAndLimits.limitWriting.ttProtection.enabledFALSE
quotaAndLimits.limitWriting.ttProtection.maxTimeTickTickDelay9223372036854775807
quotaAndLimits.limitWriting.memProtection.enabledTRUE
quotaAndLimits.limitWriting.memProtection.dataNodeMemoryLowWaterLevel0.85
quotaAndLimits.limitWriting.memProtection.dataNodeMemoryHighWaterLevel0.95
quotaAndLimits.limitWriting.memProtection.queryNodeMemoryLowWaterLevel0.85
quotaAndLimits.limitWriting.memProtection.queryNodeMemoryHighWaterLevel0.95
quotaAndLimits.limitWriting.diskProtection.enabledTRUE
quotaAndLimits.limitWriting.diskProtection.diskQuota+INF
quotaAndLimits.limitReading.forceDeny.forceDenyFALSE
quotaAndLimits.limitReading.queueProtection.enabledFALSE
quotaAndLimits.limitReading.queueProtection.nqInQueueThreshold9223372036854775807
quotaAndLimits.limitReading.queueProtection.queueLatencyThreshold+INF
quotaAndLimits.limitReading.resultProtection.enabledFALSE
quotaAndLimits.limitReading.resultProtection.maxReadResultRate+INF
quotaAndLimits.limitReading.coolOffSpeed0.9
تمكين الفهرس التلقائيFALSE
بناء الفهرس التلقائي""
autoIndex.params.extra""
بحث.بارامز.بارامز.بحث""
proxy.maxNameLength255
proxy.maxUsernameLength.maxUsernameLength32
الحد الأدنى لطول كلمة المرور6
الحد الأقصى لطول كلمة المرور256
proxy.maxFieldNum64
proxy.maxShardNum256
proxy.maxDimension32768
proxy.maxUserNum100
proxy.maxRoleNum10
queryNode.enableDiskTRUE
dataCoord.segment.diskSegmentMaxSize2048
dataCoord.compaction.enableAutoCompactionصحيح

ما التالي

جرب Managed Milvus مجاناً

Zilliz Cloud خالي من المتاعب، ويعمل بواسطة Milvus ويعمل بسرعة 10 أضعاف.

ابدأ
التعليقات

هل كانت هذه الصفحة مفيدة؟