You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "suxiaogang223 (via GitHub)" <gi...@apache.org> on 2026/05/28 07:27:24 UTC

[PR] [improvement](fe) Improve external catalog meta cache observability [doris]

suxiaogang223 opened a new pull request, #63809:
URL: https://github.com/apache/doris/pull/63809

   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #xxx
   
   Problem Summary:
   
   External catalog meta cache statistics exposed cumulative eviction count, but did not provide a direct replacement frequency metric for judging whether cache capacity is too small. This PR adds `EVICTION_RATE` to `information_schema.catalog_meta_cache_statistics`, calculated as `eviction_count / request_count` and returned as `0` when there are no requests.
   
   Hive partition metadata cache defaults were also too small for common external catalog workloads, causing frequent evictions without explicit tuning. This PR increases the default Hive single-partition cache capacity from 10,000 to 100,000 and the Hive partitioned-table values cache capacity from 1,000 to 10,000. While checking similar cache entries, MaxCompute `partition_values` was found to cache table-level partition value structures but use the Hive single-partition capacity; it now follows the table-level partition values capacity.
   
   ### Release note
   
   Add `EVICTION_RATE` to `information_schema.catalog_meta_cache_statistics`, increase default Hive partition meta cache capacities, and make MaxCompute `partition_values` use the table-level partition values capacity.
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [x] Unit Test
           - `./run-fe-ut.sh --run org.apache.doris.datasource.metacache.MetaCacheEntryTest`
           - `./run-fe-ut.sh --run org.apache.doris.datasource.hive.HiveMetaStoreCacheTest,org.apache.doris.datasource.maxcompute.MaxComputeExternalMetaCacheTest`
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [x] Yes. `catalog_meta_cache_statistics` includes `EVICTION_RATE`; default Hive partition meta cache capacities are larger; MaxCompute `partition_values` uses the table-level partition values capacity.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
   


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4592616720

   # BE Regression && UT Coverage Report
   Increment line coverage `100% (0/0)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63809_e6a12dc1f298fcdf17d2ba69adf29adddb80c586_merge/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63809_e6a12dc1f298fcdf17d2ba69adf29adddb80c586_merge/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 63.76% (24303/38114) |
   | Line Coverage     | 47.46% (251071/529057) |
   | Region Coverage   | 44.50% (207219/465681) |
   | Branch Coverage   | 45.63% (89304/195715) |


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4592639564

   # FE Regression Coverage Report
   Increment line coverage `  1.80% (3/167)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63809_e6a12dc1f298fcdf17d2ba69adf29adddb80c586_merge_fe/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63809_e6a12dc1f298fcdf17d2ba69adf29adddb80c586_merge_fe/report/index.html)
   


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4562210648

   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](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4562213555

   # FE UT Coverage Report
   Increment line coverage `  57.14% (4/7)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63809_ff4fea880a326c846de12a5d6fe56a5b439d23b6/fe_increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63809_ff4fea880a326c846de12a5d6fe56a5b439d23b6/fe_report/index.html)
   


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on code in PR #63809:
URL: https://github.com/apache/doris/pull/63809#discussion_r3333036116


##########
fe/fe-core/src/main/java/org/apache/doris/tablefunction/MetadataGenerator.java:
##########
@@ -1828,6 +1828,7 @@ private static TFetchSchemaTableDataResult metaCacheStatsMetadataResult(TSchemaT
                     trow.addToColumnValue(new TCell().setDoubleVal(
                             entryStats.getAverageLoadPenaltyNanos() / TimeUnit.MILLISECONDS.toNanos(1)));
                     trow.addToColumnValue(new TCell().setLongVal(entryStats.getEvictionCount())); // EVICTION_COUNT
+                    trow.addToColumnValue(new TCell().setDoubleVal(entryStats.getEvictionRate())); // EVICTION_RATE

Review Comment:
   Adding this value unconditionally makes `CATALOG_META_CACHE_STATISTICS` fail across mixed FE/BE versions. The BE scanner sends its `_s_tbls_columns` in `columns_name` and then rejects any FE response whose `TRow.column_value.size()` differs from its local column count. During rolling upgrade, an old BE querying a new FE will expect the old column count but receive this extra cell; a new BE querying an old FE will expect this cell but receive one fewer. Please make this schema-table path honor the requested column list (or otherwise tolerate missing/extra columns) before adding the new column, and cover the old/new count mismatch with a test.



-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "suxiaogang223 (via GitHub)" <gi...@apache.org>.
suxiaogang223 commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4591187827

   /review


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4563087427

   # FE Regression Coverage Report
   Increment line coverage `  4.35% (1/23)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63809_ff4fea880a326c846de12a5d6fe56a5b439d23b6_merge_fe/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63809_ff4fea880a326c846de12a5d6fe56a5b439d23b6_merge_fe/report/index.html)
   


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4562095179

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 172185 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit ff4fea880a326c846de12a5d6fe56a5b439d23b6, data reload: false
   
   query5	4323	679	519	519
   query6	366	231	214	214
   query7	4230	589	322	322
   query8	340	241	235	235
   query9	8815	4089	4032	4032
   query10	468	350	312	312
   query11	5814	2539	2254	2254
   query12	211	134	127	127
   query13	1283	615	449	449
   query14	6150	5533	5198	5198
   query14_1	4564	4514	4483	4483
   query15	224	211	183	183
   query16	1036	484	462	462
   query17	1182	774	623	623
   query18	2573	513	376	376
   query19	223	208	175	175
   query20	140	137	133	133
   query21	222	147	121	121
   query22	13887	13675	13353	13353
   query23	17510	16585	16142	16142
   query23_1	16371	16451	16316	16316
   query24	7476	1814	1358	1358
   query24_1	1346	1348	1311	1311
   query25	576	504	444	444
   query26	1294	326	184	184
   query27	2684	584	356	356
   query28	4473	2038	2054	2038
   query29	1014	677	529	529
   query30	303	245	205	205
   query31	1143	1123	953	953
   query32	96	74	76	74
   query33	543	349	300	300
   query34	1180	1162	660	660
   query35	786	790	714	714
   query36	1381	1418	1226	1226
   query37	155	114	96	96
   query38	3219	3192	3065	3065
   query39	937	917	926	917
   query39_1	889	871	878	871
   query40	242	152	125	125
   query41	64	63	62	62
   query42	113	110	115	110
   query43	332	340	294	294
   query44	
   query45	217	205	207	205
   query46	1118	1275	781	781
   query47	2347	2381	2219	2219
   query48	403	437	298	298
   query49	649	521	389	389
   query50	1006	347	257	257
   query51	4307	4292	4350	4292
   query52	107	107	95	95
   query53	251	287	210	210
   query54	313	263	251	251
   query55	95	93	90	90
   query56	296	316	297	297
   query57	1437	1411	1332	1332
   query58	303	280	268	268
   query59	1634	1745	1454	1454
   query60	325	332	319	319
   query61	157	161	158	158
   query62	708	655	588	588
   query63	248	204	202	202
   query64	2430	806	655	655
   query65	
   query66	1699	485	357	357
   query67	29793	29978	29645	29645
   query68	
   query69	477	364	312	312
   query70	1077	1031	991	991
   query71	322	275	272	272
   query72	2991	2813	2428	2428
   query73	836	828	414	414
   query74	5117	4961	4800	4800
   query75	2700	2619	2286	2286
   query76	2292	1187	779	779
   query77	417	419	346	346
   query78	12524	12506	11903	11903
   query79	1501	1109	752	752
   query80	924	545	452	452
   query81	493	282	248	248
   query82	1380	164	121	121
   query83	356	288	253	253
   query84	264	141	112	112
   query85	930	567	508	508
   query86	456	359	334	334
   query87	3467	3407	3252	3252
   query88	3682	2722	2748	2722
   query89	452	397	339	339
   query90	1801	192	194	192
   query91	186	174	150	150
   query92	81	79	73	73
   query93	1474	1495	906	906
   query94	635	362	299	299
   query95	670	388	456	388
   query96	1115	798	345	345
   query97	2732	2769	2594	2594
   query98	247	227	237	227
   query99	1189	1145	1053	1053
   Total cold run time: 255807 ms
   Total hot run time: 172185 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](fe) Improve external catalog meta cache observability [doris]

