Results of 1 - 10 of about 13 for browser (0.001 sec.)
- Instantiate 14058
- Overview DuckDB-Wasm can be instantiated in several ways, depending on how your application bundles and serves its assets. Each approach resolves the mainModule (the WebAssembly file) and the mainWorker (the worker script) for the browser's
...sed to import data and run queries . Bundle Selection DuckDB-Wasm ships several WebAssembly modules compiled for different browser feature sets, because post-MVP WebAssembly features reach browsers at different speeds and each one can bring a flat perfo...rmance improvement. The selectBundle function runs dynamic browser checks and picks the fastest bundle the current browser supports: mvp — the WebAssembly 1.0 (MVP) baseline, supported ever...e cross-origin isolated and must be opted into explicitly (see Threading ) The examples below all call selectBundle so the browser receives the fastest bundle it can run. You can also inspect the selected bundle and feature set from the web shell with t... - https://man.mtool.work/duckdb/2.0/clients/wasm/instantiation.html
- LibreDB Studio SQL Editor 9976
- LibreDB Studio is an open-source, self-hosted, browser-based SQL editor. It runs as a single server, either via npx , Docker, or a native package, and is reached through the browser rather than installed as a desktop application. LibreDB St
...db/studio Docker, Homebrew, and other install options are listed in the project's README . Open http://localhost:3000 in a browser. On first run, the admin password is printed to the console. Connecting to a DuckDB Database Click the + button next to th...ce LibreDB Studio runs as a server, the path is resolved on the machine running the server, not on the machine running the browser. Click Test Connection to confirm the file can be opened, then click Establish Connection to save it. The connection appea... - https://man.mtool.work/duckdb/2.0/guides/sql_editors/libredb_studio.html
- Deploy 9484
- Overview Deploying DuckDB-Wasm means serving its components so that the browser can fetch and instantiate them. This page describes each component a deployment needs to serve, how the worker and WebAssembly variants relate, how extensions a
...nvironments. For further details, see below. Wasm Worker Component. Compiled as a WebAssembly file and instantiated by the browser. For further details, see below. DuckDB Extensions. Any relevant extensions the deployment loads. For further details, see....duckdb.org deployment transpiles the main library together with the shell code (the first approach above), while the bare-browser example shows a minimal setup. JS Worker Component This is distributed as a JavaScript file in three different flavors, mv...instruct the DuckDB-Wasm library on which one to use. The served artifacts are named after the flavor, for example duckdb-browser-coi.worker.js . The coi flavor corresponds to the wasm_threads extension platform. Wasm Worker Component This is the DuckD... - https://man.mtool.work/duckdb/2.0/clients/wasm/deploying_duckdb_wasm.html
- Load Extensions 9008
- Overview DuckDB-Wasm's (dynamic) extension loading is modeled after regular DuckDB's extension loading, with a few relevant differences due to the difference in platform. A growing subset of core, community, and external extensions is suppo
...HTTPFS extension is not compiled into DuckDB-Wasm, because HTTPS capabilities have to go through an additional layer, the browser, which adds both differences and some restrictions relative to native. Instead, DuckDB-Wasm ships a separate JavaScript im...native extension for most purposes but does not support all use cases, as it must follow the security rules imposed by the browser. In particular: Requests are always upgraded to HTTPS. Because of the browser's CORS policy, any request for data must tar...is served as a .wasm file. DuckDB-Wasm extensions are served pre-compressed using Brotli compression. While fetched from a browser, extensions will be transparently uncompressed. If you want to fetch the duckdb-wasm extension manually, you can use curl... - https://man.mtool.work/duckdb/2.0/clients/wasm/extensions.html
- Troubleshoot 8938
- Overview This page collects common issues encountered when using DuckDB-Wasm, together with their workarounds. If you run into a problem that is not covered here, search the duckdb-wasm issue tracker on GitHub. Network Error When Querying R
...emote Files When DuckDB-Wasm reads a remote file — through the Wasm-flavored httpfs extension or registerFileURL — the browser issues the request, so it is subject to the browser's CORS policy and every request is upgraded to HTTPS. The server hosti...a value you pass to DuckDB-Wasm. There is no db or connection option and no DuckDBGlobalFileInfo field for it, because the browser, not DuckDB-Wasm, enforces CORS. Apply it where the data is hosted, then read the file as usual. Beyond CORS, reading remo...om_extension_repository = '⟨https://some.url.com⟩' , the GET requests for the extension files must be CORS enabled for the browser to allow the connection, exactly as for remote data files above. Extensions remain signed regardless of where they are ser... - https://man.mtool.work/duckdb/2.0/clients/wasm/troubleshoot.html
- DuckDB Wasm Client 8657
- Installation To use the DuckDB Wasm client, visit the duckdb-wasm GitHub repository . The latest stable version of the DuckDB WebAssembly client is 2.0.0. DuckDB-Wasm is a version of DuckDB that has been compiled to WebAssembly , the portab
...le binary format that browsers can run at near-native speed. This lets a full DuckDB engine run entirely inside any browser on any device, with no serve...ing queries, loading extensions, and deploying it. Try It Yourself The shell below is a full DuckDB engine running in your browser — type a SQL query and run it right here: Note The shell above is itself built with DuckDB-Wasm. It is the @duckdb/duckdb-...mport and query results. Arrow is a columnar, database-friendly format that the apache-arrow npm package implements in the browser, letting DuckDB-Wasm exchange data efficiently and interoperate with other JavaScript data tools without reimplementing SQ... - https://man.mtool.work/duckdb/2.0/clients/wasm/overview.html
- Troubleshooting of Extensions 8516
- You might be visiting this page directed via a DuckDB error message, similar to: INSTALL non_existing; HTTP Error: Failed to download extension "non_existing" at URL "http://extensions.duckdb.org/v2.0.0/osx_arm64/non_existing.duckdb_extensi
...ension exists at the endpoint but it's not reachable from your local DuckDB. Here you can try visiting the given URL via a browser directly pasting the link from the error message in the search bar. If you are on a development version of DuckDB, that is...nstall from a different extension repository , such as a self-hosted mirror. Manual Process to Download Extensions via the Browser To check if an extension is available, consider trying to download the relevant extension resource, for example via your b... - https://man.mtool.work/duckdb/2.0/extensions/troubleshooting.html
- UI Extension 8375
- The ui extension adds a user interface for your local DuckDB instance. Usage To start the UI from the command line: duckdb -ui To start the UI from SQL: CALL start_ui(); Running either of these will open the UI in your default browser. The
...he UI to stop working. The UI is served from an HTTP server embedded in DuckDB. To start this server without launching the browser, run: CALL start_ui_server(); You can then load the UI in your browser by navigating to http://localhost:4213 . To stop th... - https://man.mtool.work/duckdb/2.0/core_extensions/ui.html
- Profiling 8093
- Profiling is essential to help understand why certain queries exhibit specific performance characteristics. DuckDB contains several built-in features to enable query profiling, which this page covers. For a high-level example of using EXPLA
...ed with treeflex json – produces a JSON output mermaid – produces a Mermaid flowchart web – opens the query graph in a web browser (command line client only) To specify a format, use the FORMAT tag: EXPLAIN (FORMAT html) SELECT 42 AS x; New As of DuckDB...ormat is available in the command line client . EXPLAIN ANALYZE (FORMAT WEB) renders the query graph and opens it in a web browser, and the .web dot command does the same for the previous query. Both are disabled in safe mode . Pragmas DuckDB supports s...ry graph. The script requires the duckdb Python module to be installed. It generates an HTML file and opens it in your web browser. python -m duckdb.query_graph /path/to/file.json Notation in Query Plans In query plans, the hash join operators adhere to... - https://man.mtool.work/duckdb/2.0/dev/profiling.html
- Import Data 8041
- Overview DuckDB-Wasm has multiple ways to import data, depending on the format of the data. Importing happens in two steps. The data file is registered in a virtual file system using one of the register functions ( registerFileBuffer , regi
...er const pickedFile: File = letUserPickFile(); await db.registerFileHandle('local.parquet', pickedFile, DuckDBDataProtocol.BROWSER_FILEREADER, true); // Remote file, read lazily over HTTP await db.registerFileURL('remote.parquet', 'https://origin/remote...conn.query(` CREATE TABLE direct AS SELECT * FROM 'https://origin/remote.parquet' `); Tip Reading a remote file makes the browser issue the request, so it is subject to the browser's CORS policy. If a query over an S3 or other remote file fails with a... - https://man.mtool.work/duckdb/2.0/clients/wasm/data_ingestion.html
DuckDB 2.0 Documentation / man.mtool.work