You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/hyper-api/hyper_process.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,19 +15,19 @@ with HyperProcess(telemetry=Telemetry.SEND_USAGE_DATA_TO_TABLEAU) as hyper:
15
15
This starts up a local Hyper database server, and then prints the connection string (`endpoint`).
16
16
This connection string describes the used protocol (TCP, domain sockets, ...) and the corresponding information like port numbers.
17
17
The `Connection` class can then be used to connect against this endpoint.
18
-
While the `HyperProcess` is running,, you can create and connect to as many `.hyper` files as you want.
18
+
While the `HyperProcess` is running, you can create and connect to as many `.hyper` files as you want.
19
19
20
20
After you no longer need a Hyper database server, you should shutdown the `HyperProcess`.
21
21
If you call the `HyperProcess` in a `with` statement (Python), `using` statement (C#), scope (C++), or `try-with-resources` statement (Java), the `hyperd` process will safely shutdown automatically at the end of the `with` statement.
22
22
23
23
## Performance best practices {#performance}
24
24
25
25
Compared to other database systems, Hyper starts up very fast (in the order of 100 milliseconds).
26
-
Still, starting up and shutting down the server takes time
26
+
Still, starting up and shutting down the server takes time.
27
27
Hence, you should keep the process running and only close or shutdown the `HyperProcess` when your application is finished.
28
28
E.g., when updating multiple tables inside a `.hyper` file, do not restart the `HyperProcess` for every table, but instead use the same process for updating all of your tables.
29
29
30
-
Futhermore, you should only have one instance of Hyper running at any given time.
30
+
Furthermore, you should only have one instance of Hyper running at any given time.
31
31
Hyper internally monitors its memory assumption, and makes sure that it only uses up to 80% of your system's RAM memory, such that your overall system stays responsive.
32
32
If multiple Hyper processes are running at the same time, they might overload the system, and Hyper's internal resource management mechanisms will not be able to counteract this.
33
33
@@ -39,7 +39,7 @@ To opt out, set `telemetry` to `Telemetry.DO_NOT_SEND_USAGE_DATA_TO_TABLEAU`.
39
39
40
40
To help us improve Hyper and justify further investments into Hyper API, you can share usage data with us.
41
41
Tableau collects data that helps us learn how our products are being used so we can improve existing features and develop new ones.
42
-
All usage data is collected and handled according to the [Tableau Privacy Policy](https://tableau.com/privacy)
42
+
All usage data is collected and handled according to the [Tableau Privacy Policy](https://tableau.com/privacy).
0 commit comments