Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ElevateDB relational model do’s and dont’s

My company uses ElevateDB in one of our products. However, our database is just a bunch of tables. Recently, as more features are designed and more modules are added, we have found out our data is no longer “bunch of unrelated tables”, but it begins to be real data structure.

I have no previous experience with ElevateDB, I worked with Oracle, MSSQL and Firebird mostly. So the question is – if we want to restructure table structure to have foreign key constrains and implement relational integrity, what are common pitfalls on ElevateDB? I am not asking about general issues on relational databases, but I am interested in ElevateDB do’s and dont’s.

We are using Delphi 2009 as a client application.

like image 233
smok1 Avatar asked Aug 04 '09 09:08

smok1


People also ask

What are the limitations of relational model?

Relational databases can only store data in tabular form which makes it difficult to represent complex relationships between objects. This is an issue because many applications require more than one table to store all the necessary data required by their application logic.

What are the requirements for relational DB model?

Four crucial properties define relational database transactions: atomicity, consistency, isolation, and durability—typically referred to as ACID.

What are the four 4 basic update operations in a relational database model?

Four basic update operations performed on relational database model are Insert, update, delete and select. Insert is used to insert data into the relation ▪Delete is used to delete tuples from the table. Modify allows you to change the values of some attributes in existing tuples.


1 Answers

The only thing that may trip you up with RI in ElevateDB is the lack of cascading updates or deletes. We leave those up to the user to handle with a transaction (you can also use triggers to do so). No matter what, ElevateDB will always still enforce the RI and prevent any improper data in terms of primary and foreign keys. Essentially, ElevateDB's RI only supports the RESTRICT option for the ON UPDATE and ON DELETE clauses.

If you have any other questions, feel free to ask them on our newsgroups at the URL mentioned above by Stuart.

like image 94
Tim Young - Elevate Software Avatar answered Sep 21 '22 15:09

Tim Young - Elevate Software