Postgres ODBC 驱动程序在 Alteryx 中使用时使用不同端口生成 +100 次连接尝试。为什么?

问题描述 投票:0回答:1

我正在使用 psqlodbc_15_00_0000 和 Alteryx 23.1。使用 ODBC 驱动程序时,不会根据标准创建任何日志。在 Alteryx 中使用时,虽然在 ODBC 设置屏幕中配置了端口 **54338 **,日志将显示使用多个端口的 +100 次连接尝试。这种情况发生在多台机器上。

Setup screen ODBC

日志样本:

2024-01-17 14:31:05.378 CET [1960709] : [1-1] db=[unknown],user=[unknown],app=[unknown],client= LOG:  connection received: host= port=57126
2024-01-17 14:31:05.398 CET [1960709] : [2-1] db=,user=,app=[unknown],client= LOG:  connection authenticated: identity="CN=,OU=,DC=,DC=,DC=fr" method=ldap (9)
2024-01-17 14:31:05.398 CET [1960709] : [3-1] db=,user=,app=[unknown],client= LOG:  connection authorized: user= database=29rp1rrb
2024-01-17 14:31:05.422 CET [1960709] : [4-1] db=,user=,app=[unknown],client= LOG:  disconnection: session time: 0:00:00.044 user=_ database= host= port=57126
2024-01-17 14:31:14.944 CET [1960797] : [1-1] db=[unknown],user=[unknown],app=[unknown],client= LOG:  connection received: host= port=**57198**
2024-01-17 14:31:14.958 CET [1960797] : [2-1] db=,user=,app=[unknown],client= LOG:  connection authenticated: identity="CN=,OU=,DC=,DC=,DC=fr" method=ldap (9)
2024-01-17 14:31:14.958 CET [1960797] : [3-1] db=,user=,app=[unknown],client= LOG:  connection authorized: user= database=2
2024-01-17 14:31:14.980 CET [1960797] : [4-1] db=,user=,app=[unknown],client= LOG:  disconnection: session time: 0:00:00.036 user=_ database= host= port=57198

日志还显示多个错误:

2024-01-17 14:06:49.598 CET [1950358] : [4-1] db=29rp1rrb,user=zsiq_alteryx,app=PostgreSQL ODBC Driver 1.5.2.1002,client=10.208.11.222 ERROR:  syntax error at or near "
(" at character 12
2024-01-17 14:06:49.598 CET [1950358] : [5-1] db=29rp1rrb,user=zsiq_alteryx,app=PostgreSQL ODBC Driver 1.5.2.1002,client=10.208.11.222 STATEMENT:  select USER(), APPLIC
ATION_ID() from system.iota
2024-01-17 14:06:49.599 CET [1950358] : [6-1] db=29rp1rrb,user=zsiq_alteryx,app=PostgreSQL ODBC Driver 1.5.2.1002,client=10.208.11.222 ERROR:  syntax error at or near "
(" at character 12
2024-01-17 14:06:49.599 CET [1950358] : [7-1] db=29rp1rrb,user=zsiq_alteryx,app=PostgreSQL ODBC Driver 1.5.2.1002,client=10.208.11.222 STATEMENT:  select USER(), APPLIC
ATION_ID() from system.iota
2024-01-17 14:06:49.605 CET [1950358] : [8-1] db=29rp1rrb,user=zsiq_alteryx,app=PostgreSQL ODBC Driver 1.5.2.1002,client=10.208.11.222 ERROR:  relation "sysibm.sysdummy
1" does not exist at character 31
2024-01-17 14:06:49.605 CET [1950358] : [9-1] db=29rp1rrb,user=zsiq_alteryx,app=PostgreSQL ODBC Driver 1.5.2.1002,client=10.208.11.222 STATEMENT:  select USER as USER_N
AME from SYSIBM.SYSDUMMY1
2024-01-17 14:06:49.605 CET [1950358] : [10-1] db=29rp1rrb,user=zsiq_alteryx,app=PostgreSQL ODBC Driver 1.5.2.1002,client=10.208.11.222 ERROR:  relation "sysibm.sysdumm
y1" does not exist at character 31
2024-01-17 14:06:49.605 CET [1950358] : [11-1] db=29rp1rrb,user=zsiq_alteryx,app=PostgreSQL ODBC Driver 1.5.2.1002,client=10.208.11.222 STATEMENT:  select USER as USER_
NAME from SYSIBM.SYSDUMMY1
2024-01-17 14:06:49.611 CET [1950358] : [12-1] db=29rp1rrb,user=zsiq_alteryx,app=PostgreSQL ODBC Driver 1.5.2.1002,client=10.208.11.222 ERROR:  relation "rdb$relations"
 does not exist at character 15
2024-01-17 14:06:49.611 CET [1950358] : [13-1] db=29rp1rrb,user=zsiq_alteryx,app=PostgreSQL ODBC Driver 1.5.2.1002,client=10.208.11.222 STATEMENT:  select * from rdb$re
lations

关于如何解决这个问题有什么想法吗?

我尝试在 Excel 上使用相同的 ODBC 驱动程序,没有任何问题。我们尝试使用不同的驱动程序而不进行任何更改(Alteryx 帮助中提供的 Simba 驱动程序)。

postgresql odbc alteryx
1个回答
0
投票
您在日志中看到的端口是(临时)

客户端端口。看起来您的客户端软件正在打开多个数据库连接,可能是为了连接池,这是一件好事。

© www.soinside.com 2019 - 2024. All rights reserved.