Checkout
Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial
Question

Datalog - What is the difference between IDB and EDB?

Answer

An EDB, or extensional database, is a relation stored in the database, while an IDB, or intensional database, is a relation defined by one or more rules. A predicate can be either IDB or EDB, but not both. An IDB predicate can appear in both the body or head of a rule, whereas an EDB predicate can only appear in the body.