Friday, 2014-06-27

*** vnaboychenko has quit IRC00:21
*** charlesw has joined #magnetodb00:53
*** openstackgerrit has quit IRC01:06
*** openstackgerrit has joined #magnetodb01:08
*** vnaboychenko has joined #magnetodb02:49
*** vnaboychenko has quit IRC02:50
*** charlesw has quit IRC03:05
*** vnaboychenko has joined #magnetodb04:32
*** idegtiarov has quit IRC08:07
*** idegtiarov has joined #magnetodb08:09
*** ominakov has joined #magnetodb08:14
*** jeromatron has joined #magnetodb09:31
*** denis_makogon has joined #magnetodb09:58
*** istegantsev has joined #magnetodb10:06
*** vnaboychenko has quit IRC10:08
*** istegantsev has quit IRC10:12
openstackgerritIlya Sviridov proposed a change to stackforge/python-magnetodbclient: Fixed git repo name in .gitreview  https://review.openstack.org/10308010:33
openstackgerritIllia Khudoshyn proposed a change to stackforge/magnetodb: Add notifications to streaming API  https://review.openstack.org/10278612:37
*** keith_newstadt has quit IRC12:42
*** ashestakov has quit IRC12:42
*** keith_newstadt has joined #magnetodb12:59
*** charlesw has joined #magnetodb13:31
openstackgerritOleksandr Minakov proposed a change to stackforge/magnetodb: Adds documentation from docstrings  https://review.openstack.org/10313213:53
openstackgerritOleksandr Minakov proposed a change to stackforge/magnetodb: Adds documentation from docstrings  https://review.openstack.org/10313213:54
dukhlovjeromatron: Hello13:55
jeromatronhi13:56
dukhlovRegarding Global Index story. Now MagnetoDB has only Local Secondary Indexes implemented14:03
dukhlovand for this feature we dont use Cassandra Native secondary indexes14:04
dukhlovbecause we need DynamoDB like LSI logic14:04
dukhlovso we need to determine partition where we want to lookup data14:05
dukhlovand then in scope of this  partition get search data by indexed value14:06
jeromatronright.  so it sounds like you have your own magneto system in place to be able to do that.  okay.14:06
dukhlovyes14:06
jeromatronI would comment on that ticket if you're interested in seeing the global indexes doing something similar or if you have preferences there.  they're still in the research phase too so it's really the best time to talk about things like that.14:07
jeromatronit would save you from having to maintain that code in the future I would think.14:07
dukhlovI want to understand for now do you plan to implement or improve Cassandra Native feature to help us?14:07
jeromatroncurrently it's that they would like to add a built-in way to do non-local indexes and it's initially similar to the way dynamodb does global indexes.  that's my understanding.  so now if you want to do an index like that, you have to denormalize to two different column families.14:09
jeromatronI'm not involved in the decision making for the details so I would comment on the ticket directly if you have feedback or preferences on how it's implemented.14:11
dukhlovOk. I will comment that issue. We need GSI in future too. But for now it would be nice to know how we can organize LSI using Cassandra native features. Is it possible improve current Cassandra LSI? Maybe we can use C* GSI for MagnetoDB LSI, or maybe we have no choice and have to implement it manually14:17
dukhlovI would be great have vision what is the most perspective direction14:17
jeromatronwhat additions would you need to LSI?  right now they're very limited and not performant.  they're looking at improving that, but what specifically do you need?14:21
dukhlovAs far I understood the problem is that C* need to query a lot of custer's nodes (in worst case)14:23
dukhlovbut our LSI define patrition where to find14:24
dukhlovwe need ability to specify Partition key14:24
jeromatronif you specify a partition key, then you don't need LSI...14:25
dukhlovand then execute '>','<','=' condition on indexed fields14:25
dukhlovI am talking about composite primary key14:26
dukhlovif we have primary key which consist of partition key and clustering key14:26
dukhlovwe can execute query by primary key like14:27
dukhlovSELECT WHERE PK='pk1' AND CK>'cl1'14:27
dukhlovbut we need ability to define alternative clustering key14:28
dukhlovthis alternative clustering key is called MagnetoDB LSI14:30
jeromatronI'm just checking on that because it seems like it should be doable because if you have a clustering key, that should be a lookup away from the partition key.14:30
dukhlovyes, right14:31
dukhlovwe can execute query by partition key and clustering key (query by primary index)14:32
dukhlovbut, for example now we have additional field 'user_age'14:33
ikhudoshyndukhlov, I guess I'm done with the https://review.openstack.org/#/c/102786/14:34
ikhudoshyncould you pls take a look14:34
dukhlovif we define MagnetoDB LSI we should have ability to pefrom next query14:34
ikhudoshynso we could decide which one yrs or mine will go 1st14:34
dukhlovSELECT WHERE PK='pk' and user_age>1614:35
dukhlovbut if we define C* LSI on user_age14:35
dukhlovwe can't execute such query because somehow we can't mix primary key and LSI fields in the same query14:36
dukhlovmaybe it make sens14:36
dukhlovbut if C* LSI performance problem is connected with involving whole cluster, maybe we can specify partition for looking up in query  on client side to improve performance14:38
dukhlovand allow to add partition key condition to query on LSI14:39
dukhlovikhudoshyn: ok, thanks14:39
jeromatronyeah - seems like it should be taking advantage of the knowledge of the partition key instead of doing a scatter/gather query, then do the lookup on the clustering key.14:41
openstackgerritOleksandr Minakov proposed a change to stackforge/magnetodb: Adds documentation from docstrings  https://review.openstack.org/10313214:43
jeromatrondukhlov: so did you create a native C* secondary index for anything on that column family?15:11
dukhlovno now we don't use C* LSI15:14
dukhlovwe implemented it manually and have performance issues15:15
*** idegtiarov has quit IRC15:15
dukhlovnow I think how to improve them and all approaches to to this looks very complicated. And if we have choice to use some C* native support it can help our life a lot15:18
jeromatronright - if you specify the partition key, it shouldn't do the full secondary index lookup even if there is a 2i defined.15:19
jeromatronit will go right to the parition and look up the rest of the query.15:19
*** openstackgerrit has quit IRC15:21
dukhlovbut as far as I understand it go to right to the partition and perform filtering on fields which are not part of clustering key15:23
jeromatronok, maybe I've misunderstood then, what would be the preferred thing for it to do specifically.  you're saying that it currently doesn't take into account the clustering key?15:24
dukhlovок, I will explain on examples. let me 5 min to prepare queries which I want to execute15:34
jeromatrondukhlov: I need to take off but you can email me the details to jeremy at datastax and I can take a look and do some research.15:41
*** jeromatron has quit IRC15:42
*** openstackgerrit has joined #magnetodb15:45
*** ominakov_ has joined #magnetodb16:11
*** ominakov has quit IRC16:13
*** vnaboychenko has joined #magnetodb16:47
*** vnaboychenko has quit IRC17:04
*** jeromatron has joined #magnetodb17:05
*** jeromatron has quit IRC17:05
*** jeromatron has joined #magnetodb17:07
*** jeromatron has quit IRC17:19
*** vnaboychenko has joined #magnetodb17:28
*** vnaboychenko has quit IRC17:32
*** ominakov_ has quit IRC17:33
*** ominakov has joined #magnetodb17:36
openstackgerritCharles Wang proposed a change to stackforge/magnetodb: Disable data item level operation events for message queueing.  https://review.openstack.org/10073618:03
*** denis_makogon has quit IRC18:05
*** jeromatron has joined #magnetodb18:28
*** ominakov_ has joined #magnetodb18:39
*** ominakov has quit IRC18:40
*** jeromatron has quit IRC18:40
*** ominakov_ has quit IRC18:48
*** jeromatron has joined #magnetodb18:48
*** openstackgerrit has quit IRC19:20
*** openstackgerrit has joined #magnetodb19:22
*** jeromatron has quit IRC19:36
*** ikhudoshyn has quit IRC19:43
*** ikhudoshyn has joined #magnetodb19:43
*** jeromatron has joined #magnetodb19:47
openstackgerritDmitriy Ukhlov proposed a change to stackforge/magnetodb: Fix storage tests after notification patch merging  https://review.openstack.org/10087420:35
*** charlesw_ has joined #magnetodb21:25
*** ikhudoshyn_ has joined #magnetodb21:25
*** ikhudoshyn has quit IRC21:31
*** charlesw has quit IRC21:31
*** charlesw_ is now known as charlesw21:31
*** jeromatron has quit IRC21:40
*** keith_newstadt has quit IRC21:56
*** charlesw has quit IRC22:07
*** ominakov has joined #magnetodb23:13
*** openstackgerrit has quit IRC23:37
*** vnaboychenko has joined #magnetodb23:52
*** vnaboychenko has quit IRC23:53

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!