Click here to Skip to main content
15,927,699 members
Home / Discussions / Database
   

Database

 
GeneralRe: Connect C# Application to network Oracle 10g install Pin
jschell19-Dec-10 9:57
jschell19-Dec-10 9:57 
GeneralRe: Connect C# Application to network Oracle 10g install Pin
PDTUM19-Dec-10 10:39
PDTUM19-Dec-10 10:39 
GeneralRe: Connect C# Application to network Oracle 10g install Pin
jschell20-Dec-10 9:06
jschell20-Dec-10 9:06 
QuestionDatabase design Pin
V.16-Dec-10 20:23
professionalV.16-Dec-10 20:23 
AnswerRe: Database design Pin
Mycroft Holmes16-Dec-10 20:56
professionalMycroft Holmes16-Dec-10 20:56 
GeneralRe: Database design Pin
Jörgen Andersson16-Dec-10 22:10
professionalJörgen Andersson16-Dec-10 22:10 
GeneralRe: Database design Pin
Pete O'Hanlon17-Dec-10 4:50
mvePete O'Hanlon17-Dec-10 4:50 
GeneralRe: Database design Pin
Jörgen Andersson17-Dec-10 8:32
professionalJörgen Andersson17-Dec-10 8:32 
GeneralRe: Database design Pin
Pete O'Hanlon17-Dec-10 8:36
mvePete O'Hanlon17-Dec-10 8:36 
GeneralRe: Database design Pin
Jörgen Andersson17-Dec-10 8:53
professionalJörgen Andersson17-Dec-10 8:53 
GeneralRe: Database design Pin
Pete O'Hanlon17-Dec-10 9:15
mvePete O'Hanlon17-Dec-10 9:15 
GeneralRe: Database design Pin
Jörgen Andersson17-Dec-10 9:54
professionalJörgen Andersson17-Dec-10 9:54 
GeneralRe: Database design Pin
Pete O'Hanlon17-Dec-10 10:33
mvePete O'Hanlon17-Dec-10 10:33 
GeneralRe: Database design Pin
Jörgen Andersson18-Dec-10 12:02
professionalJörgen Andersson18-Dec-10 12:02 
GeneralRe: Database design Pin
Pete O'Hanlon19-Dec-10 9:13
mvePete O'Hanlon19-Dec-10 9:13 
GeneralRe: Database design Pin
Jörgen Andersson4-Jan-11 21:12
professionalJörgen Andersson4-Jan-11 21:12 
GeneralRe: Database design Pin
Mycroft Holmes17-Dec-10 10:57
professionalMycroft Holmes17-Dec-10 10:57 
GeneralRe: Database design Pin
Pete O'Hanlon19-Dec-10 23:20
mvePete O'Hanlon19-Dec-10 23:20 
GeneralRe: Database design Pin
Jörgen Andersson20-Dec-10 1:54
professionalJörgen Andersson20-Dec-10 1:54 
GeneralRe: Database design Pin
Mycroft Holmes17-Dec-10 10:53
professionalMycroft Holmes17-Dec-10 10:53 
GeneralRe: Database design Pin
Jörgen Andersson18-Dec-10 11:41
professionalJörgen Andersson18-Dec-10 11:41 
Mycroft Holmes wrote:
I will need to do some work to understand the relevance on the function based index


Say for example that you have a log table where one of the columns has the date datatype which carries both date and time, and you want to get all occurences from one specific day.
A query for trunc(logdate) would make a full table scan, unless you have an index on trunc(logdate).

Another example, You have a really large table where you have a status column, and the only value you ever make a search on is 'PENDING'. Then an index on "Case When status = 'PENDING' Then 1 Else Null" will be very small and fast, as only those entries where the status is PENDING will be stored in the index as null values are not indexed.

The backside is that function based indexes is costing more to maintain.

"When did ignorance become a point of view" - Dilbert

GeneralRe: Database design Pin
Mycroft Holmes18-Dec-10 12:16
professionalMycroft Holmes18-Dec-10 12:16 
GeneralRe: Database design Pin
Jörgen Andersson18-Dec-10 21:05
professionalJörgen Andersson18-Dec-10 21:05 
AnswerRe: Database design Pin
Eddy Vluggen16-Dec-10 22:15
professionalEddy Vluggen16-Dec-10 22:15 
AnswerRe: Database design Pin
Jörgen Andersson16-Dec-10 22:16
professionalJörgen Andersson16-Dec-10 22:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.