Posted by "suxiaogang223 (via GitHub)" <gi...@apache.org>.
suxiaogang223 commented on code in PR #63809:
URL: https://github.com/apache/doris/pull/63809#discussion_r3345575541


##########
fe/fe-core/src/main/java/org/apache/doris/tablefunction/MetadataGenerator.java:
##########
@@ -1828,6 +1828,7 @@ private static TFetchSchemaTableDataResult metaCacheStatsMetadataResult(TSchemaT
                     trow.addToColumnValue(new TCell().setDoubleVal(
                             entryStats.getAverageLoadPenaltyNanos() / TimeUnit.MILLISECONDS.toNanos(1)));
                     trow.addToColumnValue(new TCell().setLongVal(entryStats.getEvictionCount())); // EVICTION_COUNT
+                    trow.addToColumnValue(new TCell().setDoubleVal(entryStats.getEvictionRate())); // EVICTION_RATE

Review Comment:
   Thanks for the review. For this information_schema system table, we do not require FE/BE mixed-version schema compatibility. A version mismatch on this path will not cause a coredump: the BE scanner returns an InternalError when the returned column count does not match, and FE-side fetchSchemaTableData catches exceptions and returns an error result. The actual new-FE/new-BE failure was fixed by syncing the BE scanner column descriptor with the new EVICTION_RATE column.



-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "suxiaogang223 (via GitHub)" <gi...@apache.org>.
suxiaogang223 merged PR #63809:
URL: https://github.com/apache/doris/pull/63809


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "suxiaogang223 (via GitHub)" <gi...@apache.org>.
suxiaogang223 commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4591184885

   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


Re: [PR] [improvement](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4561703537

   
   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
   
   Please clearly describe your PR:
   1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
   2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
   3. What features were added. Why was this function added?
   4. Which code was refactored and why was this part of the code refactored?
   5. Which functions were optimized and what is the difference before and after the optimization?
       


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "suxiaogang223 (via GitHub)" <gi...@apache.org>.
suxiaogang223 commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4561708580

   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


Re: [PR] [improvement](fe) Improve external catalog meta cache observability [doris]

Posted by "Gabriel39 (via GitHub)" <gi...@apache.org>.
Gabriel39 commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4562222997

   /review


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4592579202

   # BE UT Coverage Report
   Increment line coverage ` ` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/e6a12dc1f298fcdf17d2ba69adf29adddb80c586_e6a12dc1f298fcdf17d2ba69adf29adddb80c586/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/e6a12dc1f298fcdf17d2ba69adf29adddb80c586_e6a12dc1f298fcdf17d2ba69adf29adddb80c586/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 54.09% (21055/38925) |
   | Line Coverage     | 37.61% (199508/530434) |
   | Region Coverage   | 33.87% (156214/461254) |
   | Branch Coverage   | 34.85% (67937/194965) |


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4591802231

   # FE UT Coverage Report
   Increment line coverage `  57.14% (4/7)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/63809_e6a12dc1f298fcdf17d2ba69adf29adddb80c586/fe_increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/63809_e6a12dc1f298fcdf17d2ba69adf29adddb80c586/fe_report/index.html)
   


-- 
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](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4593024450

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 170347 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit e6a12dc1f298fcdf17d2ba69adf29adddb80c586, data reload: false
   
   query5	4334	649	522	522
   query6	331	221	194	194
   query7	4366	585	305	305
   query8	322	230	212	212
   query9	8778	4017	4005	4005
   query10	447	328	296	296
   query11	5763	2331	2167	2167
   query12	187	132	128	128
   query13	1294	595	435	435
   query14	6108	5504	5126	5126
   query14_1	4448	4437	4457	4437
   query15	217	206	183	183
   query16	1021	485	445	445
   query17	1167	748	618	618
   query18	2619	512	363	363
   query19	233	215	177	177
   query20	147	138	135	135
   query21	221	142	122	122
   query22	13552	13517	13451	13451
   query23	17350	16547	16229	16229
   query23_1	16412	16330	16329	16329
   query24	7520	1768	1359	1359
   query24_1	1277	1273	1322	1273
   query25	532	496	414	414
   query26	1325	322	167	167
   query27	2675	533	345	345
   query28	4432	2055	2020	2020
   query29	994	615	502	502
   query30	316	234	198	198
   query31	1139	1066	945	945
   query32	88	77	77	77
   query33	543	354	284	284
   query34	1169	1151	649	649
   query35	789	801	710	710
   query36	1423	1433	1280	1280
   query37	144	101	89	89
   query38	3190	3246	3059	3059
   query39	926	930	913	913
   query39_1	946	928	929	928
   query40	233	153	135	135
   query41	66	65	62	62
   query42	115	112	113	112
   query43	336	338	297	297
   query44	
   query45	219	209	211	209
   query46	1116	1220	770	770
   query47	2450	2235	2278	2235
   query48	399	429	290	290
   query49	640	498	399	399
   query50	1009	362	259	259
   query51	4340	4255	4269	4255
   query52	110	108	100	100
   query53	259	277	203	203
   query54	323	281	253	253
   query55	93	90	86	86
   query56	302	305	310	305
   query57	1437	1415	1317	1317
   query58	318	277	277	277
   query59	1605	1650	1403	1403
   query60	320	323	307	307
   query61	167	158	165	158
   query62	708	660	592	592
   query63	254	209	206	206
   query64	2391	811	656	656
   query65	
   query66	1702	467	362	362
   query67	29582	29732	29458	29458
   query68	
   query69	449	352	301	301
   query70	1008	984	1016	984
   query71	302	286	273	273
   query72	3069	2650	2446	2446
   query73	871	802	438	438
   query74	5142	4962	4747	4747
   query75	2688	2589	2258	2258
   query76	2290	1149	801	801
   query77	395	421	345	345
   query78	12437	12381	11881	11881
   query79	1462	1078	760	760
   query80	681	544	463	463
   query81	448	283	244	244
   query82	1370	159	120	120
   query83	378	273	245	245
   query84	270	156	110	110
   query85	882	527	469	469
   query86	591	336	307	307
   query87	3479	3379	3226	3226
   query88	3643	2740	2748	2740
   query89	443	393	341	341
   query90	1886	181	187	181
   query91	177	176	144	144
   query92	78	84	73	73
   query93	1475	1391	857	857
   query94	550	341	320	320
   query95	677	464	341	341
   query96	1023	784	371	371
   query97	2724	2722	2587	2587
   query98	235	226	223	223
   query99	1171	1208	1046	1046
   Total cold run time: 254407 ms
   Total hot run time: 170347 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](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4592938515

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 29000 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit e6a12dc1f298fcdf17d2ba69adf29adddb80c586, data reload: false
   
   ------ Round 1 ----------------------------------
   orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	17974	4078	3979	3979
   q2	q3	10762	1347	806	806
   q4	4685	470	340	340
   q5	7582	869	583	583
   q6	187	174	133	133
   q7	764	818	657	657
   q8	9738	1659	1531	1531
   q9	7357	4492	4520	4492
   q10	6776	1807	1513	1513
   q11	433	272	245	245
   q12	630	439	297	297
   q13	18124	3419	2713	2713
   q14	262	260	234	234
   q15	q16	821	769	705	705
   q17	1045	922	1000	922
   q18	6740	5634	5573	5573
   q19	1408	1249	1102	1102
   q20	493	404	260	260
   q21	6193	2736	2589	2589
   q22	454	372	326	326
   Total cold run time: 102428 ms
   Total hot run time: 29000 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	4876	4761	4744	4744
   q2	q3	5081	5229	4609	4609
   q4	2137	2204	1384	1384
   q5	4831	4728	4779	4728
   q6	236	184	136	136
   q7	1903	1742	1562	1562
   q8	2404	2138	2048	2048
   q9	7363	7361	7314	7314
   q10	4743	4696	4210	4210
   q11	536	385	355	355
   q12	735	740	527	527
   q13	3031	3364	2836	2836
   q14	280	274	257	257
   q15	q16	680	691	603	603
   q17	1274	1248	1237	1237
   q18	7241	6917	6835	6835
   q19	1108	1066	1069	1066
   q20	2216	2212	1946	1946
   q21	5235	4552	4433	4433
   q22	531	458	403	403
   Total cold run time: 56441 ms
   Total hot run time: 51233 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](fe) Improve external catalog meta cache observability [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4608609960

   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](fe) Improve external catalog meta cache observability [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4562018205

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 31577 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit ff4fea880a326c846de12a5d6fe56a5b439d23b6, data reload: false
   
   ------ Round 1 ----------------------------------
   orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	17695	4184	4268	4184
   q2	q3	10769	1425	839	839
   q4	4681	472	350	350
   q5	7550	2248	2107	2107
   q6	257	179	143	143
   q7	982	795	640	640
   q8	9418	1781	1539	1539
   q9	5131	4986	4961	4961
   q10	6386	2242	1872	1872
   q11	434	269	246	246
   q12	633	432	298	298
   q13	18164	3388	2751	2751
   q14	274	257	243	243
   q15	q16	826	780	711	711
   q17	986	984	911	911
   q18	7111	5902	5731	5731
   q19	1335	1257	1068	1068
   q20	532	408	257	257
   q21	5862	2629	2430	2430
   q22	459	358	296	296
   Total cold run time: 99485 ms
   Total hot run time: 31577 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	4469	4487	4417	4417
   q2	q3	4499	4987	4339	4339
   q4	2110	2246	1399	1399
   q5	4443	4328	4766	4328
   q6	285	238	159	159
   q7	2166	1877	1663	1663
   q8	2623	2275	2246	2246
   q9	8373	8021	8022	8021
   q10	4891	4790	4333	4333
   q11	574	442	431	431
   q12	761	780	544	544
   q13	3337	3701	3010	3010
   q14	295	300	268	268
   q15	q16	721	740	663	663
   q17	1460	1435	1347	1347
   q18	7934	7344	7410	7344
   q19	1173	1170	1113	1113
   q20	2229	2238	1961	1961
   q21	5300	4598	4452	4452
   q22	517	474	404	404
   Total cold run time: 58160 ms
   Total hot run time: 52442 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](fe) Improve external catalog meta cache observability [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #63809:
URL: https://github.com/apache/doris/pull/63809#issuecomment-4562211019

   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