Damir Vadas
Follow / 20 Nov 2017 at 8:05am / Toad for Oracle

Bug with graph after several alter scenario / bind set

Expand content
SQL Opt 9.2.2 (latest production). This happened when you alter several times scenarios and bind sets...graph shows what it wants (not showing real values). This happened when you test Alt12 and Org...

SQL Opt 9.2.2 (latest production).

This happened when you alter several times scenarios and bind sets...graph shows what it wants (not showing real values).
This happened when you test Alt12 and Org and do not touch Alt9 in this test.
Tried to switch between Performance variation and "overal", but seems that "SQL Optim" shows only Alt 9 and nothing more-like nothing exists.

Brg

Damir

8 0 / Create an account to join the discussion.
Hans-Werner Schlote
Follow / 16 Nov 2017 at 12:21pm / Toad for Oracle
Latest post by on 20 Nov 2017 at 2:56am

Optimize context dependent queries

Expand content
Let's say we have a view depending on a package variable like this: <quote> CREATE OR REPLACE PACKAGE ptest AS ps_login VARCHAR2(100 CHAR); FUNCTION get_login RETURN VARCHAR2; PROCEDURE...

Let's say we have a view depending on a package variable like this:

<quote>

CREATE OR REPLACE PACKAGE ptest
AS
ps_login VARCHAR2(100 CHAR);

FUNCTION get_login
RETURN VARCHAR2;

PROCEDURE set_login(is_login IN VARCHAR2);
END ptest;
/


CREATE OR REPLACE PACKAGE BODY ptest
AS
PROCEDURE set_login(is_login IN VARCHAR2)
AS
BEGIN
ps_login := is_login;
END set_login;

FUNCTION get_login
RETURN VARCHAR2
AS
BEGIN
RETURN ps_login;
END get_login;
END ptest;
/

CREATE OR REPLACE VIEW v$test
AS
SELECT ptest.get_login FROM dual;

</quote>

Now I want to optimize a query to v$test like 

SELECT * FROM v$test;

Of course this is a very simple example.

The basic question is how to optimize context dependent queries with sql optimizer?

Unanswered 58 1 / Create an account to join the discussion.
Hans-Werner Schlote
Follow / 8 Nov 2017 at 2:31pm / Toad for Oracle
Latest post by on 13 Nov 2017 at 6:50am

ORA-01039

