Skip to main content

Questions tagged [database-theory]

0 votes
0 answers
20 views

Time | T11 | T12 | T13 -------------------------------------------- t1 | r(x) | | t2 | | w(x) | t3 | w(x) | | t4 | | ...
zeeshanseikh's user avatar
0 votes
1 answer
135 views

In the book I am currently reading this table is mentioned as an example for what we can do if a table fulfills BCNF but has still redundancies. It then mentions that a solution are arrays. But is ...
Marlon Brando's user avatar
0 votes
1 answer
101 views

I'm trying to figure out a better intuition for what exactly are the sorts of consistency anomalies that snapshot isolation allows to happen. The description on Wikipedia says: In databases, and ...
Phoenix's user avatar
  • 101
0 votes
2 answers
112 views

A 3rd party API exposes a endpoint which accepts "SQL" queries. Their examples are simple SELECT statements, however I want to write more complicated queries. They do not specify which SQL ...
yeerk's user avatar
  • 101
-1 votes
1 answer
66 views

How do database engines take consistent snapshots when writes could be happening at any time? (A) Does the database engine block writes one table at a time while taking snapshots? (B) Does the ...
AlfaZulu's user avatar
0 votes
1 answer
70 views

From Codd's 12 rules (emphasis mine): For any system that is advertised as, or claimed to be, a relational data base management system, that system must be able to manage data bases entirely through ...
Mehdi Charife's user avatar
1 vote
1 answer
171 views

I have read that 1NF, 2NF and 3NF decompositions are lossless and dependency-preserving. Consider this example on a relation R(A,B,C,D) with functional dependencies set as FD ={ AB->CD, A->C, BC-...
Arun Madhav's user avatar
4 votes
1 answer
242 views

BACKGROUND I am using Microsoft SQL Server Management Studio v18.9.1 on Windows 10. I've created a database to store test results of our company's widget (not yet being produced). I am working on a ...
Dave's user avatar
  • 197
1 vote
0 answers
98 views

SQL Server’s Indexed Views provide a performant way to implement certain classes of database-scoped constraints - such as ensuring a value is unique over multiple tables - or other non-key, cross-...
Dai's user avatar
  • 692
0 votes
0 answers
364 views

I have the following E-R diagram to refer to: I have a question posed to me that entity 4 IS a weak entity due to one of its relations. However, from what I see, entity 4 has a composite primary key ...
Chris Calvani's user avatar
-1 votes
1 answer
890 views

While reading Oracle 11g Sql by Joan Casteel, the author mentions that many to many relationships couldn't exist in relational databases. I was wondering what the reasoning behind this fact was.
Kevin Bai's user avatar
0 votes
1 answer
465 views

If a database is just a computer system that implements a database management system, and we use SQL to tell it what to do, why don't we consider SQL to be a programming langauge? From Wikipedia: A ...
Kevin Bai's user avatar
0 votes
1 answer
44 views

I've a quite simple problem but the litterature I came accross didn't seem to dwell on. Let's say I have an entity OFFER which represents an Offer on a Product, for each product, one offer can be &...
n_prime's user avatar
3 votes
1 answer
1k views

The compensation logs' redo-information corresponds to the undo-information of the log entry that made their creation necessary during the undo-phase. That sounds to me like the CLRs redo information ...
Sigmund's user avatar
  • 33
1 vote
1 answer
199 views

The database is not a flat structure like a file system, and generally has three to four levels of index levels. If you simply use COW, you will have obvious write amplification every time you modify ...
Karl's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
9