[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Would cqlsh describe command send query to cassandra server ?


DESCRIBE commands are handled at the driver level not at the server level.
The drivers fetch metadata and keep them up to date.
When a DESCRIBE command is send, the driver build the output from those


On Tue, Aug 7, 2018 at 1:33 PM, 陈仕(shichen)-技术产品中心 <shichen@xxxxxxxx> wrote:

> Hello, all.
> I try to use `desc keyspaces` or desc table t`, and at the same time
> capture network packets at Cassandra side with tcpdump.
> My tcpdump command is like this: tcpdump -i eth0 ip host -X
> But I found no string such as desc or keyspaces or table in the output.
> So I wonder whether cqlsh fetch keyspace’s and table’s metadata just from
> local and not send query to server node ?
> Thanks.