Expand content
SQL Optimizer for Oracle 9.2.2 SELECT owner, synonym_name, table_owner, table_name FROM dba_synonyms dba_syns WHERE table_owner = user AND (NOT EXISTS -- no target table/view (SELECT 0 FROM user_views...

SQL Optimizer for Oracle 9.2.2

SELECT owner,
synonym_name,
table_owner,
table_name
FROM dba_synonyms dba_syns
WHERE table_owner = user
AND (NOT EXISTS -- no target table/view
(SELECT 0
FROM user_views uv
WHERE uv.view_name = dba_syns.table_name
UNION
SELECT 0
FROM user_tables ut
WHERE ut.table_name = dba_syns.table_name
UNION
SELECT 0
FROM user_objects uo
WHERE uo.object_name = dba_syns.table_name)
OR NOT EXISTS -- no grant for target table/view
(SELECT 0
FROM table_privileges tp
WHERE tp.grantee = dba_syns.owner
AND tp.table_name = dba_syns.table_name));

returns ORA-01039 while getting plan

The statement runs absolutely well when executed in TOAD for Oracle 12.12.

Any ideas?

Answered 121 2 / Create an account to join the discussion.
Damir Vadas
Follow / 13 Oct 2017 at 11:20am / Toad for Oracle
Latest post by on 19 Oct 2017 at 12:18pm

Sord order when scenarios were run in multiple times

Expand content
SQL Optimizer 9.2.2 I think I run one case in several times (parts). Then, when i wanted to sort by time, it was impossible to get the proper order. Why is this happening? brg Damir

SQL Optimizer 9.2.2

I think I run one case in several times (parts). Then, when i wanted to sort by time, it was impossible to get the proper order.

Why is this happening?

brg
Damir

Unanswered 304 9 / Create an account to join the discussion.
Damir Vadas
Follow / 10 Aug 2017 at 1:34pm / Toad for Oracle
Latest post by on 15 Sep 2017 at 6:21am

How to remove scenarios

Expand content
Hi, SQL Opt 9.2.2 x64. Why can't I remove some scenarios in overall performance graph to have ability like in "performance variation" type where I see only clicked one? No way to...

Hi,

SQL Opt 9.2.2 x64.

Why can't I remove some scenarios in overall performance graph to have ability like in "performance variation" type where I see only clicked one?

No way to remove some as you see.

Brg

Damir

Unanswered 424 5 / Create an account to join the discussion.
IbkIfe
Follow / 13 Sep 2017 at 5:23pm / Toad for Oracle
Latest post by on 13 Sep 2017 at 9:09pm

PLS-00103: encountered the symbol

Expand content
BEGIN FUNCTION coyname ( sql_id IN planchangetbl . sql_id% TYPE) RETURN VARCHAR2 IS echange planchangetbl . sql_id% TYPE; BEGIN select distinct s . sql_id , s . plan_hash_value , b . begin_interval_time...

BEGIN

FUNCTION coyname(sql_id IN planchangetbl.sql_id%TYPE)

RETURN VARCHAR2

IS

echange planchangetbl.sql_id%TYPE;

BEGIN

select distinct s.sql_id, s.plan_hash_value, b.begin_interval_time, b.end_interval_time,

s.min_snap_id, s.max_snap_id INTO echange from sys.hashchange s, sys.planchangetbl b

where s.sql_id = b.sql_id

and b.snap_id BETWEEN s.min_snap_id AND s.max_snap_id

RETURN echange;

EXCEPTION

WHEN NO_DATA_FOUND

THEN

RETURN NULL;

END;

END;

280 2 / Create an account to join the discussion.
Damir Vadas
Follow / 10 Aug 2017 at 1:29pm / Toad for Oracle
Latest post by on 11 Aug 2017 at 3:35am

Change graph line colors

Expand content
Hi, SQL Opt 9.2.2 x64. Many times if you are unlucky, result graph have similar coluors so it is hard to see the difference in graph: Is there any way to change colours? Brg Damir

Hi,

SQL Opt 9.2.2 x64.

Many times if you are unlucky, result graph have similar coluors so it is hard to see the difference in graph:

Is there any way to change colours?
Brg

Damir

Answered 261 1 / Create an account to join the discussion.
Damir Vadas
Follow / 10 Aug 2017 at 10:27am / Toad for Oracle
Latest post by on 11 Aug 2017 at 3:21am

Autosave option, is it existing?

Expand content
Hi, When dealing with lots of scenarios or lots of "different binds values" I noticed that SQL Optimizer hang sometimes (lost connection, connection timeout) or even worse, test environment...

Hi,

When dealing with lots of scenarios or lots of "different binds values" I noticed that SQL Optimizer hang sometimes (lost connection, connection timeout) or even worse, test environment db is restarted.

In all of those cases previous testing results (which may be bigger) are lost.

So I am wondering if there is existing option, or it could be added an option to save results (based on user choice). I.e.

  • Save after completed scenario
  • Save after n executions
  • Save after n minutes (on first available moment after)

In this case testing of bigger sessions would be highly easier.

Brg
Damir

P.S.

9.2.2 has fixed bug with ANSI encoding (non UTF 8) file recognition-now is automatic
Great.

269 1 / Create an account to join the discussion.
T. Ung
Follow / 12 Jul 2017 at 4:13pm / Toad for Oracle
Latest post by on 25 Jul 2017 at 12:03pm

Why, How and When to concatenate '' to column values for comparisons...

Expand content
Hello All, I am new to using SQL Optimizer for Oracle. I am trying to understand why, how and when to concatenating column values with single quotes ('') to improve or optimize SQL performance...

Hello All, 

I am new to using SQL Optimizer for Oracle. I am trying to understand why, how and when to concatenating column values with single quotes ('') to improve or optimize SQL performance and cost?

For example, I have the following excerpt of the original and optimized query suggested by the Optimizer. An alternative query introduced 2 instances involving concatenation using the pipes ("||") operator and appending '' to column values for comparison.

  1. W.WOCLASS || '' = 'WORKORDER'
  2. W.OWNERGROUP = P2.PERSONGROUP || ''

What's the purpose of concatenating '' to values for comparisons? Is it because a column used in the comparison could be NULL thus adding a '' char to the nullable column implicitly makes the comparison quicker by not having to check for NULLs?

Thanks in advance.

Table WORKORDER

Column OWNERGROUP has DataType = VARCHAR2 (20 Byte) and NULL? = YES
Column WOCLASS has DataType = VARCHAR2 (16 Byte) and NULL? = NO

Table PERSONGROUP

Column PERSONGROUP has DataType = VARCHAR2 (20 Byte) and NULL?= NO

SQL Optimizer for Oracle v.8.7.0.2431

Excerpt of Original SQL:

SELECT (SUBSTR(P.DESCRIPTION, 1, INSTR(P.DESCRIPTION, '-') - 2)) SITEID,

W.PERSONGROUP WORKGROUP,
SUBSTR(W.WORKTYPE, 1, 2) WORKTYPE,
ROUND(AVG(W.ACTLABHRS), 2) HOURS

FROM WORKORDER W

JOIN PERSONGROUP P

ON P.OXY_PERSONGROUPTYPE LIKE 'A%'  

AND W.OWNERGROUP = P.PERSONGROUP 

WHERE W.WOCLASS = 'WORKORDER'

AND W.ISTASK = 0
AND W.STATUS IN ('MCOMP', 'COMP', 'CLOSE')
AND SUBSTR (W.WORKTYPE, 1, 2) < > 'NM'
AND W.WORKTYPE IS NOT NULL
AND W.STATUSDATE > SYSDATE - 365

GROUP BY (SUBSTR (P.DESCRIPTION, 1, INSTR (P.DESCRIPTION, '-') - 2)),

W.PERSONGROUP, SUBSTR (W.WORKTYPE, 1, 2)

Excerpt of Optimized Alternative:

SELECT SUBSTR(P2.DESCRIPTION, 1, INSTR(P2.DESCRIPTION, '-') - 2) SITEID,

W.PERSONGROUP WORKGROUP,
SUBSTR(W.WORKTYPE, 1, 2) WORKTYPE,
ROUND(AVG(W.ACTLABHRS), 2) HOURS

FROM PERSONGROUP P2,

WORKORDER W

WHERE W.WOCLASS || '' = 'WORKORDER'

AND W.ISTASK = 0
AND W.STATUS IN ('MCOMP', 'COMP', 'CLOSE')
AND SUBSTR (W.WORKTYPE, 1, 2) <> 'NM'
AND W.WORKTYPE IS NOT NULL
AND W.STATUSDATE > SYSDATE - 365
AND P2.OXY_PERSONGROUPTYPE LIKE 'A%'
AND W.OWNERGROUP = P2.PERSONGROUP || ''

GROUP BY SUBSTR (P2.DESCRIPTION, 1, INSTR (P2.DESCRIPTION, '-') - 2),

W.PERSONGROUP, SUBSTR (W.WORKTYPE, 1, 2)

Answered 533 4 / Create an account to join the discussion.
Srivathsava
Follow / 25 Apr 2017 at 3:18pm / Toad for Oracle
Latest post by on 21 Jul 2017 at 7:52am

How the 'use_merge' hint works

Expand content
Hi Experts, We have seen a view in our account which is as below (Created by other resource long back) select /*+ use_merge(sub,seg1) PARALLEL(sub) */ sub."CATEGORY",sub."JE_BATCH_NAME"...

Hi Experts,

We have seen a view in our account which is as below (Created by other resource long back)

select /*+ use_merge(sub,seg1) PARALLEL(sub) */
sub."CATEGORY",sub."JE_BATCH_NAME",sub."JE_HEADER_DESCRIPTION",sub."JE_HEADER_NAME",sub."JE_LINE_DESCRIPTION",sub."DESCRIPTION",sub."NAME",sub."LOCATION",sub."TRANSACTION_NUMBER",sub."TRANSACTION_DATE",sub."DIST_LINE_NUMBER",sub."PO_NUMBER",sub."PAYMENT_NUMBER",sub."SALES_ORDER",sub."INVOICE_PAYMENT_STATUS",sub."CURRENCY_CODE",sub."EXCHANGE_RATE",sub."JE_ACCOUNTED_DR",sub."JE_ACCOUNTED_CR",sub."AMOUNT",sub."STATUS",sub."FISCAL_PERIOD",sub."FISCAL_YEAR",sub."PERIOD_NAME",sub."EFFECTIVE_DATE",sub."JE_SOURCE",sub."JE_CATEGORY",sub."TRANSACTION_TYPE",sub."DOCUMENT_NAME",sub."GL_ACCOUNT",sub."COMPANY",sub."DEPARTMENT",sub."ACCOUNT",sub."PROJECT",sub."PRODUCT",sub."CUSTOMER",sub."GL_DISTRIBUTION_DATE",sub."POSTED_DATE",sub."LAST_BUILD_DATE",sub."JE_BATCH_ID",sub."JE_HEADER_ID",sub."JE_LINE_NUM",sub."CODE_COMBINATION_ID",sub."AP_INVOICE_ID",sub."INVOICE_DISTRIBUTION_ID",sub."CUSTOMER_TRX_ID",sub."CUSTOMER_TRX_LINE_ID",sub."PO_HEADER_ID",sub."PO_LINE_ID",sub."ROW_ID",
seg1.description Company_Desc,
seg2.description Department_Desc,
seg3.description Account_Desc,
seg4.description Project_Desc,
seg5.description Product_Desc
from
apps.xx_fnd_flex_desc_v seg1,
apps.xx_fnd_flex_desc_v seg2,
apps.xx_fnd_flex_desc_v seg3,
apps.xx_fnd_flex_desc_v seg4,
apps.xx_fnd_flex_desc_v seg5,
apps.xx_gl_subledger_mv sub
where
sub.company = seg1.flex_value
and seg1.flex_value_set_id = 1003775
and sub.department = seg2.flex_value
and seg2.flex_value_set_id = 1003774
and sub.account = seg3.flex_value
and seg3.flex_value_set_id = 1002347
and sub.project = seg4.flex_value
and seg4.flex_value_set_id = 1002348
AND SUB.PRODUCT = SEG5.FLEX_VALUE
and seg5.flex_value_set_id = 1002349

But, I am not sure how this hint works. Can anyone please help me on how this hint works. I googled, but I didn't understood :(

Thanks in Advance

Unanswered 619 2 / Create an account to join the discussion.
Damir Vadas
Follow / 17 Jul 2017 at 11:32am / Toad for Oracle
Latest post by on 18 Jul 2017 at 9:59am

SQL Optimizer 9.2.2

Expand content
Hi guys from SQL Optimizer, Just installed new version (SQL Optimizer 9.2.2) and may say only compliments. Fixed avg LIO (binds sets), execution thread is smooth, better performance by eye, stability...

Hi guys from SQL Optimizer,

Just installed new version (SQL Optimizer 9.2.2) and may say only compliments. Fixed avg LIO (binds sets), execution thread is smooth, better performance by eye, stability improved...great, great work.

Just this.

Brg
Damir

338 1 / Create an account to join the discussion.
Damir Vadas
Follow / 17 Jul 2017 at 12:19pm / Toad for Oracle
Latest post by on 18 Jul 2017 at 9:57am

9.2.2 export binds set result in excel bug

Expand content
Hi SQL Optimizer 9.2.2 x64 (last official). When exporting general results into Excel, sheet has unnecessary grids drawings. This was not a case in 9.2.0 :-) Brg Damir

Hi

SQL Optimizer 9.2.2 x64 (last official).

When exporting general results into Excel, sheet has unnecessary grids drawings. This was not a case in 9.2.0

:-)

