1
0
mirror of https://github.com/timescale/timescaledb.git synced 2025-05-26 00:00:54 +08:00

92 Commits

Author SHA1 Message Date
Mats Kindahl
e5843dddd3 Link development and design documentation
The tree contains a lot of design and architecture documents, but they
are not linked together, so this commits adds a few additional README
and build a basic structure for the documentation.
2022-12-15 21:35:36 +01:00
Sven Klemm
1f6d69720d Add link to forum to README
This also replaces appveyor badge with link to Windows GitHub actions.
2022-08-19 08:50:25 +02:00
Rajakavitha Kodhandapani
c6dc0caf1d Update README.md
fixes: https://github.com/timescale/docs/issues/1162
2022-06-08 11:53:03 +02:00
Fabrízio de Royes Mello
ce3e04a9ec Rename forgotten master branch name references 2022-03-15 15:47:02 -03:00
Fabrízio de Royes Mello
332dffeebc Rename master branch to main
Following what many communities already did we agreed in renaming the
`master` branch to `main`.

Resources:
- https://sfconservancy.org/news/2020/jun/23/gitbranchname/
- https://postgr.es/m/20200615182235.x7lch5n6kcjq4aue@alap3.anarazel.de

Closes 
2022-03-15 15:04:30 -03:00
Daniel Orf
ecac52f494 Fix a typo in README.md 2021-10-06 13:56:46 +02:00
Avthar Sewrathan
27d547853d README Update for Project Prince
Updated README for TimescaleDB GitHub page for Project Prince, with various references and links updated.
2021-10-04 19:03:35 +02:00
Ruslan Fomkin
a0034e44db Add status badge for Linux i386 build 2020-06-25 15:41:15 +02:00
Sven Klemm
a959281e48 Replace Travis badge with GitHub badge
Since most of our regression tests run on GitHub actions now this
patch replaces the build status badge from Travis with a GitHub
actions one.
2020-06-22 18:14:29 +02:00
Lacey Butler
66f47c0857 Update README with addt resources, build instructions to separate file
This commit updates the README with updated resources, including Timescale
Cloud, new support options, release notes, and others. For readability, it
also moves instructions for building from source to a separate readme file.
2020-02-18 22:27:44 -05:00
Solar Olugebefola
63d1e9f2b3 Update README links 2019-06-25 14:10:32 -04:00
Mike Freedman
ae97d8c726 Update to reflect PG11 support and version 1.3 2019-05-14 01:04:33 -04:00
Sven Klemm
ef9891b2e8 Fix a couple typos 2019-04-15 21:44:10 +02:00
Diana Hsieh
77ee72804c Update README for small typo
Small typo -> changing "build" to "built" when discussing Apache-ONLY
2019-01-18 13:12:48 -05:00
Joshua Lockerman
f75106ebc2 Point the travis build badge at "history" instead of "current"
Right now, clicking the travis build badge directs the user to the
currently running travis job. Since this is usually a PR, and we gate PR
merges on travis anyway, it's not very useful for determining the health
of the project. This commit switches the link to point at the build
history, which shows the previously run cron jobs; the jobs that the
badge points at anyway.
2019-01-14 16:54:10 -05:00
Joshua Lockerman
4ff6ac7b91 Initial Timescale-Licensed-Module and License-Key Implementation
This commit adds support for dynamically loaded submodules to timescaledb
as well an initial license-key implementation in the tsl subdirectory.
Dynamically loaded modules allow our users to determine which licenses they
wish to use for their version of timescaledb; if they wish to only use
Apache-Licensed code, they do not load the Timescale-Licensed submodule. Calls
from the Apache-Licensed code into the Timescale-Licensed submodule are
handled via dynamicaly-set function pointers; see tsl/src/Readme.module.md for
more details.

This commit also adds code for license keys for the ApacheOnly, Community, and
Enterprise editions. The license key determines which features are enabled,
and controls loading the submodule: when a license key that requires the
sub-module is installed, the module is automatically loaded.
Currently the ApacheOnly and Community license-keys are hardcoded to be
"ApacheOnly" and "Community" respectively. The first version of the enterprise
license-key is described in tsl/src/Readme.module.md
2019-01-02 15:43:48 -05:00
Mike Freedman
53f1578dd8 Update README to clarify relationship of Apache vs. TSL code
Clarify that code isn't dual licensed, but source code is either Apache-2 or
Timescale-Licensed, and you can build an Apache-2 or Timescale-Licensed binary.

