16601746291 commented on issue #20110:
URL: https://github.com/apache/doris/issues/20110#issuecomment-1564451249
> Could you please provide explain and profile?
Query:
Summary:
- Start Time: 2023-05-26 22:04:14
- End Time: 2023-05-26 22:05:30
- Total: 1m16s
- Query State: EOF
- Job ID: N/A
- Query ID: eb43ef8fd59d4dd5-a8684eee69a12bb2
- Query Type: Query
- Doris Version: doris-1.2.4-1
- User: root
- Default Db: default_cluster:test
- Sql Statement: select count(1) from
jdbc_pg_yayadb.public.load_bus_resv_daily
- Is Cached: No
- Total Instances Num: 1
- Instances Num Per BE: {127.0.0.1:8060=1}
- Trace ID:
Execution Summary:
- Analysis Time: 333.782us
- Plan Time: 375.567us
- Schedule Time: 1.917ms
- Fetch Result Time: 1m16s
- Write Result Time: 31.350us
- Wait and Fetch Result Time: 1m16s
Execution Profile eb43ef8fd59d4dd5-a8684eee69a12bb2:(Active: 1m16s,
% non-child: 100.00%)
Fragment 0:
Instance eb43ef8fd59d4dd5-a8684eee69a12bb3
(host=TNetworkAddress(hostname:127.0.0.1, port:9060)):(Active: 1m16s, %
non-child: 0.00%)
- DoriBeVersion: Unknown
- FragmentCpuTime: 2.462ms
- RowsProduced: 1
BlockMgr:
- BlockWritesOutstanding: 0
- BlocksCreated: 0
- BlocksRecycled: 0
- BufferedPins: 0
- BytesWritten: 0.00
- MaxBlockSize: 8.00 MB
- TotalBufferWaitTime: 0ns
- TotalEncryptionTime: 0ns
- TotalIntegrityCheckTime: 0ns
- TotalReadBlockTime: 0ns
VDataBufferSender
(dst_fragment_instance_id=-14bc10702a62b22b--5797b111965ed44d):
- AppendBatchTime: 115.287us
- ResultRendTime: 109.320us
- TupleConvertTime: 748ns
- NumSentRows: 1
VAGGREGATION_NODE (id=1):(Active: 1m16s, % non-child:
0.01%)
- BuildTime: 664.148us
- DeserializeDataTime: 0ns
- ExecTime: 17.741us
- ExprTime: 616.75us
- GetResultsTime: 0ns
- HashTableComputeTime: 0ns
- HashTableInputCount: 0
- HashTableIterateTime: 0ns
- HashTableSize: 0
- InsertKeysToColumnTime: 0ns
- MaxRowSizeInBytes: 0
- MergeTime: 0ns
- PeakMemoryUsage: 0.00
- ProjectionTime: 0ns
- RowsReturned: 1
- RowsReturnedRate: 0
- SerializeDataTime: 0ns
- SerializeKeyTime: 0ns
- SerializeResultTime: 0ns
- StreamingAggTime: 0ns
VNewJdbcScanNode("public"."load_bus_resv_daily")
(id=0):(Active: 1m16s, % non-child: 99.99%)
- AcuireRuntimeFilterTime: 443ns
- GetNextTime: 1m16s
- MaxScannerThreadNum: 1
- NewlyCreateFreeBlocksNum: 12
- NumScanners: 1
- PeakMemoryUsage: 0.00
- PreAllocFreeBlocksNum: 5
- ProjectionTime: 0ns
- RowsRead: 592.606K (592606)
- RowsReturned: 592.606K (592606)
- RowsReturnedRate: 7.772K /sec
- ScannerBatchWaitTime: 1m16s
- ScannerCtxSchedCount: 23
- ScannerSchedCount: 13
- ScannerWorkerWaitTime: 509.89us
- TotalReadThroughput: 0
VScanner:
- JdbcDriverClass: org.postgresql.Driver
- JdbcDriverUrl: postgresql-42.6.0.jar
- JdbcUrl:
jdbc:postgresql://8.131.80.19:5432/test_yaya_db?useCursorFetch=true
- QuerySql: SELECT "resv_id" FROM
"public"."load_bus_resv_daily"
- CheckTypeTime: 30.61us
- ConnectorCloseTime: 0ns
- ExecteReadTime: 61.852ms
- GetDataTime: 1m16s
- InitConnectorTime: 6.408ms
- LoadJarTime: 5.299us
- ScannerConvertBlockTime: 0ns
- ScannerCpuTime: 255.981ms
- ScannerFilterTime: 48.190us
- ScannerGetBlockTime: 1m16s
- ScannerPrefilterTime: 0ns
mysql> explain select count(1) from
jdbc_pg_yayadb.public.load_bus_resv_daily;
+------------------------------------------------------------------+
| Explain String |
+------------------------------------------------------------------+
| PLAN FRAGMENT 0 |
| OUTPUT EXPRS: |
| <slot 0> count(1) |
| PARTITION: UNPARTITIONED |
| |
| VRESULT SINK |
| |
| 1:VAGGREGATE (update finalize) |
| | output: count(1) |
| | group by: |
| | cardinality=1 |
| | |
| 0:VJdbcScanNode |
| TABLE: "public"."load_bus_resv_daily" |
| QUERY: SELECT "resv_id" FROM "public"."load_bus_resv_daily" |
+------------------------------------------------------------------+
15 rows in set (0.00 sec)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]