Skip to content

Is it possible to use the MD saved in TDB as a row in a large MD table? #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JosephBizu opened this issue Aug 21, 2022 · 1 comment

Comments

@JosephBizu
Copy link

HI,
I have read the documentation of the library, and as far as I understand, you can easily query the MD in each TDB created and treat the MD as a MySQL DB (MariaDB).
However, I couldn't quite figure out whether I can treat all the TDB items as a whole table. Meaning, each TDB MD is a row that belongs to one large table that I am able to query over ( meaning the table is a MariaDB).
For example, each TDB holds a geospatial location polygon, and I can query TDB objects over geospatial polygon like I would do with PostgreSQL for instance.

Hope my question is clear enough.

@Shelnutt2
Copy link
Member

Hello @JosephBizu! If I understand your question correctly, you are currently creating separate TileDB arrays for each of your polygon. You are then wanting to query all the separate TileDB arrays as one single MariaDB Table?

If I understood that correctly, then the most common way users handle this is to actually have one TileDB array with all the polygons. There is usually a dimensions with an identified. This lets you efficiently have all the data in the single array and allows you to query it as you are looking to in MariaDB.

If you are able to share your current array schema and more details about the Polygons and your use case or queries you are looking to perform we'd be happy to provide some suggestions to adjusting the schema. If you do not want to share those details here please feel free to also send me an email, seth@tiledb.com and we can discuss over email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants