Re: Advice for index design
От | Greg Sabino Mullane |
---|---|
Тема | Re: Advice for index design |
Дата | |
Msg-id | ce7aaa1fa52475c028836bf3e31473d4@biglumber.com обсуждение исходный текст |
Ответ на | Advice for index design (JORGE MALDONADO <jorgemal1960@gmail.com>) |
Список | pgsql-sql |
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Jorge Maldonado wrote: ... > What is a good index design approach? Maybe, setting simple separate > indexes (one for each field) would work fine if I need to > retrieve data in different combinatios, but I am not sure. Yes, just create separate indexes and you will be fine, especially given the very small size of the table. If you find your queries going slow, you could start investigating compound indexes (or in this case, partial indexes). - -- Greg Sabino Mullane greg@turnstep.com End Point Corporation http://www.endpoint.com/ PGP Key: 0x14964AC8 201304111933 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAlFnSPYACgkQvJuQZxSWSshm6wCggdl2FyowAbca93hYKXGgcXoE iN0AniOL8OS3teTgk6thxkJjUGqEf15k =1Eb6 -----END PGP SIGNATURE-----
В списке pgsql-sql по дате отправления: