Eric Brewer
9e4cb7d7c4
cleanup
2006-08-15 01:00:55 +00:00
Eric Brewer
8bf2cb65ef
cleanup
2006-08-14 22:54:03 +00:00
Eric Brewer
bb2713ba5e
clenaup
2006-08-13 23:58:13 +00:00
Eric Brewer
94757ccc4d
major reorg of sec 2 and 8
2006-08-13 23:50:16 +00:00
Eric Brewer
3b3427792e
sec2
2006-08-12 22:38:55 +00:00
Eric Brewer
a540a16f3a
sec2
2006-08-12 22:23:44 +00:00
Eric Brewer
22ae1ab5de
sec2
2006-08-12 21:35:22 +00:00
Eric Brewer
f706cb6d22
sec1
2006-08-12 21:30:54 +00:00
Sears Russell
b41f3cce18
More on Camelot. Some new text
2006-08-12 01:12:42 +00:00
Sears Russell
32d21cd398
Fixed compiler warning...
2006-08-11 19:36:46 +00:00
Sears Russell
b615f0bc3e
Towards 64-bit pageids. bufferManager can handle 64-bit offsets, but recordid.page is still 32 bit...
2006-08-11 19:31:42 +00:00
Sears Russell
1a60582a0c
Added function to handle code that allocates data without first consulting the allocationPolicy
2006-08-11 03:01:16 +00:00
Sears Russell
8faf045e7d
Fixed numerous bugs in allocationPolicy.c and alloc.c
...
allocationPolicy.c was not handling deallocations correctly
Tdealloc() was not calling interpretRid() on its input before passing it into the allocationPolicy
Added locking support for TallocFromPage()
2006-08-11 02:56:41 +00:00
Sears Russell
ef43a8d54f
Added missing declaration of forcePageFile()
2006-08-11 02:42:17 +00:00
Sears Russell
b44551b941
fixed mutex checks
2006-08-11 02:25:17 +00:00
Sears Russell
7dada65a13
Addded "interpretRid" which knows how to call the "dereference*" functions.
2006-08-11 02:24:01 +00:00
Sears Russell
33ca0d3254
Fix memory leak; initialize p.lockCount (for debugging)
2006-08-11 00:02:16 +00:00
Sears Russell
51c5b60047
Fix race in TallocFromPage()
2006-08-11 00:01:12 +00:00
Sears Russell
73436d0d6c
Disables fsckSlottedPage() by default.
2006-08-10 23:59:13 +00:00
Sears Russell
7ba91533fe
Added assertions to make sure that the region mutex is held when
...
appropriate.
2006-08-10 23:57:49 +00:00
Sears Russell
af175896cb
Added logWriter_isDurable. If = 0, then the log will never be forced.
2006-08-10 23:54:46 +00:00
Sears Russell
1b6c828bd2
Added logWriter_isDurable. If set to zero, the log will never be forced
...
to disk.
2006-08-10 23:53:51 +00:00
Sears Russell
3a43450477
Force in-flight page file writes to disk before truncating. (Needed if
...
O_DIRECT isn't in use.)
Changed diagnostic messages to go to stderr.
2006-08-10 23:52:48 +00:00
Sears Russell
f93b2acf69
Now, you can set pageFile_isDurable=0 to disable forcing data to the
...
page file.
Also, -DPAGE_FILE_O_DIRECT switches the page file from using a normal
file handle and fdatasync to use O_DIRECT with no fdatasync.
2006-08-10 23:51:15 +00:00
Sears Russell
6f9c6af99c
memoized loadPage() (per thread)
...
no longer requires pbl compatibility wrappers
2006-08-10 23:45:25 +00:00
Sears Russell
7847331771
Minor cleanup, added ability to calculate the global average number of
...
buckets traversed per find(). Added a warning for code that actually
relies upon PBL's way of interpreting insert.
2006-08-10 23:43:53 +00:00
Sears Russell
d3f87b5af4
Added support for locking on deallocation.
2006-08-10 23:39:36 +00:00
Sears Russell
d593397541
Minor typos, added a few notes
2006-08-10 23:38:07 +00:00
Sears Russell
51517aaebc
Updated X-axis range to better reflect paper.
2006-08-10 23:37:19 +00:00
Sears Russell
f74df8a0fe
Test is more stringent now; it runs in roughly the same amount of time
...
becase pageFile.c is no longer using O_DIRECT.
2006-08-10 23:35:21 +00:00
Sears Russell
81e7d1be79
Made a pass on the paper
2006-08-10 23:14:39 +00:00
Sears Russell
6fcaf34bb5
Needed to protect a linked list with a mutex. It's suprising that this hasn't come up before.
2006-08-08 01:41:45 +00:00
Sears Russell
8a390c40d2
Improved latch profiling, especially for loadPage.
2006-08-04 23:45:27 +00:00
Sears Russell
67dce5158f
Added a note or two.
2006-08-04 23:43:33 +00:00
Sears Russell
84bd594288
paper updates; a bit of prior work
2006-08-03 00:13:50 +00:00
Sears Russell
7e5825aa74
Merged in some comments, added OLAP reference.
2006-08-02 19:34:01 +00:00
Sears Russell
b5ce838df0
paper changes
2006-08-02 17:38:40 +00:00
Eric Brewer
b8fa1b5dde
bill fixes
2006-08-02 05:07:59 +00:00
Sears Russell
a8360f5d10
updated recovery section.
2006-08-02 00:48:31 +00:00
Sears Russell
7c8491206d
Started re-organizing the the recovery / lsn-free page stuff.
2006-08-01 03:02:12 +00:00
Sears Russell
c413203ec8
Talloc() now reuses space when possible. It still needs to call slottedCompact() intelligentally. Also, allocationPolicy should support an extra tier
...
of pages, so it doesn't suggest ones that aren't already in the buffer pool unless it has to.
2006-07-29 00:56:54 +00:00
Sears Russell
783d1d6ffd
Removed the fixed page initialization operations, which weren't being used, and were a slow hack anyway. There is now a more-general (and efficient)
...
implementation in alloc.c
2006-07-29 00:54:01 +00:00
Sears Russell
cdd44a2f2d
Initial import of redblack implementation.
2006-07-28 00:01:57 +00:00
Sears Russell
3725cc9b8e
Added a function that returns the number of allocated entries in the list
2006-07-28 00:00:32 +00:00
Sears Russell
165b91cf76
compensations_init() was being called too late.
2006-07-27 23:59:21 +00:00
Sears Russell
a0f1a4a7c1
added colleen, and credits for the libraries that LLADD uses.
2006-07-27 23:57:53 +00:00
Sears Russell
78f7b5a12e
Added tests for concurrent transactions + aborts(). Still doesn't test
...
latching, as it is single threaded.
2006-07-27 00:16:24 +00:00
Sears Russell
a3d0f6f6f5
Added support for concurrent transactions (by using nested top actions).
2006-07-27 00:15:29 +00:00
Sears Russell
1988cf297d
The "WARNING: Tdeinit() is aborting transaction %d" runtime message now
...
lists the xid of the transaction it's aborting instead of "-1".
TisActiveTransaction(xid) now returns 0 for INVALID_XID. Before the
output was undefined.
2006-07-27 00:13:20 +00:00
Sears Russell
d1da4e59c0
Fixed segmentation fault when a CLR with a NULLRID is encountered. I
...
don't understand why this bug wasn't triggered by linearHashNTA or
linkedListNTA, but is triggered by the new region implementation.
2006-07-27 00:10:21 +00:00