BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Quick question - Like how in ORACLE, we have different types of indexes like Bitmap and Btree, is there anything like this in SAS datasets.
What we are trying to acheive is , for low cardinality columns , have a bitmap index and for high cardinality ones use Btree.Any thoughts?
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Using the Google advanced search argument listed below, I found several topic-related technical papers relevant to the subject of your post at the SAS support http://support.sas.com/ website which may be useful:

cardinality bitmap btree site:sas.com


Scott Barry
SBBWorks, Inc.
LinusH
Tourmaline | Level 20
For Base SAS tables, there is just ordinary B-Tree indexes available. So there is not much to do there I'm afraid.

But for SPDE and SPD Server table, a so called Hybrid index is used, which will pick the best from both worlds, B-tree and bitmap. The best part is that you don't have to chose, you will get the best performance without having to decide/know the cardinality of data on beforehand. See on-line doc for mode details.

/Linus Message was edited by: Linus H
Data never sleeps

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1931 views
  • 0 likes
  • 3 in conversation