Using data tab causes SD users to be black-listed! Why is this happening?
Several SQL Developer users in our workgroup were recently black-listed by our IT department for submitting queries that ran for hours against large tables. Many of these users emphatically stated that they had not submitted ANY queries. Finally someone theorized that clicking on the data tab to view a few rows of data may be causing SD to to submit a SELECT * query to Oracle. Yikes! There are now hundreds of users out there using SD with more coming on board every week across the enterprise. Can such an innocuous action of clicking on a tab actually be causing this problem and if so how can we globally prevent SD from doing this?
>
If what folks on this forum are saying is true, that unbeknownst to the user, clicking on the data tab is, in the background, submitting a SELECT * FROM for the entire table, then the SD software should be smart enough and courteous enough to give the user a warning and choice to continue or limit the number of rows delevered! No ifs, ands, or buts about it.
>
The number of rows actually fetched each time from the server uses the 'Sql Array Fetch Size' preference setting. This setting is '50' by default. You access it by 'Tools -> Preferences -> Database -> Advanced.
The user can choose to scroll through as many rows as desired. If the user performs no scrolling beyond the 50 rows then no more rows will be fetched.
>
That is precisely what SQL Developer should do out of the box!
>
And that IS what SQL Develper does 'out of the box'.
>
Several SQL Developer users in our workgroup were recently black-listed by our IT department for submitting queries that ran for hours against large tables. Many of these users emphatically stated that they had not submitted ANY queries. Finally someone theorized that clicking on the data tab to view a few rows of data may be causing SD to to submit a SELECT * query to Oracle
>
A 'SELECT * FROM myTable' query will NOT run for hours. That query will almost always perform a full table scan of the table since rarely will any index contain ALL of the columns of the table including NULL columns (null columns are not indexed by heap indexes; only by bitmap indexes).
A full table scan (without an ORDER BY to sort the data) simply reads every block of the table. That reading will not prevent any other user/session from doing whatever DML they need to run.
A user can elect to SORT the data and in that case Oracle will have to sort the ENTIRE table BEFORE it can return any data to the user. A sort can definitely use a lot of resources in the background and can definitely interfere with other users/sessions that need those resources.
But the SORT issue will apply to ANY tool being used including 'SQL Assistant'. No tool exists that can feed 20 sorted rows to the user BEFORE the data has been sorted. And no tool exists that can exert ANY control over the Oracle sort process. The tool will NOT get any data until the sort is 100% complete.
Always make sure you are comparing the same use cases when you make comparisons like that.
1. Basic use of sql developer by selecting a data tab WILL issue a SELECT * FROM . . . query to the backed
2. If the filter options have NOT been modified to include sorting the query will execute very quickly and fetch the first 50 rows. Additional rows will ONLY be fetched if the user asks for them.
3. A pure SELECT * FROM query will NOT run for hours on the backend.
4. ANY tool that issues a SELECT * FROM . . . ORDER BY query will cause Oracle to perform a full table scan.
5. The likely cause of what appears to be a simple SELECT * FROM query is usually a user that selects the data tab and then goes home for the weekend leaving their machine on. That query will remain the the library cache and the session will remain but there will be no real activity or resources being used.
If you have ANY evidence that contradicts any of the above please post the specifics.
As previously mentioned by another responder the user CAN perform
Similar Messages
-
I used the computer this morning to check email. Shut it down and powered back up this afternoon and a box appeared telling me the date and time were set for before 2008 (actually for 12/31/2000) and needed to be reset. Why would this happen?
No, it had 3:30 hours left. I make it a point of not letting it drain. I haven't had a problem since then, so I'm hoping all is ok. Thanks
-
On certain web sites(with java applets embedded or rich content),sometimes browser hotkeys are beeing used with other functionality (eg.: youtube uses ctrl + tab for sliding between player controls).How can I prevent this ?
Thanks for posting this!
I would only mention that your definition is incomplete for this -
Contextual selector A type of Style Sheet Selector that
and that it's most often referred to now as a Descendent selector, not a contextual selector. It's basically the same as the Compound selector that you have already defined.... -
I deleted 4 accounts and the mail app keeps trying to contact the old account server causing thousands of emails to be processed and causing my ISP to charge my account 20-30GB of data. Why is this happening and how do I stop this activity?
I only now have 3 accounts!
The old accounts have been deleted but the "Provide Mail Feedback" selection shows:
Mail Version: 6.5 (1508)
Total Accounts Configured: 4
Account: MFAosImapAccount
8 mailboxes:
2029 messages, 362315022 bytes
0 messages, 0 bytes
0 messages, 0 bytes
0 messages, 0 bytes
0 messages, 0 bytes
0 messages, 0 bytes
0 messages, 0 bytes
795 messages, 167250216 bytes
Account: IMAPAccount
10 mailboxes:
4 messages, 1199297 bytes
0 messages, 0 bytes
556 messages, 160661538 bytes
3036 messages, 802090564 bytes
0 messages, 0 bytes
0 messages, 0 bytes
3019 messages, 801316850 bytes
0 messages, 0 bytes
0 messages, 0 bytes
10 messages, 3104320 bytes
server information:
vendor: Google, Inc.
name: GImap
Account: MFAosImapAccount
10 mailboxes:
180 messages, 40819804 bytes
37 messages, 1013784 bytes
0 messages, 0 bytes
0 messages, 0 bytes
0 messages, 0 bytes
0 messages, 0 bytes
0 messages, 0 bytes
210 messages, 19863404 bytes
0 messages, 0 bytes
0 messages, 0 bytes
Account: LocalAccount
24 mailboxes:
7 messages, 88931 bytes
294 messages, 2849595 bytes
1 message, 6558 bytes
0 messages, 0 bytes
1 message, 9186 bytes
26 messages, 744240 bytes
0 messages, 0 bytes
2 messages, 7698 bytes
502 messages, 4398261 bytes
0 messages, 0 bytes
0 messages, 0 bytes
0 messages, 0 bytes
98 messages, 40510329 bytes
1 message, 2289 bytes
0 messages, 0 bytes
0 messages, 0 bytes
0 messages, 0 bytes
19 messages, 465695 bytes
1268 messages, 76984849 bytes
0 messages, 0 bytes
10 messages, 312327 bytes
0 messages, 0 bytes
6 messages, 113325 bytes
1 message, 10034 bytes
Total Incoming Message Rules: 1Junk Filter Mode: Automatic
number of messages evaluated: 50165
number of messages evaluated as junk: 17332
number of messages manually marked as junk: 433
number of messages manually marked as not junk: 471
training balance: -14
training debt: 741
training credit: 727
2 smart mailboxes:
1 message, 2 criteria
0 messages, 2 criteriaThe "LocalAccount" is "On My Mac" and doesn't correspond to an account on a mail server. That all I can tell you from the information provided.
-
Information in tab I was using disappeared and was replaced with details of files on my desktop and when I downloaded/accessed them etc. Why would this happen?
did you inadvertently drag a folder from your desktop into the firefox window?
try that now for clarity sake -
After updating iPod Touch to iOs 5.0, I cannot get into Game Center with previous nickname. The screen says my nickname is already in use by another account. Why did this happen and how can I fix this so I can still use the same nickname?
Did you haveany problem with updating to iOS 5? It soundsl like the update did not correctly restore from the backup that iTunes mnakes as the fisr step of the update.
-
I have my ipad notes linked to gmail and suddenly disappeared when I put the sim card into a new iphone, the funny thing is that almost all disappeared except 4 and with different dates up to two years. Why did this happen? No way to recover them?
Wow, Karan Taneja, you've just embarrassed yourself on a worldwide support forum. Not only is your post ridiculous and completely inappropriate for a technical support forum, but it also shows your ignorance as to whom you think the audience is. Apple is not here. It's users, like you.
If you would have spent half the time actually reading the Terms of Use of this forum that YOU agreed to by signing up to post, as you did composing that usesless, inappropriate post, you (and the rest of us on this forum) would have been much better off. -
I am trying to use macro express and adobe acrobat 9 profession keeps shutting down, why is this happening? I tried to run as administrator already as well on both Macro Express and in Adobe and it still keeps shutting down.
same problem, it's been happening to me for a week or two now i'm thinking about backing up my documents and just wiping it completely, see if that works. Has anyone else tried this? I'm loosing time and have already lost a good few hours of work as it just crashes randomly. need help!!!
- saving these threads on my favourites cause i'm about to crash . . . -
“DSCF0019.RAF” could not be used because the original file could not be found.
Why is this occuring on my iMac with Lightroom 5?
Is there something I've done that causes some images to go missing?Why is this occuring
The usual reason is because you moved the file to another location using Finder. No way for LR to know that unless you tell it by clicking on the exclamation mark icon in the grid view and then clicking "Locate". -
I use Firefox 6.0.2. When I shut the browser and try to reopen it I get a message saying that Firefox is still running and that I should reboot. This happens constantly. Why does this happen and is there a way around it?
There are a few possible causes for that error, for details see [[Firefox is already running but is not responding]].
-
My iMessage doesn't work on my iPad. My software is up to date, wifi is working, apple ID is working but the verification stops and goes back to sign on. Why does this happen?
Look at no. 5 in this text which was copied from Apple's support site for troubleshooting Messages and FaceTime activation.
Troubleshooting Apple ID activation
After each step, toggle iMessage and FaceTime off and then on again in Settings > Messages and Settings > FaceTime.
Update to the latest version of iOS.
Ensure that you have an active Internet connection. You can complete activation using Wi-Fi or a cellular data connection. Check your Wi-Fi network using standard Wi-Fi network troubleshooting.
If you receive an error when signing in to your Apple ID, visit myinfo.apple.com, sign in to your account, and ensure that the primary email address has been verified.
Ensure that FaceTime has not been restricted: Settings > General > Restrictions > FaceTime.
In Settings > General > Date & Time, ensure that Set Automatically is on. If Set Automatically is on, but the incorrect time zone is displayed, turn Set Automatically off and then choose the correct time zone, date, and time. Then turn Set Automatically on again.
Enable iMessage and FaceTime while connected to another Wi-Fi network in a different location.
This is the support kb article.
http://support.apple.com/kb/ts4268 -
when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?, when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?
You only asked the question 4 times. You have to repeat it at least 10 times to get an answer here, and then only if you supply useful info about your phone.
-
Yesterday I updated to FF6, today all the sites and emails I use, were logged out, that's quite a few, it was a pain to remember all PW' and user names. Why did this happen? Will it reoccur?
Yesterday I updated to FF6, today all the sites and emails I use, were logged out, that's quite a few, it was a pain to remember all PW' and user names. Why did this happen? Will it reoccur?
-
When I use Siri with Voiceover on my iPHONE 4S. Voiceover will not respond to any finger jestures. Why does this happen?
Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]] -
I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???
Welcome to the Apple Community.
Enter the details of her second account at system preferences> mail, contacts & calendars.
Maybe you are looking for
-
Creation of 1:M relationship in CRM on demand
Could you guys please explain me on how to create a 1:M Relationship on Opporunity Product Revenue and Custom Object. thanks Subbu
-
Error in HUMO transaction only in Spanish language?
Hi friends, in transaction HUMO, if I use selection parameter 'System status', to be more precise, if I give it the value 'I0517' (LOCK) and I enter a Handling Unit which has this status, the report finds this HU. Nevertheless, if I logon in Spanish
-
Apple ID disabled on Iphone, I can not access my music or apps!
I have been able to log on here using my apple id, but on my Iphone the message comes up eveytime Your Appl ID has been disabled. with the button OK It is so frustrating!!! What can I do I have changed the password secrurity question name even on th
-
Need help in framing ABAP code
Hi, Can someone help me frame code for the below logic In start routine, if records that have a common record for PO 0OI_EBELN in ITROMML ODS and 0AC_DOC_NO on ITROFIL ODS , then the entire PO record details will be deleted from ITROMML ODS . Therefo
-
Installed Flash Player 12 ActiveX not recognised - Windows 7 & Internet Explorer
On 2/5/2014 I downloaded Adobe Flash Player 12 ActiveX for the 4th time and yet the system is giving me an error message saying "You're mission the video converter tool." I have a HP Windows 7 system. Back in October, I was able to use the Internet