Addresses question raised in https://github.com/timescale/timescaledb/issues/922
2018-12-20 21:23:26 -05:00
Rob Kiefer
bb01a73f51 Update README with pointers to tools and fixes
The installation links were a bit out-of-date given our new page
structure. Also, our tools were not mentioned anywhere, so now the
README has pointers to them at the bottom, and in particular a
brief section to point to timescaledb-tune.
2018-12-20 13:17:59 -05:00
dianasaur323
0e1849d65b Update README with new license 2018-12-19 21:15:26 -05:00
jesperpedersen
ba88f481cf Highlight that PG_CONFIG can be used to specify the path to the PostgreSQL installation. 2018-10-12 21:43:48 -04:00
Erik Nordström
ebe0915669 Refactor telemetry and fixes
The installation metadata has been refactored:

- The installation metadata store now takes Datums of any
  type as input and output
- Move metadata functions from uuid.c -> metadata.c
- Make metadata functions return native types rather than text,
  including for tests

Telemetry tests for ssl and nossl have been combined.

Note that PG 9.6 does not have pg_backend_random() that gives us a
secure random numbers for UUIDs that we send in telemetry. Therefore,
we fall back to the generating the UUID from the timestamp if we are
on PG 9.6.

This change also fixes a number of test issues. For instance, in the
telemetry test the escape char `E` was passed on as part of the
response string when set as a variable with `\set`. This was not
detected before because the response parser didn't parse the start of
the response properly.

A number of fixes have been made to the formatting of log messages for
telemetry to conform to the PostgreSQL standard as well as being
consistent with other messages.

Numerous build issues on Windows have been resolved. There is also new
functionality to get OS version info on Windows (for telemetry),
including a SQL function get_os_info() to retrieve this information.

The net library will now allow connecting to a servicename, e.g., http
or https. A port is resolved from this service name via getaddrinfo().
An explicit port can still be given, and it that case it will not
resolve the service name.

Databases the are updated to the new version of the extension will
have an install_timestamp in their installation metadata that does not
reflect the actual original install date of the extension. To be able
to distinguish these updated installations from those that are freshly
installed, we add a bogus "epoch" install_timestamp in the update
script.

Parsing of the version string in the telemetry response has been
refactored to be more amenable to testing. Tests have been added.
2018-09-10 13:29:59 -04:00
Rob Kiefer
c67a359cf6 Update Windows badge to point to corrected account name 2018-09-06 14:40:34 -04:00
Michael J. Freedman
6e193c6ec9 Add contributions section in README, error messages to style guide 2018-06-28 23:11:53 -04:00
Matvey Arye
2de6b02c16 Add optimization to use HashAggregate more often
This optimization adds a HashAggregate plan to many group by queries.
In plain postgres, many time-series queries will not use the hash
aggregate because the planner will incorrectly assume that the number of
rows is much larger than it actually is and will use the less efficient
GroupAggregate instead of a HashAggregate to prevent running out of
memory.

The planner will assume a large number of rows because the statistics
planner for grouping assumes that the number of distinct items produced
by a function is the same as the number of distinct items going in. This
is not true for functions like time_bucket and date_trunc. This
optimization fixes the statistics and add the HashAggregate plan if
appropriate.

The statistics now rely on evaluating the spread of a variable and
dividing it by the interval in the time_bucket or date_trunc.  This is
still an overestimate of the total number of groups but is better than
before. A further improvement on this will be to evaluate the quals
(WHERE clauses) on the query to try to derive a tighter spread on the
variable. This is left to a future optimization.
2018-06-21 14:01:02 -04:00
Narek Galstyan
d1a05baac5 integrate code coverage through codecov.io 2018-06-21 13:03:35 -04:00
Matvey Arye
39010db9f3 Move more drops into event trigger system
This PR moves table, schema, and trigger drop handling into the event
trigger system. The event trigger system is a more reliable method of
intercepting object drops especially as they can CASCADE via other
object drops.

This PR also adds a test for DROP OWNED which was previously broken.
2018-03-08 11:44:24 -05:00
Rob Kiefer
088e71e844 Update all the docs links in README 2018-03-08 11:17:45 -05:00
Rob Kiefer
7655742705 Update README to emphasize checking out tagged commit
Upgrades from non-tagged commits are not supported, so building
from source should emphasize that for those who want to use
TimescaleDB instead of develop for TimescaleDB.
2018-02-27 13:30:15 -05:00
Rob Kiefer
f48bbe0020 Add AppVeyor badge for Windows build status 2018-02-05 13:51:32 -05:00
Rob Kiefer
a0e99baef3 Add README instructions for installing files on Windows 2018-01-08 19:04:20 -05:00
Matvey Arye
764536a695 Add coverity badge to README 2017-12-19 10:44:42 -05:00
Rob Kiefer
3e194cd48f Update prerequisites in README 2017-12-09 21:13:44 -05:00
Rob Kiefer
66396fb81e Add build support for Windows
Windows 64-bit binaries should now be buildable using the cmake
build system either from the command line or from Visual Studio.

