다음에서 데이터를 가져오세요 DuckDB 파일을 Excel
Excel에서 DuckDB 데이터베이스를 열고 원할 때마다 새로 고칠 수 있습니다. ODBC 드라이버도, CSV로 내보내기도, 매크로도 필요 없습니다. 처음 설정하는 데 약 10분 정도 소요되며, 무료 플랜으로 이용 가능합니다.
당신이 최종적으로 얻게 될 것
DuckDB 파일에 대한 SQL 쿼리 결과를 실시간으로 보여주는 워크시트입니다. 데이터가 변경될 때마다 최신 행을 가져오는 버튼도 있습니다. 예를 들어 다음과 같습니다.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | customer_id | 첫 번째 이름 | 성 | 국가 | 총 |
| 2 | 1042 | 마리아 | 알바레스 | 미국 | 1,284.50 |
| 3 | 1043 | 다니엘 | 오카포르 | 미국 | 612.00 |
| 4 | 1047 | 프리야 | 나이르 | 미국 | 2,090.75 |
| 5 | 1051 | 도마 | 산 | 미국 | 338.20 |
| 6 | 1056 | 루시아 | 페레이라 | 미국 | 1,455.00 |
| 7 | 1060 | 켄지 | 사토 | 미국 | 874.10 |
| 8 |
DuckDB 데이터베이스는 일반적으로 .dpm으로 끝나는 단일 파일입니다. .duckdbExcel은 이러한 파일을 자체적으로 열 수 없으며, 일반적인 해결 방법은 ODBC 드라이버를 설치하고 연결 문자열을 설정하는 것입니다. Query Streams는 이러한 과정을 생략합니다. 작은 도우미 프로그램이 파일이 있는 위치에서 파일을 읽어오고, Excel 추가 기능이 해당 파일에서 원하는 행을 요청합니다. 두 프로그램은 같은 컴퓨터에 있을 필요가 없습니다. 파일은 회사 컴퓨터에 있어도 되고, 사용자는 집의 노트북, 멀리 떨어진 동료의 컴퓨터, 또는 웹 브라우저를 통해 Excel에서 작업할 수 있습니다.
필요한 것
The Agent on a computer that can open the file
백그라운드에서 실행되는 작은 프로그램으로, Excel에서 파일을 요청할 때 파일을 읽어줍니다. 아래 2단계에서 해당 프로그램을 어디에서 구할 수 있는지 보여줍니다.
DuckDB 파일
예를 들어, 그것이 어디에 있는지 알아두세요. C:\Data\sales.duckdb 또는 \\server\share\sales.duckdb. If it lives in OneDrive, Dropbox or Google Drive, make sure it is synced to the Agent’s computer.
어떤 컴퓨터가 에이전트를 갖게 되나요? The one where the file is, or one that can open it from a network share (see Reaching a file on a network share below). That computer needs to stay on. 엑셀은 어디에든 있을 수 있습니다.집의 노트북, 멀리 떨어진 동료의 컴퓨터, 또는 웹상의 Excel 등 어떤 환경에서든 Excel이 실행될 때 다른 프로그램을 설치할 필요가 없습니다.
5단계로 연결하세요
-
계정을 만드세요
가다 my.querystreams.com 가입하세요. 선택하세요. 무료 정식 플랜입니다. 체험판이 아니라 실제 플랜이며, DuckDB 파일을 연결하고 Excel에서 쿼리를 실행하는 방법을 포함합니다.
Install the Agent on a computer that can open the file



