You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Jibing-Li (via GitHub)" <gi...@apache.org> on 2023/12/06 11:40:23 UTC
[PR] [improvement](statistics)Analyze empty table. [doris]
Jibing-Li opened a new pull request, #28077:
URL: https://github.com/apache/doris/pull/28077
Analyze a table even when it's empty. The result should be like this:
```
mysql> show column stats nation;
+-------------+-------+------+----------+-----------+---------------+------+------+--------+--------------+---------+-------------+---------------------+
| column_name | count | ndv | num_null | data_size | avg_size_byte | min | max | method | type | trigger | query_times | updated_time |
+-------------+-------+------+----------+-----------+---------------+------+------+--------+--------------+---------+-------------+---------------------+
| n_comment | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | N/A | N/A | FULL | FUNDAMENTALS | MANUAL | 0 | 2023-12-06 19:22:09 |
| n_nationkey | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | N/A | N/A | FULL | FUNDAMENTALS | MANUAL | 0 | 2023-12-06 19:22:09 |
| n_regionkey | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | N/A | N/A | FULL | FUNDAMENTALS | MANUAL | 0 | 2023-12-06 19:22:09 |
| n_name | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | N/A | N/A | FULL | FUNDAMENTALS | MANUAL | 0 | 2023-12-06 19:22:09 |
+-------------+-------+------+----------+-----------+---------------+------+------+--------+--------------+---------+-------------+---------------------+
```
<!--Describe your changes.-->
## Further comments
If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [improvement](statistics)Analyze empty table. [doris]
Posted by "englefly (via GitHub)" <gi...@apache.org>.
englefly merged PR #28077:
URL: https://github.com/apache/doris/pull/28077
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [improvement](statistics)Analyze empty table. [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #28077:
URL: https://github.com/apache/doris/pull/28077#issuecomment-1842770334
(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 44.3 seconds
stream load tsv: 574 seconds loaded 74807831229 Bytes, about 124 MB/s
stream load json: 19 seconds loaded 2358488459 Bytes, about 118 MB/s
stream load orc: 66 seconds loaded 1101869774 Bytes, about 15 MB/s
stream load parquet: 33 seconds loaded 861443392 Bytes, about 24 MB/s
insert into select: 28.7 seconds inserted 10000000 Rows, about 348K ops/s
storage size: 17165450740 Bytes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [improvement](statistics)Analyze empty table. [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #28077:
URL: https://github.com/apache/doris/pull/28077#issuecomment-1842931831
<details>
<summary>TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'</summary>
```
Tpch sf100 test result on commit 85c8b5c5d83ecaace2221a99ec459306c05db113, data reload: false
run tpch-sf100 query with default conf and session variables
q1 4762 4454 4484 4454
q2 370 144 158 144
q3 1466 1249 1262 1249
q4 1126 950 923 923
q5 3170 3168 3145 3145
q6 247 128 131 128
q7 992 503 484 484
q8 2216 2217 2184 2184
q9 6676 6681 6699 6681
q10 3241 3243 3252 3243
q11 331 206 196 196
q12 355 208 213 208
q13 4573 3799 3778 3778
q14 243 210 215 210
q15 559 527 532 527
q16 444 387 389 387
q17 1012 632 545 545
q18 7541 7392 7080 7080
q19 1527 1355 1393 1355
q20 555 595 324 324
q21 3126 2701 2697 2697
q22 353 295 300 295
Total cold run time: 44885 ms
Total hot run time: 40237 ms
run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
q1 4404 4370 4404 4370
q2 272 160 168 160
q3 3546 3526 3511 3511
q4 2413 2391 2371 2371
q5 5719 5725 5724 5724
q6 241 121 121 121
q7 2414 1856 1903 1856
q8 3511 3650 3536 3536
q9 9061 9009 9026 9009
q10 3903 3985 4020 3985
q11 496 376 388 376
q12 773 601 602 601
q13 4296 3523 3538 3523
q14 289 267 264 264
q15 568 518 523 518
q16 496 453 452 452
q17 1877 1878 1848 1848
q18 8693 8385 8255 8255
q19 1712 1752 1782 1752
q20 2230 1940 1927 1927
q21 6512 6214 6160 6160
q22 510 409 433 409
Total cold run time: 63936 ms
Total hot run time: 60728 ms
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [improvement](statistics)Analyze empty table. [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #28077:
URL: https://github.com/apache/doris/pull/28077#issuecomment-1842722134
PR approved by at least one committer and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [improvement](statistics)Analyze empty table. [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #28077:
URL: https://github.com/apache/doris/pull/28077#issuecomment-1842722182
PR approved by anyone and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [improvement](statistics)Analyze empty table. [doris]
Posted by "Jibing-Li (via GitHub)" <gi...@apache.org>.
Jibing-Li commented on PR #28077:
URL: https://github.com/apache/doris/pull/28077#issuecomment-1842705148
run buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org