Welcome to the TileDB docs!

Here you will find a comprehensive description of all the TileDB features, installation guides, tutorials, and API references. You will also be able to suggest edits and submit your questions. Enjoy!

Get Started    

Hello TileDB World

This is the simplest TileDB program, which retrieves and prints the version of the used TileDB library.

#include <tiledb.h>

int main() {
  // Get version
  int major, minor, rev;
  tiledb_version(&major, &minor, &rev);

  // Print version
  printf("TileDB v%d.%d.%d\n", major, minor, rev);

  return 0;
#include <tiledb>

int main() {
  auto version = tiledb::Version::version();
  std::cout << "TileDB v" << version.major() << "." << version.minor() << "."
            << version.patch() << '\n';

  // The following would print the same as above
  // std::cout << version << '\n';

  return 0;
import tiledb

def main():
    major, minor, patch = tiledb.libtiledb.version()
    print("TileDB v{major}.{minor}.{patch}"
          .format(major=major, minor=minor, patch=patch))

if __name__ == '__main__':

Program output

The program output is as follows, where the version is in format v<major>.<minor>.<patch>, e.g., v1.2.0.

$ ./tiledb_version_c
TileDB v<major>.<minor>.<patch>
$ ./tiledb_version_cpp
TileDB v<major>.<minor>.<patch>
$ python tiledb_version.py
TileDB v<major>.<minor>.<patch>

Hello TileDB World