로그인, 열기 다운로드, and install the Agent for your system on the computer where the file is, or on one that can open it from a network share. It takes a minute and starts on its own from then on.
드라이버 대신 작은 프로그램을 사용하는 이유는 무엇인가요? The Agent is one install for Windows, Mac or Linux (about 85 MB on Windows, a little over 100 MB on Mac and Linux) that runs quietly in the background. It makes one outbound, encrypted connection to Query Streams, the same way a browser does, so you open no firewall port and set up no VPN. The file stays where it is, and the rows travel to wherever you are, across the internet if need be. The only thing on your side is the add-in.
다운로드 페이지가 표시됩니다 액세스 키에이전트가 요청할 때 해당 코드를 붙여넣고 배지가 인식될 때까지 기다리세요. 쿼리 스트림에 연결됨에이전트 자체에서 할 수 있는 일은 그게 전부입니다.
-
DuckDB 파일을 가리키도록 설정하세요.
브라우저로 돌아가서 열기 데이터 에이전트 (아래에 데이터 상단 메뉴에서 담당 에이전트를 확인하세요. (상단 메뉴에 있습니다.) 커넥터 추가, 선택하다 DuckDB그리고 다음 내용을 기입하세요:
- 연결 이름
- 나중에 알아볼 수 있는 이름들입니다. 예를 들어, 판매 데이터베이스 같은 것이죠.
- 데이터베이스 파일 경로
- Where the DuckDB file (.duckdb or .db) is: a path on the Agent’s computer, or a network path, like \\server\share\folder\sales.duckdb, never a mapped drive letter such as S:. Use Browse to pick it.
클릭 테스트 연결읽을 때 연결됨클릭 저장연결은 몇 초 내에 에이전트에 도달합니다.
테스트에 실패했나요? Usually the path has a typo, or it uses a mapped drive letter such as 에스:, which the Agent cannot see. Open the folder, copy the path from the address bar, and paste it in again. For a file on another computer, see Reaching a file on a network share 아래에.
-
See your data in Query Builder 선택 과목
You can look at your DuckDB file before Excel is involved at all. Open 쿼리 빌더 in the portal and pick the connection you just made. The 스키마 tab lists your tables and columns, and clicking one puts its name in the editor, so you can write a query without remembering exact names. Click 실행 and the rows appear under 결과. Query Builder is on every plan, Free included.
On Business plans you can also ask Nova in plain English (“show me customers in the USA”) and it writes the SQL for you. When the query looks right, save it: from Personal Core up it shows in the add-in’s Saved Queries list, and on any plan you can copy the SQL into the next step.
-
Excel에 쿼리 스트림 추가
엑셀에서 다음으로 이동하세요. 삽입 → 추가 기능 가져오기검색하세요 쿼리 스트림그리고 클릭하세요 추가하다또는 바로 열어보세요. Microsoft AppSource에서 Query Streams를 검색하세요.리본 메뉴에 '스트림 쿼리' 버튼이 나타납니다. 동일한 계정으로 로그인하세요.
Windows 및 Mac용 Microsoft 365 Excel과 웹 버전 Excel에서 작동합니다.
-
첫 번째 테이블을 가져오세요
"쿼리 스트림" 버튼을 클릭하고 선택하세요. 쿼리를 스트리밍하세요그리고 방금 연결한 연결을 선택하세요.
실행하려는 쿼리를 입력하세요. 이 쿼리는 테이블에서 몇 개의 열을 가져옵니다. 주문 테이블:
예시 · SQLSELECT order_id, customer_name, order_total FROM main.orders ORDER BY order_total DESC LIMIT 100;
아래에 목적지 정보 선택하다 새 시트를 만드세요그런 다음 재생 버튼(▶ 화살표)을 누르세요. 1~2초 안에 행이 Excel에 나타납니다. 데이터가 변경될 때마다 재생 버튼을 다시 누르면 시트가 자동으로 업데이트됩니다.
SQL을 모르시나요? Build it in 쿼리 빌더 first and paste it here, or pick it from Saved Queries if you saved it.
Reaching a file on a network share
The Agent opens files as a background service, not as you, so a file on another computer needs one extra step. Which step depends on the computer the Agent runs on.
If the test cannot get to the share, look for these words in its result: unreachable means the Agent’s computer got no answer from the server. On Linux or a Mac, not mounted means the share still has to be mounted, and that message includes the exact mount command for your server.
DuckDB file on a share? DuckDB allows one writer at a time, so the Agent cannot open a file that another program has open for writing; on a \\서버\공유 path the test says it is open for writing by another program. Close it there, or point the connector at a file nobody is writing to. Every query reads the file across the network, so a large file answers more slowly than it would from a local disk.
Test failed on a share?
A Windows Agent signs in to the file server itself, so its test result can also say:
| 메시지 | 원인 | 고치다 |
|---|---|---|
| Access denied for the agent’s service account under the path, or 접근 불가 in the test result | The share lets in named people only, and the Agent’s own Windows account is not one of them. Or the login stored for that server may not read this share. | 클릭 Service identity under the path and store a login that can read the share. If one is stored already, ask whoever runs the server to give that account read access. |
| the credentials were refused | The server turned the stored login down: a typo, the wrong domain, or a password changed since it was saved. | Click the account name under the path and type the login again; for an account made on the server itself, leave Domain blank. were refused moments ago means the Agent waits a minute before it tries that same login again, so the account is not locked out; saving a corrected password tries again straight away. |
| Another connector on this agent already signs in to, 또는 Windows already holds a sign-in to | This Windows computer already signs in to that server as a different account, through another connector or another program. Windows allows one account per server. | Store the login the other connector uses, or change it on every connector that reads that server. After Windows already holds a sign-in, the rest of the message says which account it is and what to do. |
| This agent build cannot sign in to | The Agent is an older version that cannot use stored share logins. | Update the Agent, then test again. |
그게 다예요. 데이터는 스프레드시트에 저장되어 있으며 한 번의 클릭으로 최신 상태를 유지할 수 있습니다. 요청하신 행 외에는 네트워크를 통해 전송된 데이터가 없습니다.
좋은 다음 행보입니다
- 쿼리를 저장하세요 포털에 저장되므로 엑셀이나 구글 시트에서 한 번의 클릭으로 다시 실행할 수 있습니다.
- 필터를 추가하세요 날짜 범위를 지정할 수 있으므로 편집 없이 동일한 쿼리로 "이번 달"이라는 답변을 얻을 수 있습니다.
- 결과를 공유하세요 동료와 함께 작업할 때, 그들은 파일이나 파일 경로가 아닌 행만 보게 됩니다.
사람들이 묻는 질문
Excel과 DuckDB 파일이 같은 컴퓨터에 있어야 하나요?
No. Only the Agent has to be able to open your DuckDB file. Excel can be on any computer with an internet connection, including Excel on the web and Excel on a Mac. Sign in to the add-in with your account and your connections are there.
내 데이터베이스 파일은 어디에 업로드되나요?
No. The Agent reads the file where it sits and sends only the rows your query asks for. The file stays where it is.
해당 파일이 OneDrive, Dropbox 또는 Google Drive에 있을 수 있나요?
예, 에이전트가 실행되는 컴퓨터와 동기화되어 에이전트가 일반 로컬 파일처럼 인식하는 한 가능합니다. 동기화된 파일을 가리키도록 연결을 설정하십시오.
무료 플랜으로 이 모든 기능을 이용할 수 있나요?
네. 무료 플랜은 만료되는 체험판이 아니라, 계속 사용하실 수 있는 플랜입니다. 자세한 내용은 해당 페이지에서 확인하세요. 가격 페이지.
맥용 엑셀과 호환되나요?
예. 맥과 윈도우용 Microsoft 365 Excel, 그리고 웹 버전 Excel 모두 가능합니다.
관련 가이드
모든 가이드 DuckDB
원하는 설정이 아닌가요?
- DuckDB 데이터베이스 파일 대신 Parquet 파일이 담긴 폴더를 가지고 계신가요? Parquet Folder는 모든 파일을 하나의 테이블로 읽어들입니다. Parquet Folder
- 엑셀 통합 문서 자체를 쿼리하고 싶으신가요? Excel Folder는 통합 문서가 담긴 폴더를 테이블로 읽어들입니다. → Excel Folder
Setup trouble?
- Agent says the file or folder does not exist, or access is denied? Mapped drives, network shares, OneDrive and Linux home folders each need one fix → Where the Agent can read files from
- Agent shows Offline, or Test connection and Browse are greyed out? Check that the Agent is online → Is the Agent online?

