Похожие чаты

What does indexing actually do? I mean it's pro and

cons. I know it make looking up records faster and there is the cost of the size of the DB.

6 ответов

20 просмотров

Yeah that's it

Indexing creates an index table that maps the indexed column to the primary key of the table you are indexing. This table will be used instead of the natural column to perform the lookup when doing any operation that works with queries on the indexed column It may be implemented as a special kind of table but they are generally either b-trees or skip lists, just like normal tables

704682000-4164616D73 Автор вопроса
704682000 4164616D73
Isn't that extra overhead?

yeah but when you have very frequent reads or require fast lookups then its worth it

704682000 4164616D73
Isn't that extra overhead?

Overhead on insert, but tremendous optimization on lookup, and you need to consider lookups more common than inserts

Похожие вопросы

Обсуждают сегодня

А еще в перле можно уже @arr1 + @arr2?
Sergei Zhmylove
53
I arrived here after a Chico Crypto show highlighted the project & the Team - the fact that the Team had a long history of successfully working with household names gave me e...
Banter is Bullish
1
Привет всем. появился вопрос. Разрабатываю сайт, в данный момент он запущен. Хостинг beget. Добавляю на сайт яндекс метрику с помощью полей client-settings (взято отсюда http...
Andrew
2
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
;.686 ;Система команд процессора 686 ;.MODEL FLAT,stdcall ;Модель памяти плоская, стандартный ;вызов процедуры ;option casemap:no...
Егор Анелькин
1
Почему у макбука экран не сенсорный?
✨ Anatolii Cherednichenko
28
Всем привет! подскажите пожалуйста как можно увеличить качество фото?
Evgeniy
19
а как ловят такое ghci> res <- getPos2 urlt 0 (alist !! 0) 200 ghci> res SearchAtom (Search "www.google.com" "/search?q=" "Haskell") "haskell.org" (SearchTS [(2024-05-06 07:...
Fedor
14
Is it a good price to buy hex now on 0,0019?
Patrick
29
ну выйграл ты ее а дальше что?
central hardware
17
Карта сайта