Brg
Damir

302 1 / Create an account to join the discussion.
Damir Vadas
Follow / 11 Jul 2017 at 10:24am / Toad for Oracle
Latest post by on 11 Jul 2017 at 1:37pm

How to SQL Optimizer update?

Expand content
SQL Optimizer 9.2.0 x64 on Win7 I have license which allows me to make some updates. When I Open SQL Optimizer I get: When I click "Yes" I get this (look the opened file is local)...and...

SQL Optimizer 9.2.0 x64 on Win7

I have license which allows me to make some updates.

When I Open SQL Optimizer I get:

When I click "Yes" I get this (look the opened file is local)...and no way to get where is the update???

What to do to make update possible?

Brg

Damir

Answered 722 10 / Create an account to join the discussion.
Damir Vadas
Follow / 26 Jun 2017 at 7:20am / Toad for Oracle
Latest post by on 29 Jun 2017 at 1:08pm

Really "static" SQL based execution

Expand content
Hi, Whenever you choose execution type (dynamic or static) on a lower value it is basically "dynamic". Because it generates hint by which you lately make some statistic analyses for each...

Hi,

Whenever you choose execution type (dynamic or static) on a lower value it is basically "dynamic".

Because it generates hint by which you lately make some statistic analyses for each execution. Here is brief case of mine words (taken while SQL Optimizer was executing):

SQL>@sql_id 1 72w638vps8zs1

SQL_FULLTEXT
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
select /*+ Set 40_00000000*624533 */ NVL(TOTAL_POINTS_BALANCE, 0)
  from CLUB_BILL_SUBSCRIBER
 where MEMBER_ID = :b1
   and CLUB_CODE = :b2
   and BAN = :b3
   and SUBSCRIBER_NO = :b4
   and BEN = :b5
   and BILL_SEQ_NO = (select /*+ USE_MERGE(B,CBS) */ max(CBS.BILL_SEQ_NO)
                        from CLUB_BILL_SUBSCRIBER CBS,
                             BILL B
                       where CBS.MEMBER_ID = :b1
                         and CBS.CLUB_CODE = :b2
                         and CBS.BAN = :b3
                         and CBS.SUBSCRIBER_NO = :b4
                         and CBS.BEN = :b5
                         and CBS.BAN = B.BAN
                         and CBS.BILL_SEQ_NO = B.BILL_SEQ_NO
                         and CBS.BEN = B.BEN
                         and B.CLUB_CALCULATION_STATUS = 'S')


Current sessions run that sql

no rows selected


gv$sql data ...

 IID  CH PLAN_HASH_V         EXECS         TIME Sleep         ROWS   AVG TIME Sleep     AVG ROWS          AVG LIO      AVG CPU Sleep LAST_LOAD      LAST_ACTIVE    SH SQL_PROFILE                  BA BS
