only in my car table of a 50,000.00 record and a lot of things, in my system there is no nunhum select * from cars From where Oracle is taking this SQL and how to solve this problem ..
Yes I already do this monitoring .... lasting the day appears several sql so
select * from table without WHERE I already made find in all my project and do not meet nada similar .... when monitoring It appears that the application that is running SQL and the dllhost.exe that I think would be the COM + that runs my application in the I do not have those type of SQL in the application.
Oracle could from dividing this select to execute Optimize Mode is already at cost ...
Natanjr wrote:
Select * From table without WHERE I already did find all my project and do not meet anything like .... When monitoring appears that the application that is running SQL and DllHost.exe That I think it would be the COM + that runs my application in the I do not have these type of SQL in the application.
Check which user this SQL belongs to. Isolate it, preferably removes all permissions and then if necessary, grant them gradually.
Yes I know that user is coming to SQL and the user of my system .. I do not understand what has to have his permissions with these select that appears in the bank.
natanjr wrote: yes I know that user is coming the sql and the user of my system .. more I did not understand what has to have his permissions with these select that appears in the bank.
Now, if you are the problem, you can identify - granting them (permissions) in a gradual way - what is the source.
Good for what I tested here there is no need for permissions.
I think it could be happening and that my SQL brings many records I'm going through the table index and the bank thinks the cost of going there is every record on the bank and bigger than bringing the table Everything and reading her ???
Complicated because I'm not a DBA I'm just a developer who's listening has Select * from cars running on the bench more on my system there is no this ..
I have already passed through this and the bank generates SQL's that are not in the application if you do not have an index suitable for the query you are performing.
Try to parse if the index columns are being used in your filter.
In my case there was no appropriate index and after creating the same the problem is over.