Quantcast
Channel: Toad for Oracle Forum - Recent Threads
Viewing all 4385 articles
Browse latest View live

RE: Viewing oracle XML table in Toad data grid generates ORA-04036 memory error - Toad memory leak?

$
0
0

As suggested, I tried this in the TOAD editor and it returned the results quickly without error.  I have asked my DBA to return the PGA memory setting to a reasonable number and will try again to fully test the suggestion.

If it does work, then the next question is if TOAD will fix the bug in TOAD.

Thanks, and will post my results once I am able to run the test.

Joe


Getting unusual characters when hitting space and tab, help to resolve

RE: Connection Toad error Invalid Home Name

$
0
0

Follow these instructions which have been known to work with Toad for Oracle:

 

Problem solved,

solition:

 

To download an Instant Client, go to the following link:

 

http://www.oracle.com/technetwork/topics/winsoft-085727.html

 

Select the “instantclient-basic-nt-12.1.0.2.0.zip” file to download.

 

NOTE: If you wish for the SQL Plus tool for the Instant client, then you can also download the "instantclient-sqlplus-nt-12.1.0.2.0.zip" file.

 

A. Extract all Instant Client files to one directory file length path.

 

Example: C:\Ora12c_32bit

 

NOTE: If you downloaded the SQL Plus tool, extract all the files to the same location as the Instant client files. i.e. C:\Ora12c_32bit.

 

 

B. Place the new Oracle_Home path of Instant Client to the Environment Variable PATH.

 

1. Right click on My Computer and select Properties.

2. In the Advanced tab select "Environment Variables" button.

3. In the System Variables section, highlight Path and press edit. Edit your path so that your Oracle Instant Client directory path is first.

 

For example: PATH=C:\Ora12c_32bit;

 

NOTE: Ensure you have a semicolon at the end, no space.

 

4. Click OK on all windows.

 

 

C. If planning to use TNSnames.ora file to Connect try the following:

 

1. Right click on the Computer icon on your Desktop and choose Properties option.

2. In the System window click on Advanced system settings link in the left pane.

3. In the System Properties window select Advanced tab and click on Environment Variables button.

4. Under the System variables section of the new window, NEW button.

5. Enter TNS_ADMIN for the variable name and for the variable value type in C:\TNSnames.

6. Then manually create a folder called TNSnames in your (C:) drive and paste your TNSnames.ora file there

RE: Connection Toad error Invalid Home Name

$
0
0

Follow these instructions which have been known to work with Toad for Oracle:

 

To download an Instant Client, go to the following link:

 

http://www.oracle.com/technetwork/topics/winsoft-085727.html

 

Select the “instantclient-basic-nt-12.1.0.2.0.zip” file to download.

 

NOTE: If you wish for the SQL Plus tool for the Instant client, then you can also download the "instantclient-sqlplus-nt-12.1.0.2.0.zip" file.

 

A. Extract all Instant Client files to one directory file length path.

 

Example: C:\Ora12c_32bit

 

NOTE: If you downloaded the SQL Plus tool, extract all the files to the same location as the Instant client files. i.e. C:\Ora12c_32bit.

 

 

B. Place the new Oracle_Home path of Instant Client to the Environment Variable PATH.

 

1. Right click on My Computer and select Properties.

2. In the Advanced tab select "Environment Variables" button.

3. In the System Variables section, highlight Path and press edit. Edit your path so that your Oracle Instant Client directory path is first.

 

For example: PATH=C:\Ora12c_32bit;

 

NOTE: Ensure you have a semicolon at the end, no space.

 

4. Click OK on all windows.

 

 

C. If planning to use TNSnames.ora file to Connect try the following:

 

1. Right click on the Computer icon on your Desktop and choose Properties option.

2. In the System window click on Advanced system settings link in the left pane.

3. In the System Properties window select Advanced tab and click on Environment Variables button.

4. Under the System variables section of the new window, NEW button.

5. Enter TNS_ADMIN for the variable name and for the variable value type in C:\TNSnames.

6. Then manually create a folder called TNSnames in your (C:) drive and paste your TNSnames.ora file there

RE: Getting unusual characters when hitting space and tab, help to resolve

$
0
0

Those characters are not really in your text, they are just there to make the whitespace visible.   To turn that off, go to Options -> Editor -> Display.   Uncheck "Show Whitespace".

RE: Viewing oracle XML table in Toad data grid generates ORA-04036 memory error - Toad memory leak?

$
0
0

I'd love to fix it, but the vendor of our third party library that connects to the database says it's an OCI problem, and Oracle says that it's not a documented feature, so we're kind of stuck on this one.   I've gone back and forth on this with both of them.   It only happens when the OCI is used in Unicode-enabled mode, which Toad uses, which I believe is why you don't see the problem in SQL*Plus.

If you go to SB-Tables-Data, we automatically put the GetClobVal() in the query there, so that's a little help.

