Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmEPf-006ls8-1L for pgsql-odbc@arkaria.postgresql.org; Mon, 18 Mar 2024 14:56:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rmEPd-002xTC-Ka for pgsql-odbc@arkaria.postgresql.org; Mon, 18 Mar 2024 14:56:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rm6JC-00G0e4-0u for pgsql-odbc@lists.postgresql.org; Mon, 18 Mar 2024 06:17:18 +0000 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rm6JA-0058FD-53 for pgsql-odbc@postgresql.org; Mon, 18 Mar 2024 06:17:17 +0000 Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-53fa455cd94so2961654a12.2 for ; Sun, 17 Mar 2024 23:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710742634; x=1711347434; darn=postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=FDy5E6WUSFUHKuIZ5G4eTJhtfnZd6LGlPWhMzodYg4U=; b=hfHOqdPoJElG5wArfWU/QW+hW+We/YOYDwsajtEqCMpEbx5Z/bJy4qL82msPGve6dX 1Ej2wJhwOaqb3qwWAOLJfG61JKj/3cqfuphdnVTpevr1ojEG+Iq4Rpwx4tvmdREXWhzb ARXR3FVn8n0n2hw2zDWmOWfx33tvolM3HPN2fseTEbn6x08b7akTqsm13N6ihh8VQYD/ EoYy4LFBENLQOsqSH5egieDO9MKb0iVYE0M/Zj70N/l5qLuxWPi0we2ABpio6WXiu8E/ 1O4jy6ZLbYxVInQA8ycf063KqslTQILPvAzDco9P1DZuhoZWvEAa1xivclRJR3lCjaS6 O4xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710742634; x=1711347434; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FDy5E6WUSFUHKuIZ5G4eTJhtfnZd6LGlPWhMzodYg4U=; b=BsbjY3AimFg47WKhrWfbi24rQPZlIgIbsik40K0qEQsdEpokGZ+i+2f1Sg6DR5nI7U ffMkvxyAeNmHRkcVRW98VgGJGo9JPmGRdhEchH9DQAIaYiq8nt2WtGM0lTp2t44QfPLT yJRK7v93ev1WTg6vUgA0pA1ASuZoQ9/SC/VuVMzb4U+qng96270Yt2CIn/7lcw8vxfTg XbshxdQyOMruEDOqhPcOifhrUDfjpy374b5oQ3SMnrIg6NonYvq9jOgjMrM+7x/lG87d 3g+hnMRELsC9I2EwbgEhYX5qqeJtrHLrv3xzPRZw8nHP0gJFIaYdc+Ac1Zhf0+RXJ6/f 0pOA== X-Gm-Message-State: AOJu0YytlfKi2QkU+KFFAAmOJXEEYZTpW+fiYqxaobsXzXuKM8dGYyaT WTeowP64ZtU5yDVfin/r6AWAj+LsPLWw/glI66NoNh0j/+OP0CWn7m/KOOubjRX3eehdsYMw5Np hGnXwHva5j6ki5/Jif8XU3FXNn/snfwQ+jJ4L4hENOuc= X-Google-Smtp-Source: AGHT+IF6EsLEPr/zO2Ju6d++axNyRB3xoPqpor7y51gKsjJzJIGHTSThIgLvTt7I8SXet5xzUkP6yQnRC0etF9OvmSE= X-Received: by 2002:a05:6a20:9188:b0:1a3:6462:798c with SMTP id v8-20020a056a20918800b001a36462798cmr1787506pzd.61.1710742634142; Sun, 17 Mar 2024 23:17:14 -0700 (PDT) MIME-Version: 1.0 From: vedant patel Date: Mon, 18 Mar 2024 11:47:03 +0530 Message-ID: Subject: PostGres ODBC too slow To: pgsql-odbc@postgresql.org Content-Type: multipart/alternative; boundary="00000000000002aa530613e94f15" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000002aa530613e94f15 Content-Type: text/plain; charset="UTF-8" Hello There, Recently, we've encountered some performance issues with the ODBC driver provided by Postgres. Upon investigation, we noticed that switching from the UNICODE to ANSI driver resulted in performance improvements for some queries, albeit at the expense of others. To delve deeper into this matter, I conducted tests using a Python script with the psycopg2 library, and the results were significantly better. However, to address this issue comprehensively, I've explored alternative ODBC drivers available in the market. While some minor improvements were observed in a few queries with a different driver, the overall performance remains a concern. Given your extensive experience in this area, I would greatly appreciate your insights and recommendations on which ODBC driver would be most suitable for our use case. Any advice or suggestions you could offer would be immensely helpful in resolving this performance issue. Let me know in case of any questions or concerns. Thanks, --00000000000002aa530613e94f15 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello=C2=A0There,

Recently, we've encountered so= me performance issues with the ODBC driver provided by Postgres. Upon inves= tigation, we noticed that switching from the UNICODE to ANSI driver resulte= d in performance improvements for some queries, albeit at the expense of ot= hers.

To delve deeper into this matter, I conducted tests using a Py= thon script with the psycopg2 library, and the results were significantly b= etter. However, to address this issue comprehensively, I've explored al= ternative ODBC drivers available in the market. While some minor improvemen= ts were observed in a few queries with a different driver, the overall perf= ormance remains a concern.

Given your extensive experience in this a= rea, I would greatly appreciate your insights and recommendations on which = ODBC driver would be most suitable for our use case. Any advice or suggesti= ons you could offer would be immensely helpful in resolving this performanc= e issue.

Let me know in case of any questions or conce= rns.=C2=A0

Thanks,
--00000000000002aa530613e94f15--