---- --- ----------- ------------- ---------------- ------------ -------------- ------------ ---------------- ---------------- -------------- -------------- -- ---------------------------- -- --
   1   0  2570093969             1          0.96700            1        0.96656        1.000        258.00000        0.0030000 06-23/14:59:19 06-23/14:59:20 Y                               N  N


@sql_id [inst_id] [sql_id]
SQL>@sql_id 1 7pfurkfvyytrj

SQL_FULLTEXT
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
select /*+ Set 43_00000000*624610 */ NVL(TOTAL_POINTS_BALANCE, 0)
  from CLUB_BILL_SUBSCRIBER
 where MEMBER_ID = :b1
   and CLUB_CODE = :b2
   and BAN = :b3
   and SUBSCRIBER_NO = :b4
   and BEN = :b5
   and BILL_SEQ_NO = (select /*+ USE_MERGE(B,CBS) */ max(CBS.BILL_SEQ_NO)
                        from CLUB_BILL_SUBSCRIBER CBS,
                             BILL B
                       where CBS.MEMBER_ID = :b1
                         and CBS.CLUB_CODE = :b2
                         and CBS.BAN = :b3
                         and CBS.SUBSCRIBER_NO = :b4
                         and CBS.BEN = :b5
                         and CBS.BAN = B.BAN
                         and CBS.BILL_SEQ_NO = B.BILL_SEQ_NO
                         and CBS.BEN = B.BEN
                         and B.CLUB_CALCULATION_STATUS = 'S')


Current sessions run that sql

no rows selected