RE: Viewing oracle XML table in Toad data grid generates ORA-04036 memory error - Toad memory leak?

$
0
0

Thanks, you have been very helpful.  I just tested your suggested getclobval() query with a reasonable PGA setting and it worked.  

I don't understand the last sentence of your last reply though.  If SB-tables-Data is the schema browser and getclobval() is automatically a part of the query that fills the data grid, I don't understand why it errors in the grid, but not in the Toad editor when I run the query there.  Unless, SB-Tables-Data is something else?

Thanks

JOe

RE: Viewing oracle XML table in Toad data grid generates ORA-04036 memory error - Toad memory leak?

$
0
0

SB-Tables-Data automatically puts GetClobVal in the query because we know about the table's columns before you go to that tab.

The editor runs whatever you type in.


RE: Viewing oracle XML table in Toad data grid generates ORA-04036 memory error - Toad memory leak?

$
0
0

Are you saying that SB-Tables-Data throws the error?   If so, click the 2nd toolbar button (view/edit query) there to see what query is being run.   Maybe it's not putting in GetClobVal as it should for some reason...

RE: Viewing oracle XML table in Toad data grid generates ORA-04036 memory error - Toad memory leak?

$
0
0

I found the issue. It is throwing the error in SB-tables-data, and I checked the query.  It is including the getclobval().  The query also throws the error in the editor.  The problem is that I had the results sorted by the primary key.  When I removed the sort by primary key in the data grid and in the test query in the editor they both run without issues.  

So, the real problem was it choked on the sort. (17,591 rows).  Does that make sense though?

Thanks

Joe

RE: Viewing oracle XML table in Toad data grid generates ORA-04036 memory error - Toad memory leak?

$
0
0

That surprises me that a sort on 17K rows would cause such a problem but if the sort is performed with an "ORDER BY" in the query, then it doesn't sound like it has anything to do with Toad (Oracle does the sorts, not Toad)

You can probably reproduce it in SQL*Plus, and maybe with a query that doesn't even return any rows, like:

create table blah

as select .....

order by ....;

RE: Viewing oracle XML table in Toad data grid generates ORA-04036 memory error - Toad memory leak?

$
0
0

Oddly, the suggested create table runs without error and reasonably quick:

Create table test_xml as select sy_history_ID, sy.sy_Updates_XML.getclobval() as sy_xml from sy_history sy order by sy_history_ID;

RE: Viewing oracle XML table in Toad data grid generates ORA-04036 memory error - Toad memory leak?

$
0
0

The full query in Toad included "order by rowid desc nulls last;"  so I tried the last create table with "order by sy_history_ID desc" and it worked fine.  So, I tried "order by sy_History_ID desc nulls last;" and then the query failed in the oracle sql command window.

ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT

ORA-06512 at "SYS.XMLTYPE", line 138

Joe

RE: Viewing oracle XML table in Toad data grid generates ORA-04036 memory error - Toad memory leak?

$
0
0

That's good (from a Toad perspective, anyway).   Open a case with Oracle and they'll help you   I'm out of ideas anyway.  :-)     Be sure to tell them that you can reproduce the problem in SQL*Plus. They tend to kick them back if you tell them you have problems in Toad!

RE: Toad 12.5 Source Control: Microsoft Visual Sourcesafe

$
0
0

Hi Brad,

Can i get any document how to configure the Toad 12.9 Team Coding to use Microsoft Team Foundation Server 2015? I couldn't find it on internet.

I have one for Toad 10.6 Team Coding to use Microsoft Team Foundation Server 2010?

Please let me know.


RE: Toad 12.5 Source Control: Microsoft Visual Sourcesafe

Toad 12.5 Source Control: Microsoft Visual Sourcesafe

$
0
0
Hi,

What happened to Source Control: Microsoft Visual Sourcesafe in Toad 12.5?  

Our shop still uses it, and the option for it is gone in 12.5 (it was available in 12.1.1.1).  Can this be restored ASAP?.1

Thanks!

RE: Toad 12.9.0.71, ASH browser time filter bug

$
0
0

Yes bug is still present.

what kind of inf you need?

P.S.
Date format settings is somewhere before set or you expect that this as default on each client?

RE: How to scan for changes between Oracle and Team Foundation, all objects.

$
0
0
Which version of Toad are you running?
 

RE: Toad 12.9.0.71, ASH browser time filter bug

$
0
0

Turn on spool SQL and send me the output of the query that runs when you open the ASH Browser (with your filter set).

Also send me a screen shot of your filter.

I am not sure that I understand your P.S. question, but I hope this answers it:   The filter settings for ASH Browser are controlled by the dialog that comes up when you click the Funnel icon at the top of the window (right next to the change session icon).   The default setting is "not filtered", but the filter is remembered once you set it.    If the icon is red, the filter is set.   If the icon is grey, the filter is not set.

Viewing all 4385 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>