- Notifications
You must be signed in to change notification settings - Fork5
Commitf204274
committed
Update TODO for short header versions:
< o Reorder physical storage order to reduce padding?<< This involves having the user-specified order of columns< be different from the physical order. SELECT * would< need to reorder the physical values to match the< user-specified ordering.<< o Store disk pages with no alignment/padding?<< This necessitates adding CPU-required padding when moving< rows from disk to memory.<< One idea is to store the header in network byte order (high bits< first), and read the high bits to determine the header length.<http://archives.postgresql.org/pgsql-hackers/2006-09/msg00848.php> One idea is to create zero-or-one-byte-header versions> of varlena data types. In involves setting the high-bit and> 0-127 length in the single-byte header, or clear the high bit> and store the 7-bit ASCII value in the rest of the byte.> The small-header versions have no alignment requirements.>http://archives.postgresql.org/pgsql-hackers/2006-09/msg01372.php1 parent5ff4f39 commitf204274
2 files changed
+15
-31
lines changedLines changed: 7 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| |||
1353 | 1353 |
| |
1354 | 1354 |
| |
1355 | 1355 |
| |
1356 |
| - | |
1357 |
| - | |
1358 |
| - | |
1359 |
| - | |
1360 |
| - | |
1361 |
| - | |
1362 |
| - | |
1363 |
| - | |
1364 |
| - | |
1365 |
| - | |
1366 |
| - | |
1367 |
| - | |
1368 | 1356 |
| |
1369 | 1357 |
| |
1370 |
| - | |
1371 |
| - | |
1372 |
| - | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1373 | 1364 |
| |
1374 | 1365 |
| |
1375 | 1366 |
| |
|
Lines changed: 8 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1219 | 1219 |
| |
1220 | 1220 |
| |
1221 | 1221 |
| |
1222 |
| - | |
1223 |
| - | |
1224 |
| - | |
1225 |
| - | |
1226 |
| - | |
1227 |
| - | |
1228 |
| - | |
1229 |
| - | |
1230 |
| - | |
1231 |
| - | |
1232 |
| - | |
1233 |
| - | |
1234 |
| - | |
1235 |
| - | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
1236 | 1229 |
| |
1237 | 1230 |
| |
1238 | 1231 |
| |
|
0 commit comments
Comments
(0)