Profile in PL/SQL Developer - Doubt
I have an application that accesses an oracle. How do I monitor bank in which my application is asking? Is there an application for this, type a profile?
I've read your post several times and I can't figure out what you're asking.
Can you restate it another way?
Similar Messages
-
SQL Developer Slow typing - v2.1.0.63 on Windows 7 (32bit)
Ever since changing to a laptop with Windows 7 (32 bit), and to SQL Developer 2.1, ---- FROM Windows XP and SQL Dev 1.5.1 which worked very well --- I have had a drastic change in response time typing into the editor area.
My only symptoms were waiting for my typing to show up on the screen. It tried to fill in keywords slowly. I was used to it showing me table names and column names to use in the old version -- didn't happen in new version -- but at least I could run my scripts. Also I didn't like the new way of keeping the old Query Result tabs open ... I was surprised about that. Now I have to specifically close each one.
So then I tried to 'fix' the slowness by changing my settings a bit. I have no idea what half that stuff is refering to in the Tools > Preferences area. I must have really messed it up. :( Now I can't hardly see anything - parts are missing ... I have to Wait and wait and wait for it to respond to a mere click....
The page doesn't fill properly, I have to 'hover' over some parts to get them to show, I have to click on other parts to get the full script to show, ---- I did finally run 1 script. The drop down lists from the top stay there - i.e. can't get the focus to change -- the lists stay down (in a ghostly way - half there) even though I'm trying to get into another list. (Hope that makes sense... like Tools, Help, View).
The only things I do in SQL Developer are: SQL scripts. That's it. I open files and run them. I open various connections. I type in SQL commands and run them. I'm not asking for all these bells and whistles that seem to really slow it down. I want to find my DB objects occasionally using a wildcard.
This is awful! What happened to SQL Developer?? I used to love it!
Somebody please help me get it back!
Thank you.First of all, did you install in a new, clean directory? Else you'll have a corrupted installation.
Second, better start over with clean settings; deleting the [Windows user profile]\Application Data\SQL Developer\systemXXX dir will restore settings to default.
Third, you could skip the above and start over with the latest v3.0...
Hope that helps,
K. -
Connection to SQL Developer Data Modeler Fails
All,
I am using Oracle SQL Developer Data Modeler version 3.0.0.665 in an Oracle 10g database environment. When I try to import DDLs, I get the following error message:
NoSuchMethodError:
oracle.i18.ntext.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/CharacterConverter;I use the same connection profile in Oracle SQL Developer version 1.5.0.53, and my connection works fine there, but the same credentials in SQL Developer Data Modeler fails with the above error message. Any thoughts what causes this connection problem?
Thank you,
SeyedHi Philip,
Thank you so much for the information. Your suggested solution resolved my problem. For some reason when I first installed the Data Modeler, it worked fine and I was able to save the result into PDF files. Then my connection went bad and I posted this question on this forum.
Again thank you very much,
Seyed -
Find DbObject Wizard is not available in Sql developer 3.0
Hi,
when I click on View -> find DB Objects, I m not seeing that screen anymore.
Initially when I installed for the first time I did use it, but now I cannot find it.
Is there any issue with the docking ?
This is most important attribute I like about sql developer which seems to be having some issue in latest version
Please let us know if there is any preference setting to getting it back.
I dont want re install it as I ve done lot of preference setting.
Thanks,
AkashDeleting the [Windows user profile]\Application Data\SQL Developer\system3.0.03.45\o.ide.11.1.1.4.37.59.7\windowinglayout.xml file should restore default settings.
Hope that helps,
K. -
How to do profiling in sql developer?
how to do profiling in sql developer?
also-can somebody plz suggest a gud site for information on pl/sql code profiling.You might want to ask your SQL Developer-related question in the SQL Developer forum: SQL Developer
gud site for information on pl/sql code profiling.Online Oracle Documentation:
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/tuning.htm#LNPLS01214
and/or
http://www.oracle-base.com/articles/9i/DBMS_PROFILER.php
Edited by: hoek on May 19, 2010 12:55 PM -
Profiler in SQL Developer not working
When I run the profiler in SQL developer , I get the following error.
"Directory exists; check if /tmp exists on file system, and oracle has permission to write there. "
This error sounds like an UNIX error but I am running SQL developer on Windows 7 (64) OS. Has anyone seen this or knows how to get around it.
Thanks so much..Hi,
According to the SQL Developer 3.1.04.72 documentation, the "get" command (among others) is not supported:
Help|Table of Contents|SQL Developer Concepts and Usage|Using the SQL Worksheet|SQL*Plus Statement Supported and Not Supported...
so options are limited. If sqlplus is accessible and using it as an "external tool" won't conflict entirely with local policy, these links might interest you:
Re: sqlplus vs sqldeveloper
Easy Connect and sqldev.conn issues
Otherwise you may add a feature request for this on the SQL Developer and see if such an enhancement is a priority for the community.
Regards,
Gary
SQL Developer Team -
Two user profiles in SQL Developer
Hello,
is it possible to start 2 instances of SQL Developer on Windows with 2 different user profiles at the same time? I like to have one instance with a set of connections and one instance with another set of connections. Maybe it is also possible to color the connections with a different color (like TOAD) at this possibility I don't need 2 different profiles. I need for better overview which project I'm working on. Ok, I can name my connection with prefixes for example, but when many SQL windows are opened, the differences are not so clear.
I'm also happy for different solutions.
Best regards
CarstenMmm, yes, but you could mix up a batch file for using one file or the other.
And this is really just a Java parameter, so you should be able to just pass it as command line parameter to the executable, like:
sqldeveloper -J-Dide.user.dir="%SQLDEVELOPER_USER_DIR%"Hope that helps,
K.
Edited by: -K- on 07/11/2011 14:27 -
SQL Developer and Windows XP Profile space
I work in a secure environment where my laptop is fairly tightly controlled. In particular all laptop users are restricted to a Windows user profile space of 20Mb. This is space in C:\Documents and Settings\<username>\Application Data. This is to stop people building up huge profiles that take an age to download and synchronise with the logon servers.
SQL Developer writes stuff in this directory (as does the Data Modeler and JDeveloper). In particular windowinglayout.xml is growing and is now 1Mb in size. I am running out of space in my profile and it will not be long before I am at my limit. The size of the file seems mostly to be down to the content of the element /LayoutInfo/clientLayoutData/global/view-data which has grown enormous. Much of the content seems to relate to connections and folders and I have tried to delete some connections but that seems not to have made any difference to the size of the file.
Can the content of this file be controlled? Is it possible to relocate these files somewhere else so that they don't cause me a problem? Are there other possible solutions?
Thanks in anticipation.
AndrewMarvellous K, thanks for that. Not only have I done that for SQL Developer but also managed to work out the appropriate files to amend for JDeveloper and SQL Developer Data Modeler. My profile now has a whole 5.5Mb free and my laptop is a happy bunny again.
Combined with finding where my new 11g database laptop installation has squirrelled away it's alert log I think that's enough productivity for one day; my work here is done. -
How to delete saved passwords in SQL Developer User Profiles
Hi
Can anyone advise on how to delete (or flush-out) saved passwords in SQL developer connections? I have a serious security concern about saved passwords at user level and need a quick method to remove them from the backend without actual user's intervention.
An early response is highly appreciated.
Thanks
UJI have a serious security concern about saved passwords at user levelIf you could share more about your concerns, it might help us address or alleviate said concerns. Basically if your user's desktops are secure, then so are the passwords.
To delete them w/o user intervention you would need to delete their connections by removing the file(s) from their installs. To prevent the problem from happening again, you'd need to put down a new sqldeveloper.conf file in their bin directory that would keep them from saving passwords - example here
http://www.thatjeffsmith.com/archive/2012/04/how-to-disable-save-password-in-oracle-sql-developer/ -
Password change fails in SQL Developer with verify function...
A couple of months ago I enforced a password verify function on our 11.2.0.3 databases and also one legacy 10.2.0.4 database.
At the time I tested on my account (which had elevated privileges...doh!). Now some users are hitting expiry, they can't change it via SQL Developer.
If I create a user with 'create session' privilege and set their profile to one that uses the verify function (see both below), I then log in to SQL Developer (we have tried with versions 3.1 (Windows) and 3.2 (Linux) with same failure results.
BTW,.. the password verify function enforces the following:
password must be minimum of 8 characters
password must not be the same as the user name, or user name (1-100)
password must contain at least a single digit
password must contain at least a single character
1. Works = I log into the local server and run command line SQLPlus, type 'password' and update. I can successfully change my password.
2. Fails = I log into the local server and run command line SQLPlus, type 'alter user <me> identified by <newpwd>;' I get:
TEST: SUTEMP > alter user sutemp identified by carport9999;
alter user sutemp identified by carport9999
ERROR at line 1:
ORA-28221: REPLACE not specified
This error is because the account does not have the 'alter user' privilege. I'm okay with this, as I don't want our users having this privilege.
3. I start SQL Developer 3.2, type 'alter user <me> identified by <newpwd>;' I get the same ORA-28221 error as above. That is fine, and as expected.
4. Now in SQL Developer, I type 'password', set a valid password, but I get 'Failed to change password' in the Script Output tab.
I have a database 'after servererror on database' trigger set, and querying the database table it is logging into, I see a record with a date stamp matching my failure with a server_error=28221 (the same as above).
So I'm wondering if I'm doing something wrong here, or if this is a bug in SQL Developer. I don't want standard users having 'alter user' privileges, but I do want to enforce password verification.
I get the same result on three 11.2.0.3 databases (haven't tried any more but suspect same results for others) and one legacy 10.2.0.4 database, and using SQL Developer 3.1 and 3.2.
DBA_PROFILE used:
PROFILE
RESOURCE_NAME
RESOURCE LIMIT
CTRU
COMPOSITE_LIMIT
KERNEL DEFAULT
CTRU
SESSIONS_PER_USER
KERNEL 10
CTRU
CPU_PER_SESSION
KERNEL DEFAULT
CTRU
CPU_PER_CALL
KERNEL DEFAULT
CTRU
LOGICAL_READS_PER_SESSION KERNEL DEFAULT
CTRU
LOGICAL_READS_PER_CALL
KERNEL DEFAULT
CTRU
IDLE_TIME
KERNEL DEFAULT
CTRU
CONNECT_TIME
KERNEL DEFAULT
CTRU
PRIVATE_SGA
KERNEL DEFAULT
CTRU
FAILED_LOGIN_ATTEMPTS
PASSWORD 10
CTRU
PASSWORD_LIFE_TIME
PASSWORD 180
CTRU
PASSWORD_REUSE_TIME
PASSWORD DEFAULT
CTRU
PASSWORD_REUSE_MAX
PASSWORD 5
CTRU
PASSWORD_VERIFY_FUNCTION PASSWORD VERIFY_FUNCTION_11G
CTRU
PASSWORD_LOCK_TIME
PASSWORD .002
CTRU
PASSWORD_GRACE_TIME
PASSWORD 21
16 rows selected.
Verify Function used:
$ cat utlpwdmg.sql
Rem
Rem $Header: utlpwdmg.sql 02-aug-2006.08:18:05 asurpur Exp $
Rem
Rem utlpwdmg.sql
Rem
Rem Copyright (c) 2006, Oracle. All rights reserved.
Rem
Rem NAME
Rem utlpwdmg.sql - script for Default Password Resource Limits
Rem
Rem DESCRIPTION
Rem This is a script for enabling the password management features
Rem by setting the default password resource limits.
Rem
Rem NOTES
Rem This file contains a function for minimum checking of password
Rem complexity. This is more of a sample function that the customer
Rem can use to develop the function for actual complexity checks that the
Rem customer wants to make on the new password.
Rem
Rem MODIFIED (MM/DD/YY)
Rem suren 05/09/13 - customise for NIHI use
Rem asurpur 05/30/06 - fix - 5246666 beef up password complexity check
Rem nireland 08/31/00 - Improve check for username=password. #1390553
Rem nireland 06/28/00 - Fix null old password test. #1341892
Rem asurpur 04/17/97 - Fix for bug479763
Rem asurpur 12/12/96 - Changing the name of password_verify_function
Rem asurpur 05/30/96 - New script for default password management
Rem asurpur 05/30/96 - Created
Rem
-- This script sets the default password resource parameters
-- This script needs to be run to enable the password features.
-- However the default resource parameters can be changed based
-- on the need.
-- A default password complexity function is also provided.
-- This function makes the minimum complexity checks like
-- the minimum length of the password, password not same as the
-- username, etc. The user may enhance this function according to
-- the need.
-- This function must be created in SYS schema.
-- connect sys/<password> as sysdba before running the script
CREATE OR REPLACE FUNCTION verify_function_11G
(username varchar2,
password varchar2,
old_password varchar2)
RETURN boolean IS
n boolean;
m integer;
differ integer;
isdigit boolean;
ischar boolean;
ispunct boolean;
db_name varchar2(40);
digitarray varchar2(20);
punctarray varchar2(25);
chararray varchar2(52);
i_char varchar2(10);
simple_password varchar2(10);
reverse_user varchar2(32);
BEGIN
digitarray:= '0123456789';
chararray:= 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
-- Check for the minimum length of the password
IF length(password) < 8 THEN
raise_application_error(-20001, 'Password length less than 8');
END IF;
-- Check if the password is same as the username or username(1-100)
IF NLS_LOWER(password) = NLS_LOWER(username) THEN
raise_application_error(-20002, 'Password same as or similar to user');
END IF;
FOR i IN 1..100 LOOP
i_char := to_char(i);
if NLS_LOWER(username)|| i_char = NLS_LOWER(password) THEN
raise_application_error(-20005, 'Password same as or similar to user name ');
END IF;
END LOOP;
-- Check if the password contains at least one letter, one digit
-- 1. Check for the digit
isdigit:=FALSE;
m := length(password);
FOR i IN 1..10 LOOP
FOR j IN 1..m LOOP
IF substr(password,j,1) = substr(digitarray,i,1) THEN
isdigit:=TRUE;
GOTO findchar;
END IF;
END LOOP;
END LOOP;
IF isdigit = FALSE THEN
raise_application_error(-20008, 'Password must contain at least one digit, one character');
END IF;
-- 2. Check for the character
<<findchar>>
ischar:=FALSE;
FOR i IN 1..length(chararray) LOOP
FOR j IN 1..m LOOP
IF substr(password,j,1) = substr(chararray,i,1) THEN
ischar:=TRUE;
GOTO endsearch;
END IF;
END LOOP;
END LOOP;
IF ischar = FALSE THEN
raise_application_error(-20009, 'Password must contain at least one digit, and one character');
END IF;
<<endsearch>>
-- Check if the password differs from the previous password by at least
-- 3 letters
IF old_password IS NOT NULL THEN
differ := length(old_password) - length(password);
differ := abs(differ);
IF differ < 3 THEN
IF length(password) < length(old_password) THEN
m := length(password);
ELSE
m := length(old_password);
END IF;
FOR i IN 1..m LOOP
IF substr(password,i,1) != substr(old_password,i,1) THEN
differ := differ + 1;
END IF;
END LOOP;
IF differ < 3 THEN
raise_application_error(-20011, 'Password should differ from the old password by at least 3 characters');
END IF;
END IF;
END IF;
-- Everything is fine; return TRUE ;
RETURN(TRUE);
END;
alter profile ctru limit password_verify_function verify_function_11g;
alter profile default limit password_verify_function verify_function_11g;
alter profile web_and_it limit password_verify_function verify_function_11g;okay,... I just saw another website which shows I should put in the 'replace <oldpwd>' clause in.
This works in SQL Developer: alter user sutemp identified by carport999 replace garage999;
So why does the 'password' command fail? (Developers: it would also be helpful to have the ORA- error displayed as opposed to 'Failed to change password') -
Can't see package body in SQL Developer version 3.1
Hello,
Have been scouring the boards and google for this issue for quite some time now. I think I have discovered the issue, but would like to see if a work around exists.
Problem:
I am unable to view packages, procs, VIEW DDl, etc. of other users. When a colleague of mine uses Toad, with the EXACT same connection ID and setting, they are in fact able to see all the source code...
What I've found:
Looking around, apparently Toad and SQL Dev work in different ways. Toad apparently uses DBA_SOURCE and DBA_OBJECTS to generate everything.
SQL Dev uses the META_DATA package to retrieve everything. Further, in order to use the meta_data package, I need the grant catalog role, or something like that.
Is there a way to set up SQL Developer to use the same method as Toad to retrieve the code? It's a fact that I WILL NOT receive the catalog permission per the DBAs... I can write out the
select text from DBA_SOURCE where OWNER = 'OWNER' and NAME = 'OBJECT NAME';
But, I would prefer to just be able to use the tree nodes and click on objects to generate all this. Anyone know of any setting for this?Hi,
No doubt SQL Developer wants to be competitive with Toad but, in terms of raising red flags over inconsistencies in basic functionality, any difference versus SQL*Plus would be more surprising than versus Toad.
DBA_SOURCE and DBA_OBJECTS are public synonyms available in any standard Oracle installation, but you also need the SELECT ANY DICTIONARY privilege to get maximum benefit from them. That lets you view code in another user's schema without having an explicit privilege (like EXECUTE) on a package/procedure/function.
If you already do have such privileges (either SELECT ANY DICTIONARY, or EXECUTE or DEBUG on specific executable objects), and the Code tab is empty, then you will need to provide a test case, as Vadim indicates.
In terms of any case where SQL Developer utilizes DBMS_METADATA, my understanding is the API relies on the SELECT_CATALOG_ROLE privilege if a user does not own or otherwise have an explicitly granted privilege on an object. Developers like to use this API wherever possible in place of writing a script that might break or need maintenance to deal with future versions of the Oracle database.
I have no idea how Toad works, and I probably shouldn't speculate, but here is one scenario that could explain the case you mention without the connection user having any of the privileges noted above. Let's say the Toad client software calls a PL/SQL package that selects from DBA_SOURCE and is installed in a schema that has the SELECT ANY DICTIONARY privilege. All Toad users are granted EXECUTE on this package and therefore inherit SELECT ANY DICTIONARY in the context of running the package. This will work, but at the price of complicating installation of Toad. Also, it doesn't afford an administrator fine-grained control over metadata security.
Regards,
Gary
SQL Developer Team -
SQL Developer 2.1.1.64 - code template does not work in Windows Vista
I have been trying to import a code template in SQL Developer 2.1.1.64 / Windows Vista using the following steps:
1. Import template (xml) file using "Preferences > Database > SQL Formatter > Import..." option. Pressed "OK" button.
2. Clicked on "Preferences > Database > SQL Formatter > Oracle Formatting".
I expected to see the new profile under "Profile" drop-down-list-box, but it does not appear there.
I tried putting the template (xml) file under various locations, including:
(a) C:\Users\<user_name>\
(b) C:\Users\<user_name>\AppData\Roaming\SQL Developer\
Please let me know any suggestions that you may have.
Thanks in advance.I got it to work. In step 1 that I mentioned, "OK" button should not be pressed; go to step 2 without pressing "OK" button.
-
SQL Developer 3.0 Final Available with Data MIner
A new SQL Developer extension, Oracle Data Miner is the graphical user interface for Oracle Data Mining, an option to the Oracle Database Enterprise Edition. Oracle Data Mining provides in-database functionality that enables users to discover patterns and relationships hidden in their data to predict customer behavior, identify key factors, find new clusters and their profiles, anticipate and combat churn, detect anomalous behavior and solve a wide range of data-driven problems. For more information, visit Oracle Data Miner on OTN http://www.oracle.com/technetwork/database/options/odm/index.html
Hi Mikka,
Only simple PL/SQL Records are currently supported i.e. those that do not contain repeating or optional components and where all the components are themselves supported. This restriction is in place due to the fact that we use JDBC as the parameter passing mechanism which does not directly support the PL/SQL Record type.
ANYTYPE and ANYDATA are not currently supported as they have a dynamic value type and therefore must be programmatically set. In the future, it may be possible to support these through the dynamic value and and validation features.
This will remain so for the final version.
Regards,
Richard -
SQL Developer 3.0 error: The parameter is incorrect
I am running a virtualized the SQL Developer 3.0 on windows XP. Today I noticed that there was an error when I created a connection profile.
Source: oracle.dbtools.raptor.navigator.folders.DatabasesFilter
Message: The parameter is incorrect
Despite of the error, I was able to connect to the target database and had no problem with any database operations. The newly added connections were not saved upon exit. Any idea?In another post on a different subject, Gravenstein posted the following:
<quote>There aren't very many files that RoboSource Control excludes. Let's see, a quick tally of my RH6 webhelp project shows the following to be excluded:
* projectname.cpd
* projectname.pss
* projectname.hhp
* projectname.trl
* ehlpdhtm.js
That's not very many, but the consequences of adding them to RSC are severe--things get very messed up, very fast. That's why I always let RH control the upload into RSC. Not an option if you're not using RSC, I realize.
</quote>
I don't work with source control but I would imagine that list applies to other source control programs and to RH8.
See www.grainge.org for RoboHelp and Authoring tips -
Query Regarding Oracle SQL Developer
Hi Guru's,
There is a confusion regarding Installing SQL Developer, whether i need to install Oracle Software on my machine so that i use SQL Developer from my machine or i use SQL Developer without installing Oracle Software as i check the documentation for installing SQL Developer it gives info for installing SQL Developer JDK need to be installed and the correct path need to be initialized. May be this is stupid question but i want to clear my doubt.
Any suggestion for the same. Thanks in advance.Hi,
Install Oracle client Software first then SQL Developer
Thanks,
Ajay More
http://www.moreajays.com
Maybe you are looking for
-
Hi all, I need help. I'm stuck. I'm trying to create a trigger in a TABLE_1 table. I've created a view that calls a function and outputs document number(number value) and the addition of business days (number value). VIEW CASE_A DOC BUSINESSD 21562 5
-
Hi, Is there any difference between BRF and BRF+ with respect to SRM 7.0. Is BRF + supported in SRM 7.0. Rgds, Madhan
-
Hey, how do I download both HD and SD versions of Movies in iTunes? HD won't play on iPod. Thanks!
-
Does Final Cut 7 support direct importing of MTS files from an HD Camera
I have Final Cut Express 4.0.1 and have been importing MTS files from my Camera's Hard Drive to my Mac through the Log and Transfer feature. However, during the upload it converts the files to .MOV. The resulting .MOV files are much larger than the o
-
I activated dication in the preferences and when I double press the Fn key twice the microphone pops up and makes a tinkle. When I say something I can see the sound meter responding to my voice but nothing else happens. Eventually it shuts down of it