What are the differences between Data Lineage and Data Provenance?

From our experience, data provenance includes only high level view of the system for business users, so they can roughly navigate where their data come from. It’s provided by variety of modeling tools or just simple custom tables and charts. Data lineage is a more specific term and includes two sides – business (data) lineage … Read more

What is the “best” way to store international addresses in a database?

Plain freeform text. Validating all the world’s post/zip codes is too hard; a fixed list of countries is too politically sensitive; mandatory state/region/other administrative subdivision is just plain inappropriate (all too often I’m asked which county I live in–when I don’t, because Greater London is not a county at all). More to the point, it’s … Read more

If possible how can one embed PostgreSQL?

Run postgresql in a background process. Start a separate thread in your application that would start a postgresql server in local mode either by binding it to localhost with some random free port or by using sockets (does windows support sockets?). That should be fairly easy, something like: system(“C:\Program Files\MyApplication\pgsql\postgres.exe -D C:\Documents and Settings\User\Local Settings\MyApplication\database … Read more

How to create my own recommendation engine? [closed]

Presenting recommendations can be split up in to two main sections: Feature extraction Recommendation Feature extraction is very specific to the object being recommended. For music, for example, some features of the object might be the frequency response of the song, the power, the genre, etc. The features for the users might be age, location, … Read more

Cannot create a new table after “DROP SCHEMA public”

The error message pops up when none of the schemas in your search_path can be found. Either it is misconfigured. What do you get for this? SHOW search_path; Or you deleted the public schema from your standard system database template1. You may have been connected to the wrong database when you ran drop schema public … Read more

When to use LDAP over a database?

LDAP can be considered a database. But I’m assuming that you mean SQL databases. LDAP data stores are for systems with high number of reads compared to writes. While other databases such as SQL stores are designed for transactional data usage (high read and writes). This is why LDAP is a directory protocol. It’s well … Read more