Click here to Skip to main content
15,917,859 members
Home / Discussions / Database
   

Database

 
GeneralDataRelation and NOCHECK add constraint Pin
CJacobus11-Mar-08 6:21
CJacobus11-Mar-08 6:21 
GeneralRe: DataRelation and NOCHECK add constraint Pin
Mark J. Miller11-Mar-08 7:28
Mark J. Miller11-Mar-08 7:28 
GeneralRe: DataRelation and NOCHECK add constraint Pin
CJacobus12-Mar-08 11:15
CJacobus12-Mar-08 11:15 
GeneralRe: DataRelation and NOCHECK add constraint Pin
Mark J. Miller13-Mar-08 3:29
Mark J. Miller13-Mar-08 3:29 
QuestionHow can i improve the performance of this query? Pin
tonyong11-Mar-08 4:24
tonyong11-Mar-08 4:24 
AnswerRe: How can i improve the performance of this query? Pin
Scott Dorman11-Mar-08 4:42
professionalScott Dorman11-Mar-08 4:42 
GeneralRe: How can i improve the performance of this query? Pin
tonyong11-Mar-08 4:59
tonyong11-Mar-08 4:59 
GeneralRe: How can i improve the performance of this query? Pin
Scott Dorman11-Mar-08 5:07
professionalScott Dorman11-Mar-08 5:07 
tonyong wrote:
I am not sure of the indexes on the tables as this is a company database and I am actually a student on attachment and the company ask me to try this


Honestly that shouldn't matter. You are working for them for a reason. It should be expected that you ask some level of questions in order to get your job done. However, given the situation you may need to ask those questions a bit more carefully than normal. If you ask something along the lines of "You want to verify the indexes on the tables" I don't see any reason this should cause problems.

You may want to review the joins again. My guess is that you used the wrong type of join. It's been a long time since I've worked with Oracle, but if there is any type of tool that lets you look at the execution plan for the query (the steps that the database engine will perform to actually run the query) that is the best place to start. That should tell you if indexes are being used, how many rows are being returned for each part of the query, etc.

Scott.

—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

[Forum Guidelines] [Articles] [Blog]

GeneralRe: How can i improve the performance of this query? Pin
tonyong11-Mar-08 5:28
tonyong11-Mar-08 5:28 
GeneralRe: How can i improve the performance of this query? Pin
Pete O'Hanlon11-Mar-08 12:23
mvePete O'Hanlon11-Mar-08 12:23 
GeneralRe: How can i improve the performance of this query? Pin
tonyong12-Mar-08 0:34
tonyong12-Mar-08 0:34 
GeneralRe: How can i improve the performance of this query? Pin
andyharman12-Mar-08 5:19
professionalandyharman12-Mar-08 5:19 
GeneralRe: How can i improve the performance of this query? Pin
tonyong12-Mar-08 14:22
tonyong12-Mar-08 14:22 
GeneralRe: How can i improve the performance of this query? Pin
tonyong13-Mar-08 2:28
tonyong13-Mar-08 2:28 
AnswerRe: How can i improve the performance of this query? Pin
Mark J. Miller11-Mar-08 7:35
Mark J. Miller11-Mar-08 7:35 
QuestionSQL Reporting Services - Anyone an expert? Pin
imnotso#11-Mar-08 3:50
imnotso#11-Mar-08 3:50 
AnswerRe: SQL Reporting Services - Anyone an expert? Pin
Mark J. Miller11-Mar-08 7:24
Mark J. Miller11-Mar-08 7:24 
GeneralRe: SQL Reporting Services - Anyone an expert? Pin
imnotso#11-Mar-08 23:51
imnotso#11-Mar-08 23:51 
GeneralRe: SQL Reporting Services - Anyone an expert? Pin
Mark Churchill12-Mar-08 0:36
Mark Churchill12-Mar-08 0:36 
GeneralRe: SQL Reporting Services - Anyone an expert? Pin
imnotso#12-Mar-08 1:21
imnotso#12-Mar-08 1:21 
GeneralRe: SQL Reporting Services - Anyone an expert? Pin
Mark Churchill12-Mar-08 2:18
Mark Churchill12-Mar-08 2:18 
GeneralRe: SQL Reporting Services - Anyone an expert? Pin
imnotso#12-Mar-08 2:33
imnotso#12-Mar-08 2:33 
GeneralSQL Connection TimeOut Pin
Johan Lombaard11-Mar-08 3:19
Johan Lombaard11-Mar-08 3:19 
GeneralRe: SQL Connection TimeOut Pin
Pete O'Hanlon11-Mar-08 12:21
mvePete O'Hanlon11-Mar-08 12:21 
GeneralRe: SQL Connection TimeOut Pin
#realJSOP14-Mar-08 8:15
professional#realJSOP14-Mar-08 8:15 

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.