gv$sql data ...

 IID  CH PLAN_HASH_V         EXECS         TIME Sleep         ROWS   AVG TIME Sleep     AVG ROWS          AVG LIO      AVG CPU Sleep LAST_LOAD      LAST_ACTIVE    SH SQL_PROFILE                  BA BS
---- --- ----------- ------------- ---------------- ------------ -------------- ------------ ---------------- ---------------- -------------- -------------- -- ---------------------------- -- --
   1   0  2570093969             1          1.56600            1        1.56574        1.000        360.00000        0.0040000 06-23/14:59:26 06-23/14:59:27 Y                               N  N


@sql_id [inst_id] [sql_id]
SQL>

Mine question is to introduce "full static on server" execution type, which could be used ONLY in bind sets execution. This would mean to leave query as it is and just change binds sets in execution and make one sql calculation

Why?

In this case 100 of executions will have the one entry in gv$sql, this would be easy to find in ASH, AWR or parallel monitoring and on the end will be really summary for binds set use-like it is in real life-one sql_id for all executions.

Once again, stat for such a query would be only possible in binds set usage, will not have stat for each execution but for summary only.

Is that possible?

Thx

Damir

576 8 / Create an account to join the discussion.
Damir Vadas
Follow / 27 Jun 2017 at 6:33am / Toad for Oracle
Latest post by on 28 Jun 2017 at 5:48pm

How to save test results for several scenarios in one Excel

Expand content
Hi, when have several scenarios, until now I was going into each and save each testing results one by one into separate Excel: How to do all in on Excel with each scenario in own sheet? Brg Dami...

Hi,

when have several scenarios, until now I was going into each and save each testing results one by one into separate Excel:

How to do all in on Excel with each scenario in own sheet?
Brg
Damir

Answered 374 2 / Create an account to join the discussion.
Damir Vadas
Follow / 26 Jun 2017 at 1:48pm / Toad for Oracle
Latest post by on 28 Jun 2017 at 4:45pm

columns in grid results

Expand content
Hi, SQL Optimizer 9.2 on Oracle 11.2.0.3 x64. Whenever I save testing results (in any format) and later open them I get u bunch of columns which has "-1" value: why are their content...

Hi,

SQL Optimizer 9.2 on Oracle 11.2.0.3 x64.

Whenever I save testing results (in any format) and later open them I get u bunch of columns which has "-1" value:

why are their content like that?

which Oracle view are you using to show values ...when do they have different values (what to do ....which test to made).

Brg

Damir

Answered 514 5 / Create an account to join the discussion.
Anonymous
Follow / 28 Jun 2017 at 7:47am / Toad for Oracle

Oracle Business Intelligence Standard

Expand content
This suite is extra modest, very affordable for SMBs. includes everything you need to take a quick time running in business Intelligence device. it's if everything has been hooked up on a server, and...

This suite is extra modest, very affordable for SMBs. includes everything you need to take a quick time running in business Intelligence device. it's if everything has been hooked up on a server, and this should be a windows Server.
The license does not permit using more than CPU's the server and allows simplest different source of direct records apart from the BD includes. The obligatory licensing per person is nominal, and may be certified among 5 and 50 customers.
installation is carried out easily and in a unmarried processor installed inside the server database, ETL tool Oracle Warehouse Builder (basic model), the BI server and different packages.
The BI server lets in get admission to to net analytical reporting tool and dashboards, for layout to operation. The whole surroundings is the purchase of Siebel and Oracle made some time ago, and its previous name become Siebel Analytics.
BI environment is a very whole and easy to apply, but does not use systems of OLAP, works immediately at the relational version of database.

The suite includes tools which might be:
Oracle BI Server: Centralized get entry to to information and calculation engine that relies on a logical model of common employer records (stage of abstraction of the metadata)
Oracle BI Server Administrator: advent of metadata and stages of abstraction
Oracle BI solutions: Self-carrier ad-hoc that lets in end users to easily create charts, pivot tables, reviews and dashboards, and drill skills navigate up / down.
Oracle BI Interactive Dashboards: interactive dashboards for checking out environments.
Oracle BI publisher (también conocido como XML writer): Reporting commercial enterprise operational and distribution of stories with first-rate detail.
Oracle Database general version One: Database
Oracle Warehouse Builder (middle ETL): layout of database and extract, rework and cargo (ETL) that enables manage the lifecycle of records and metadata

