ttl

    6熱度

    3回答

    我安裝debian package 我可以使用curl將數據推:用 { "_index": "blog", "_type": "user", "_id": "dilbert", "_version": 2, "exists": true, "_source": { "name": "Dilbert Brown" }

    37熱度

    2回答

    Redis是否可以爲特定的密鑰設置TTL(生存時間),而不是針對某個集合的成員? 我正在使用由Redis文檔提出的標籤結構 - 數據是簡單的鍵值對,標籤是包含與每個標籤對應的鍵的集合,例如, > SETEX id:id_1 100 'Lorem ipsum' OK > SADD tag:tag_1 id:id_1 (integer) 1 關鍵id:id_1將到期的預期,但我沒有看到一個有

    0熱度

    1回答

    如果我在給定的跳到期包運行ping,ping不會計算任何往返時間沒有往返時間: ~# ping www.google.com -t 3 -v PING www.google.com (173.194.40.17) 56(84) bytes of data. From te1-3-marseille1-rtr-021.noc.renater.fr (193.51.189.25) icmp_seq

    5熱度

    2回答

    我需要通過cqlengine使用TTL; 但沒有關於它的文檔。 有人可以幫我解決這個問題。 謝謝

    13熱度

    2回答

    我有這樣定義的定製列表表: CREATE table primary_key_only( row_key varchar, clustered_key varchar, primary key(row_key, clustered_key) ) 假設我插入這樣的價值觀: INSERT INTO primary_key_only (row_key, clustere

    0熱度

    1回答

    我正在學習使用CQL的Cassandra CQL 3.1在Mac上安裝Cassandra的文檔手冊(cqlsh 4.0.0 | Cassandra 2.0.0 | CQL spec 3.1.0 | Thrift協議19.37.0) 。從cqlsh,當我輸入collections map example number 7: UPDATE users USING TTL <computed_ttl>

    1熱度

    1回答

    由於MongoDB 2.2可以將「Expire Data from Collections Using a TTL」作爲特殊索引類型實現。 最新版本的Doctrine ORM支持這個Index Option。不幸的是,我一直無法找到如何使用doctrine annotations/config文件正確設置此索引。 這是我如何努力做到這一點,我希望有人能幫助我正確設置它: <?php use D

    2熱度

    1回答

    至於我自己看着辦,這似乎是成立的Memcached並設置TTL和命名空間的方式,但他們在高速緩存中沒有效果。密鑰沒有用命名空間作爲前綴,並且過期是無限的。 $MemcachedOptions = new \Zend\Cache\Storage\Adapter\MemcachedOptions(); $MemcachedResourceManager = new \Zend\Cache\S

    0熱度

    1回答

    不MongoDB的一致性處理爲來自TTL收集鏈接的文檔? e.g:如果「用戶」模式指的是和鏈接的用戶之一是爲太舊去掉一個TTL集合,將它的各種不同羣體的鏈接被刪除? var GroupSchema = new Schema({ users : [{ type : Schema.Types.ObjectId, ref: 'User' }] }); mong

    1熱度

    1回答

    class Event include Mongoid::Document field :status, type: Integer index({ status: 1 }, { expire_after_seconds: 3600 }) end 我知道MongoDB和Mongoid的TTL選項。 https://github.com/mongoid/mongo