English 中文(简体)
I collected cnosdb trace through jaeger, and found by building a table that the execution plan collected was for query. Is there a problem?
原标题:

I collected cnosdb trace information through jaeger, and found by building a table that the execution plan collected was for query. Is there a problem? I modify the configuration information according to the official document, as follows:

[trace]
auto_generate_span = false
[trace.jaeger]
jaeger_agent_endpoint =  http://localhost:14268/api/traces 
max_concurrent_exports = 2
max_queue_size = 4096

Then pull up the 3mta 2data cluster through the official script, as follows:

bash run_cluster.sh

Then create a table by writing to the data interface, as follows:

curl -i -u "root:" -H "Accept: application/json" -H "uber-trace-id: 3a3a43:432e345:0:1" -XPOST "http://127.0.0.1:12002/api/v1/sql?db=usage_schema&pretty=true" -d "CREATE TABLE air (visibility DOUBLE,temperature DOUBLE,presssure DOUBLE,TAGS(station));"

Finally, check the trace through jaegerUI, as follows:

Limit: skip=0, fetch=5 [time:Timestamp(Nanosecond, None), database:Utf8;N, host:Utf8;N, node_id:Utf8;N, tenant:Utf8;N, user:Utf8;N, value:UInt64;N]
  Sort: user_queries.time DESC NULLS FIRST [time:Timestamp(Nanosecond, None), database:Utf8;N, host:Utf8;N, node_id:Utf8;N, tenant:Utf8;N, user:Utf8;N, value:UInt64;N]
    Projection: user_queries.time, user_queries.database, user_queries.host, user_queries.node_id, user_queries.tenant, user_queries.user, user_queries.value [time:Timestamp(Nanosecond, None), database:Utf8;N, host:Utf8;N, node_id:Utf8;N, tenant:Utf8;N, user:Utf8;N, value:UInt64;N]
      TableScan: user_queries [time:Timestamp(Nanosecond, None), database:Utf8;N, host:Utf8;N, node_id:Utf8;N, tenant:Utf8;N, user:Utf8;N, value:UInt64;N]

Isn t this the execution plan of the query? Is there a problem with the collected information?

问题回答

暂无回答




相关问题
what is wrong with this mysql code

$db_user="root"; $db_host="localhost"; $db_password="root"; $db_name = "fayer"; $conn = mysqli_connect($db_host,$db_user,$db_password,$db_name) or die ("couldn t connect to server"); // perform query ...

Users asking for denormalized database

I am in the early stages of developing a database-driven system and the largest part of the system revolves around an inheritance type of relationship. There is a parent entity with about 10 columns ...

Easiest way to deal with sample data in Java web apps?

I m writing a Java web app in my free time to learn more about development. I m using the Stripes framework and eventually intend to use hibernate and MySQL For the moment, whilst creating the pages ...

join across databases with nhibernate

I am trying to join two tables that reside in two different databases. Every time, I try to join I get the following error: An association from the table xxx refers to an unmapped class. If the ...

How can I know if such value exists in database? (ADO.NET)

For example, I have a table, and there is a column named Tags . I want to know if value programming exists in this column. How can I do this in ADO.NET? I did this: OleDbCommand cmd = new ...

Convert date to string upon saving a doctrine record

I m trying to migrate one of my PHP projects to Doctrine. I ve never used it before so there are a few things I don t understand. In my current code, I have a class similar to this: class ...

热门标签