Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect postgreSQL use python client very slow #239

Open
2 tasks done
wangduanduan opened this issue Jul 3, 2024 · 0 comments
Open
2 tasks done

connect postgreSQL use python client very slow #239

wangduanduan opened this issue Jul 3, 2024 · 0 comments

Comments

@wangduanduan
Copy link

What happens?

connect db or run sql in vscode jupyter notebook is very slow

pip show duckdb
Name: duckdb
Version: 1.0.0
Summary: DuckDB in-process database
Home-page: https://www.duckdb.org

image

To Reproduce

import duckdb

con = duckdb.connect()
con.install_extension("postgres")
con.load_extension("postgres")

con.sql(
    f"ATTACH 'host={db_host} port={db_port} user={db_user} dbname={db_name} password={db_password}' AS db (TYPE postgres);"
)
con.sql("USE db;")

OS:

x86

DuckDB Version:

1.0.0

DuckDB Client:

python

Full Name:

eddie wang

Affiliation:

my

What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.

I have not tested with any build

Did you include all relevant data sets for reproducing the issue?

Yes

Did you include all code required to reproduce the issue?

  • Yes, I have

Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?

  • Yes, I have
@Mytherin Mytherin transferred this issue from duckdb/duckdb Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant