b-tree-index Questions

1

Solved

I know how a B-Tree works in-memory, it's easy enough to implement. However, I don't know how to find a data layout that works effectively on disk, such that: The number of entries in the B-Tree c...
Smegma asked 22/11, 2016 at 11:32

3

We are in the process of migrating from MySQL to PGSQL and we have a 100 million row table. When I was trying to ascertain how much space both systems use, I found much less difference for tables, ...
Tijuana asked 8/10, 2015 at 7:21

1

I have a simple table which has a user_birthday field with a type of date (which can be NULL value) CREATE TABLE users ( user_id bigserial NOT NULL, user_email text NOT NULL, user_password text...
Thundery asked 2/4, 2014 at 22:28

2

Consider the below Mongo index strategy and the query, Index: db.collec.ensureIndex({a:1,b:1,c:1}); Query: db.collec.find({"a":"valueA"},{"_id":0,"a":1,"c":1}).sort({"c":-1}).limit(150) The ...
Ragouzis asked 22/10, 2013 at 11:24

1

I am writing a simple tool to check duplicate files(i.e. files having same data). The mechanism is to generate hashes for each file using sha-512 algorithm and then store these hashes in MYSQL data...
Willhite asked 29/5, 2013 at 6:32

3

Solved

Since database data is organized in 8k pages in a B-tree, and likewise for PK information information, it should be possible for each table in the database to calculate the height of the B-Tree. Th...
Arsenical asked 24/1, 2012 at 18:50

5

Solved

I have a table with multiple indexes, several of which duplicate the same columns: Index 1 columns: X, B, C, D Index 2 columns: Y, B, C, D Index 3 columns: Z, B, C, D I'm not very knowledgeable ...
Deliladelilah asked 25/3, 2010 at 15:3
1

© 2022 - 2024 — McMap. All rights reserved.