The simple technique as a way to create analytical reports and dashboards with this suite would be:
ETL design and production of systems on tables with OWB dimensional
Definition of metadata and bodily layers, the enterprise and introduction to Oracle BI Server Administrator
growing reviews and dashboards with BI solutions and Interactive Dashboards
To create and distribute operational reports can be used independently BI writer.

The reviews are designed using Microsoft phrase or Adobe Acrobat (installing an upload-in) after which also can put up and edit internet server thru WebDav.
This software, despite the fact that the portal is integrated with BI Dashboards for Oracle's own, and is a chunk more bulky to use. it's miles rarely used until there are specific needs that cannot be solved with BI solutions.

255 0 / Create an account to join the discussion.
baber
Follow / 18 Apr 2017 at 8:09pm / Toad for Oracle
Latest post by on 26 Jun 2017 at 6:50pm

how can get best performance from toad on virtual machine

Expand content
Dear all Hi i have a virtual machine with windows 8.1 and installed on that Toad for oracle 11.6.0.43 in most time working and run a query will be take a few minutes and will be so slow but i use this...

Dear all

Hi


i have a virtual machine with windows 8.1 and installed on that Toad for oracle 11.6.0.43 in most time working and run a query will be take a few minutes and will be so slow but i use this version of toad on my desktop pc with same resources such as virtual machine and don't have any problem on desktop pc  now i want to know is there any specific config on toad for optimize or get best performance ?

my resources:

8G memory

8vcpu

how can solve problem ?

542 2 / Create an account to join the discussion.
Damir Vadas
Follow / 28 Apr 2017 at 9:20am / Toad for Oracle
Latest post by on 2 May 2017 at 5:18am

Optimizing queries in two sessions problem (obey previous best time...

Expand content
Hi, SQL Optimizer 9.2.0.4159 x64 on Windows 7 x64 (this is enough for problem I face). I have situations that some queries last for several hours, so all candidate are not possible to be run in one session...

Hi,
SQL Optimizer 9.2.0.4159 x64 on Windows 7 x64 (this is enough for problem I face).
I have situations that some queries last for several hours, so all candidate are not possible to be run in one session in one day, because db is refresh on daily level (dolly database clone).
So when I stop the test, I have original sql value and maybe some better candidates.

I save all and load tomorrow for continuing.

When I select several queries (that were not run) and choose "Run selected" all testing is not monitoring previous "Best time" so queries runs forever, regardless they go far beyond time of best solution (Org or candidate...never mind).
But when in that second day some query run in "acceptable time" (near or even better that current) then again all other testing queries follow that time.

Next day situation is the same if I have to stop the session.

So mine question is:
Is this a bug?
How to overcome that in next session on not executed or repeatedly executed candidates, they follow timings from the best time.

Of course it is not acceptable to include the best candidate with them again, because this is just waste of time. But even in this scenario, SQL Optimizer will choose whic candidate will run first so.
Thx for your help in front.


Brg
Damir Vadas

597 3 / Create an account to join the discussion.
aemeditor
Follow / 23 Jan 2017 at 10:06pm / Toad for Oracle
Latest post by on 31 Jan 2017 at 4:26pm

How do I select different columns from two different tables?

Expand content
Hello, all. I am very new to the SQL language. Here’s hoping someone can help with my question. I am trying to select data from two tables using a column that is in both tables. My question requires...

Hello, all. I am very new to the SQL language. Here’s hoping someone can help with my question.

I am trying to select data from two tables using a column that is in both tables. My question requires a bit of setup.

Table1 has a lot of data in it. For the sake of my question, we’ll call the columns I am interested in as IDTag and ColumnA.

Table2 has its own data in it, but also has the identical IDTag column from Table1. The column I am interested in this table is ColumnB.

ColumnA doesn’t exist in Table2, nor does ColumnB exist in Table1.

My question is…what query do I need to use to select the information in ColumnA and ColumnB using the IDTag column?

Thank you in advance for any help.

Answered 1028 2 / Create an account to join the discussion.