Previous issues regarding unresolved symbols have been resolved
with compatibility header files to properly export symbols or
getting GUCs via normal APIs.
2017-11-27 12:04:44 -05:00
Erik Nordström
b1ec4fa179 Refactor build system to use CMake
Moving the build system to CMake allows easy cross-platform
compiles, dependency checks, and more. In particular, CMake
allows us to easily build on Windows, and Visual Studio now
has native CMake support.
2017-10-16 20:50:16 +02:00
Michael J. Freedman
382b712b8b Fix link to update info in docs 2017-08-17 12:46:01 -04:00
Thomas Desrosiers
7d8ea917c5 Fix README example; 3 hours ago to last 3 hours
Currently it only select data from exactly 3 hours ago, but I think this probably meant in the last 3 hours :D
2017-07-20 09:34:44 -04:00
Michael J. Freedman
6e57e3662b Expand README for basic use and installation, more pointers to docs 2017-06-22 14:21:27 -04:00
Michael J. Freedman
28569f7bf5 Simplify README and point to new docs 2017-06-08 13:00:03 -04:00
Rob Kiefer
ac25c72f3d Add installation instructions for apt (Ubuntu)
This commit updates the install section to include instructions
for apt on Ubuntu. It also re-arranges the structure so the
configuration step is not repeated three times.
2017-05-30 16:29:37 -04:00
Erik Nordström
a3502b286c Cleanup "Restoring a database from backup" in README 2017-05-24 15:55:51 +02:00
Matvey Arye
cedcafc959 Remove setup_timescaledb() and fix pg_dump/pg_restore.
This PR removes the need to run setup_timescaledb. It also fixes
pg_dump and pg_restore. Previously, the database would restore in
a broken state because trigger functions were never attached to
meta tables (since setup_timescaledb() was not run). However, attaching
those triggers at extension creation also causes problems since the data
copy happens after extension creation but we don't want triggers fired
on the data restored (that could cause duplicate rows, for example).

The solution to this chicken-and-egg problem in this PR is to have
a special configuration (GUC) variable `timescaledb.restoring` that,
if 'on', would prevent the extension from attaching triggers at
extension creation. Then, after restoration, you'd call
restore_timescaledb() to attach the triggers and unset the GUC above.
This procedure is documented in the README as part of this PR.
2017-05-22 16:12:21 -04:00
Rob Kiefer
79946ca2ec Remove limitation regarding big COPY.
With the introduction of fixed-time chunks, this limitation no longer
applies.
2017-04-28 11:16:10 -04:00
Rob Kiefer
39f4c0fd6e Remove sample data instructions and point to docs site
This commit directs users to our docs site for using sample data
so we don't have to keep both places in sync.
2017-04-26 13:22:07 -04:00
Michael Randers-Pehrson
00d3325d6f Added spaces
Adding a few spaces to make it consistent with the rest of the SQL.
2017-04-25 17:26:04 -04:00
Rob Kiefer
a79a6caffd Fix a mistake in the docker run command 2017-04-20 09:02:50 -04:00
Rob Kiefer
9e3bafc2f4 Add instructions to run Docker image.
This commit adds an example how to run the Docker image so the
data is persisted between restarts based on our docker-run.sh
script. It also fixes a typo in the docker-run.sh script where
the default DATA_DIR was not correctly set.
2017-04-19 21:05:37 -04:00
Matvey Arye
a78f1570ba Remove dblink dependency.
The dblink extension is blacklisted by some cloud-hosting providers and
is an unnecessary dependency for single-node operation. Since we don't plan
to use dblink to implement clustering this PR removes the dependency.
2017-04-12 11:14:54 -04:00
Rob Kiefer
5723f332af Change Docker Hub organization to 'timescale 2017-04-03 17:17:55 -04:00
Rob Kiefer
d1dd911a62 Fix alignment issue in README 2017-03-29 14:40:50 -04:00
Rob Kiefer
537d8d227c Update README build status image 2017-03-27 22:35:45 -04:00