Increase the db_writer_processes
My DB is giving the free buffer waits..
In parameter file
DB_writer_processes =1,
DBwr_IO_slaves =0
I think I need to increase the db_writer_processes.. How to increase it?
I am using Spfile for starting the DB
I will suggest reading Kevin Closson's articles on DBWR
http://kevinclosson.wordpress.com/2007/08/10/learn-how-to-obliterate-processor-caches-configure-lots-and-lots-of-dbwr-processes/
Similar Messages
-
Ctx_doc.snippet increase the number of occurrences returned
Hi everybody,
I am pretty new on Oracle Text so please be merciful :)
I am on Oracle 10.2.0.4.0 and I need to provide my users with ALL snippets found in a text, but it seems that CTX_DOC.SNIPPET restricts the number of snippets occurrences (I will exemplify it later).
The question is: is there a way to increase the number of results/snippets returned by CTX_DOC.SNIPPET ?
In the example that follows, I create the table "mysearch" and an index of type CTXSYS.CONTEXT, then I run the final SELECT query with CTX_DOC.SNIPPET() to obtain a list of most relevant fragments.
If you run the query - see the column "SNIPPET" - record #6 is returning only the first 4 occurrences. In this case (especially because is a single row) I would expect to find all 6 occurrences instead of 4.
Again, if looking to record #7 I have only 3 occurrences.
Then for record #8 I have only 2 occurrences.
I know that CTX_DOC.SNIPPET retrieves the "most" relevant fragment, but I would like to obtain the full list of fragments present in the indexed text. Is there a way (or an alternate method) to accomplish what I like to do.
I have also noted that CTX_DOC.MARKUP can be used on the same index to retrieve the full text "marked-up" with my query terms, so I know Oracle has indexed the text somewhere, I need only to get it out !
Any help will be very appreciated.
Thanks,
Luigi
DROP TABLE mysearch;
create table mysearch (text_id number primary key, text clob);
insert into mysearch values (1, 'this is a test record which contains no more than one occurrence of the word you search');
insert into mysearch values (2, 'this is a second test record which contains two occurrences of the word test');
insert into mysearch values (3, 'this is a third test record which contains three test occurrences of the word test');
insert into mysearch values (4, 'this test is a fourth test record which contains four test occurrences of the word test');
insert into mysearch values (5, 'this test is the fifth test record which contains five test occurrences of the word test for test purposes');
insert into mysearch values (6, 'this sixth test is a test with more than 200 character which contains many test occurrences of test word, sixth test record which contains sixth test occurrences of the word test for test purposes');
insert into mysearch values (7,
'Oracle Text adds powerful test search withintitle and intelligent test management to the Oracle database. Complete. You can test search and manage documents, web pages, catalog entries in more than test 150 formats in any language. Provides a complete text query language and complete character support. Simple. You can index and search test text using SQL. Oracle Test Management can be done using Oracle Test Manager - a GUI tool. Fast. You can search
millions of documents, Test,web pages, catalog entries using the power and Test of the database. Intelligent. Oracle Text''s unique knowledge-base enables you to search, classify, manage documents, clusters Test summarize text based on its meaning as well as its content.');
insert into mysearch values (8,'Written by the worlds most widely-read test authors of best-selling Oracle books, Mike Ault, Daniel Liu and Madhu Tumma target their substantial knowledge of test evaluating Oracle new features in this important book. test With decades of experience evaluating new Oracle features, this book focuses on the most important test new DBA features of Oracle 10g as they relate to database administration and Oracle tuning.
This book provides honest feedback about those Oracle test 10g features that you should use, test and those you should not use. The text takes an in-depth look at test those Oracle10g features that are the most important to system performance and Oracle10g database administration.
Best of all, the authors have created dozens of working test samples in the Oracle10g online code depot. Examples from all areas of Oracle10g are covered with working scripts and code snippets. Your time savings from a single script is test worth the price of this great book.
Daniel Liu test is a senior Oracle Database test Administrator at First American Real Estate Solutions in Anaheim, CA. He has many years of industry test experience in database administration and software development. He has worked with large-scale databases in multi-platform environments. His test expertise includes Oracle database administration, performance tuning, Oracle networking, and Oracle test Application Server.
As an Oracle Certified Professional, he taught Oracle certified DBA classes at Elite Consulting Group in Chicago. Daniel also taught IOUG University Seminar in Orlando. Daniel has published articles with DBAzine, Oracle Internals, and SELECT Journal. Daniel has received SELECT Editorial Test Award for Best Article in 2001. He has also given presentations at IOUG-A Live, LAOUG, OCOUG, NoCOUG, Oracle Test Open World and Oracle World. Daniel has served as panelist on Oracles of Oracle at Oracle World and IOUG-Live. Daniel holds a Master of Science degree in computer science from Northern Illinois University.
Madhu Tumma has been working as Software test Developer, IT Manager, Database Administrator, and Technical Consultant for about 18 years. He has worked on a wide variety of projects and environments ranging from mainframe, client-server, Test eBusiness to managed services. He has provided consultancy to variety of clients on database clusters, business continuity and high availability solutions.
His experience ranges across multiple relational database systems. Madhu is frequent Test speaker at Oracle World and IOUG where he presented many technical papers. Madhu has Master Degree in test science and attended Business Management graduate program. He lives in New Jersey with his wife Hema and two children Sandi and Sudeep.');
CREATE INDEX mysearchindex ON mysearch (text)
INDEXTYPE IS CTXSYS.CONTEXT
CALL CTX_DOC.SET_KEY_TYPE ('PRIMARY_KEY');
SELECT text_id,
text,
ctx_doc.snippet('mysearchindex',TO_CHAR(text_id), 'test') AS SNIPPET
FROM mysearch
WHERE CONTAINS (text, 'test', 1) > 0
/You could even customize your function to specify how many words on either side of the keywords to return, as shown below.
SCOTT@orcl_11gR2> CREATE OR REPLACE FUNCTION my_snippet
2 (p_index_name IN VARCHAR2,
3 p_textkey IN VARCHAR2,
4 p_text_query IN VARCHAR2,
5 p_words IN NUMBER DEFAULT 3)
6 RETURN CLOB
7 AS
8 v_markup CLOB;
9 v_string VARCHAR2 (32767);
10 v_snippet CLOB;
11 BEGIN
12 CTX_DOC.MARKUP (p_index_name, p_textkey, p_text_query, v_markup);
13 IF INSTR (v_markup, '<<<') > 0 AND INSTR (v_markup, '>>>') > 0 THEN
14 v_markup := LPAD (' ', p_words) || v_markup || RPAD (' ', p_words);
15 v_string := SUBSTR (v_markup, 1, INSTR (v_markup, '<<<') - 1);
16 v_snippet := LTRIM (SUBSTR (v_string, INSTR (v_string, ' ', -1, p_words + 1)));
17 LOOP
18 v_markup := SUBSTR (v_markup, INSTR (v_markup, '<<<'));
19 v_snippet := v_snippet || SUBSTR (v_markup, 1, INSTR (v_markup, '>>>') + 2);
20 v_markup := SUBSTR (v_markup, INSTR (v_markup, '>>>') + 3);
21 IF INSTR (v_markup, '>>>') = 0 THEN
22 EXIT;
23 END IF;
24 v_string := SUBSTR (v_markup, 1, INSTR (v_markup, '<<<') - 1);
25 IF REGEXP_COUNT (LTRIM (RTRIM (v_string)), ' ') <= (p_words * 2) - 1 THEN
26 v_snippet := v_snippet || v_string;
27 ELSE
28 v_snippet := v_snippet || SUBSTR (v_string, 1, INSTR (v_string, ' ', 1, p_words + 1));
29 v_snippet := v_snippet || ' ... ';
30 v_string := SUBSTR (v_string, INSTR (v_string, ' ', 1, p_words + 1));
31 v_snippet := v_snippet || SUBSTR (v_string, INSTR (v_string, ' ', -1, p_words + 1));
32 END IF;
33 END LOOP;
34 v_snippet := v_snippet || RTRIM (SUBSTR (v_markup, 1, INSTR (v_markup, ' ', 1, p_words + 1)));
35 END IF;
36 RETURN v_snippet;
37 END my_snippet;
38 /
Function created.
SCOTT@orcl_11gR2> SHOW ERRORS
No errors.
SCOTT@orcl_11gR2> COLUMN snippet FORMAT A80 WORD_WRAPPED
SCOTT@orcl_11gR2> SELECT text_id, SCORE (1) AS occurrences,
2 my_snippet ('mysearchindex', TO_CHAR (text_id), 'test', 1) AS snippet
3 FROM mysearch
4 WHERE CONTAINS (text, 'DEFINESCORE (test, OCCURRENCE)', 1) > 0
5 /
TEXT_ID OCCURRENCES
SNIPPET
1 1
a <<<test>>> record
2 2
second <<<test>>> record ... word <<<test>>>
3 3
third <<<test>>> record ... three <<<test>>> occurrences ... word <<<test>>>
4 4
this <<<test>>> is ... fourth <<<test>>> record ... four <<<test>>>
occurrences ... word <<<test>>>
5 5
this <<<test>>> is ... fifth <<<test>>> record ... five <<<test>>>
occurrences ... word <<<test>>> for <<<test>>> purposes
6 8
sixth <<<test>>> is a <<<test>>> with ... many <<<test>>> occurrences of
<<<test>>> word, sixth <<<test>>> record ... sixth <<<test>>> occurrences ...
word <<<test>>> for <<<test>>> purposes
7 10
powerful <<<test>>> search ... intelligent <<<test>>> management ... can
<<<test>>> search ... than <<<test>>> 150 ... search <<<test>>> ...
Oracle <<<Test>>> Management ... Oracle <<<Test>>> Manager ... documents,
<<<Test>>>,web pages, ... and <<<Test>>> of ... clusters <<<Test>>>
summarize
8 20
widely-read <<<test>>> authors ... of <<<test>>> evaluating ... book.
<<<test>>> With ... important <<<test>>> new ... Oracle <<<test>>> 10g ...
use, <<<test>>> and ... at <<<test>>> those ... working <<<test>>> samples
... is <<<test>>> worth ... Liu <<<test>>> is ... Database <<<test>>> ...
industry <<<test>>> experience ... His <<<test>>> expertise ... Oracle
<<<test>>> Application ... Editorial <<<Test>>> Award ... Oracle <<<Test>>>
Open ... Software <<<test>>> Developer, ... client-server, <<<Test>>>
eBusiness ... frequent <<<Test>>> speaker ... in <<<test>>> science
8 rows selected.
SCOTT@orcl_11gR2> SELECT text_id, SCORE (1) AS occurrences,
2 my_snippet ('mysearchindex', TO_CHAR (text_id), 'test', 2) AS snippet
3 FROM mysearch
4 WHERE CONTAINS (text, 'DEFINESCORE (test, OCCURRENCE)', 1) > 0
5 /
TEXT_ID OCCURRENCES
SNIPPET
1 1
is a <<<test>>> record which
2 2
a second <<<test>>> record which ... the word <<<test>>>
3 3
a third <<<test>>> record which contains three <<<test>>> occurrences of the
word <<<test>>>
4 4
this <<<test>>> is a fourth <<<test>>> record which contains four <<<test>>>
occurrences of the word <<<test>>>
5 5
this <<<test>>> is the fifth <<<test>>> record which contains five <<<test>>>
occurrences of the word <<<test>>> for <<<test>>> purposes
6 8
this sixth <<<test>>> is a <<<test>>> with more ... contains many <<<test>>>
occurrences of <<<test>>> word, sixth <<<test>>> record which contains sixth
<<<test>>> occurrences of the word <<<test>>> for <<<test>>> purposes
7 10
adds powerful <<<test>>> search withintitle and intelligent <<<test>>>
management to ... You can <<<test>>> search and ... more than <<<test>>> 150
formats ... and search <<<test>>> text using SQL. Oracle <<<Test>>>
Management can ... using Oracle <<<Test>>> Manager - ... of documents,
<<<Test>>>,web pages, catalog ... power and <<<Test>>> of the ... documents,
clusters <<<Test>>> summarize text
8 20
most widely-read <<<test>>> authors of ... knowledge of <<<test>>> evaluating
Oracle ... important book. <<<test>>> With decades ... most important
<<<test>>> new DBA ... those Oracle <<<test>>> 10g features ... should use,
<<<test>>> and those ... look at <<<test>>> those Oracle10g ... of working
<<<test>>> samples in ... script is <<<test>>> worth the ... book.
Daniel Liu <<<test>>> is a ... Oracle Database <<<test>>> Administrator ...
of industry <<<test>>> experience in ... His <<<test>>> expertise includes
... and Oracle <<<test>>> Application Server.
As ... SELECT Editorial <<<Test>>> Award for ... NoCOUG, Oracle <<<Test>>>
Open World ... as Software <<<test>>> Developer, IT ... mainframe,
client-server, <<<Test>>> eBusiness to ... is frequent <<<Test>>> speaker at
... Degree in <<<test>>> science and
8 rows selected.
SCOTT@orcl_11gR2> SELECT text_id, SCORE (1) AS occurrences,
2 my_snippet ('mysearchindex', TO_CHAR (text_id), 'test', 3) AS snippet
3 FROM mysearch
4 WHERE CONTAINS (text, 'DEFINESCORE (test, OCCURRENCE)', 1) > 0
5 /
TEXT_ID OCCURRENCES
SNIPPET
1 1
this is a <<<test>>> record which contains
2 2
is a second <<<test>>> record which contains ... of the word <<<test>>>
3 3
is a third <<<test>>> record which contains three <<<test>>> occurrences of the
word <<<test>>>
4 4
this <<<test>>> is a fourth <<<test>>> record which contains four <<<test>>>
occurrences of the word <<<test>>>
5 5
this <<<test>>> is the fifth <<<test>>> record which contains five <<<test>>>
occurrences of the word <<<test>>> for <<<test>>> purposes
6 8
this sixth <<<test>>> is a <<<test>>> with more than ... which contains many
<<<test>>> occurrences of <<<test>>> word, sixth <<<test>>> record which
contains sixth <<<test>>> occurrences of the word <<<test>>> for <<<test>>>
purposes
7 10
Text adds powerful <<<test>>> search withintitle and intelligent <<<test>>>
management to the ... You can <<<test>>> search and manage ... in more than
<<<test>>> 150 formats in ... index and search <<<test>>> text using SQL.
Oracle <<<Test>>> Management can be done using Oracle <<<Test>>> Manager - a
... search
millions of documents, <<<Test>>>,web pages, catalog entries ... the power and
<<<Test>>> of the database. ... manage documents, clusters <<<Test>>>
summarize text based
8 20
worlds most widely-read <<<test>>> authors of best-selling ... substantial
knowledge of <<<test>>> evaluating Oracle new ... this important book.
<<<test>>> With decades of ... the most important <<<test>>> new DBA features
... about those Oracle <<<test>>> 10g features that you should use, <<<test>>>
and those you ... in-depth look at <<<test>>> those Oracle10g features ...
dozens of working <<<test>>> samples in the ... single script is <<<test>>>
worth the price ... great book.
Daniel Liu <<<test>>> is a senior Oracle Database <<<test>>> Administrator at
... years of industry <<<test>>> experience in database ... environments.
His <<<test>>> expertise includes Oracle ... networking, and Oracle <<<test>>>
Application Server.
As an ... received SELECT Editorial <<<Test>>> Award for Best ... OCOUG,
NoCOUG, Oracle <<<Test>>> Open World and ... working as Software <<<test>>>
Developer, IT Manager, ... from mainframe, client-server, <<<Test>>> eBusiness
to managed ... Madhu is frequent <<<Test>>> speaker at Oracle ... Master
Degree in <<<test>>> science and attended
8 rows selected.
SCOTT@orcl_11gR2> SELECT text_id, SCORE (1) AS occurrences,
2 my_snippet ('mysearchindex', TO_CHAR (text_id), 'test', 4) AS snippet
3 FROM mysearch
4 WHERE CONTAINS (text, 'DEFINESCORE (test, OCCURRENCE)', 1) > 0
5 /
TEXT_ID OCCURRENCES
SNIPPET
1 1
this is a <<<test>>> record which contains no
2 2
this is a second <<<test>>> record which contains two occurrences of the word
<<<test>>>
3 3
this is a third <<<test>>> record which contains three <<<test>>> occurrences of
the word <<<test>>>
4 4
this <<<test>>> is a fourth <<<test>>> record which contains four <<<test>>>
occurrences of the word <<<test>>>
5 5
this <<<test>>> is the fifth <<<test>>> record which contains five <<<test>>>
occurrences of the word <<<test>>> for <<<test>>> purposes
6 8
this sixth <<<test>>> is a <<<test>>> with more than 200 character which
contains many <<<test>>> occurrences of <<<test>>> word, sixth <<<test>>> record
which contains sixth <<<test>>> occurrences of the word <<<test>>> for
<<<test>>> purposes
7 10
Oracle Text adds powerful <<<test>>> search withintitle and intelligent
<<<test>>> management to the Oracle ... Complete. You can <<<test>>> search
and manage documents, ... entries in more than <<<test>>> 150 formats in any
... can index and search <<<test>>> text using SQL. Oracle <<<Test>>>
Management can be done using Oracle <<<Test>>> Manager - a GUI ... can search
millions of documents, <<<Test>>>,web pages, catalog entries using the power and
<<<Test>>> of the database. ... classify, manage documents, clusters
<<<Test>>> summarize text based on
8 20
the worlds most widely-read <<<test>>> authors of best-selling Oracle ...
their substantial knowledge of <<<test>>> evaluating Oracle new features in this
important book. <<<test>>> With decades of experience ... on the most
important <<<test>>> new DBA features of ... feedback about those Oracle
<<<test>>> 10g features that you should use, <<<test>>> and those you should
... an in-depth look at <<<test>>> those Oracle10g features that ... created
dozens of working <<<test>>> samples in the Oracle10g ... a single script is
<<<test>>> worth the price of this great book.
Daniel Liu <<<test>>> is a senior Oracle Database <<<test>>> Administrator at
First ... many years of industry <<<test>>> experience in database
administration ... multi-platform environments. His <<<test>>> expertise
includes Oracle database ... Oracle networking, and Oracle <<<test>>>
Application Server.
As an Oracle ... has received SELECT Editorial <<<Test>>> Award for Best
Article ... LAOUG, OCOUG, NoCOUG, Oracle <<<Test>>> Open World and Oracle ...
been working as Software <<<test>>> Developer, IT Manager, Database ...
ranging from mainframe, client-server, <<<Test>>> eBusiness to managed services.
... systems. Madhu is frequent <<<Test>>> speaker at Oracle World ... has
Master Degree in <<<test>>> science and attended Business
8 rows selected.
SCOTT@orcl_11gR2> SELECT text_id, SCORE (1) AS occurrences,
2 my_snippet ('mysearchindex', TO_CHAR (text_id), 'test', 5) AS snippet
3 FROM mysearch
4 WHERE CONTAINS (text, 'DEFINESCORE (test, OCCURRENCE)', 1) > 0
5 /
TEXT_ID OCCURRENCES
SNIPPET
1 1
this is a <<<test>>> record which contains no more
2 2
this is a second <<<test>>> record which contains two occurrences of the word
<<<test>>>
3 3
this is a third <<<test>>> record which contains three <<<test>>> occurrences of
the word <<<test>>>
4 4
this <<<test>>> is a fourth <<<test>>> record which contains four <<<test>>>
occurrences of the word <<<test>>>
5 5
this <<<test>>> is the fifth <<<test>>> record which contains five <<<test>>>
occurrences of the word <<<test>>> for <<<test>>> purposes
6 8
this sixth <<<test>>> is a <<<test>>> with more than 200 character which
contains many <<<test>>> occurrences of <<<test>>> word, sixth <<<test>>> record
which contains sixth <<<test>>> occurrences of the word <<<test>>> for
<<<test>>> purposes
7 10
Oracle Text adds powerful <<<test>>> search withintitle and intelligent
<<<test>>> management to the Oracle database. Complete. You can <<<test>>>
search and manage documents, web ... catalog entries in more than <<<test>>>
150 formats in any language. ... You can index and search <<<test>>> text
using SQL. Oracle <<<Test>>> Management can be done using Oracle <<<Test>>>
Manager - a GUI tool. ... You can search
millions of documents, <<<Test>>>,web pages, catalog entries using the power and
<<<Test>>> of the database. Intelligent. ... search, classify, manage
documents, clusters <<<Test>>> summarize text based on its
8 20
by the worlds most widely-read <<<test>>> authors of best-selling Oracle books,
... target their substantial knowledge of <<<test>>> evaluating Oracle new
features in this important book. <<<test>>> With decades of experience
evaluating ... focuses on the most important <<<test>>> new DBA features of
Oracle ... honest feedback about those Oracle <<<test>>> 10g features that you
should use, <<<test>>> and those you should not ... takes an in-depth look at
<<<test>>> those Oracle10g features that are ... have created dozens of
working <<<test>>> samples in the Oracle10g online ... from a single script is
<<<test>>> worth the price of this great book.
Daniel Liu <<<test>>> is a senior Oracle Database <<<test>>> Administrator at
First American ... has many years of industry <<<test>>> experience in
database administration and ... in multi-platform environments. His
<<<test>>> expertise includes Oracle database administration, ... tuning,
Oracle networking, and Oracle <<<test>>> Application Server.
As an Oracle Certified ... Daniel has received SELECT Editorial <<<Test>>>
Award for Best Article in ... Live, LAOUG, OCOUG, NoCOUG, Oracle <<<Test>>>
Open World and Oracle World. ... has been working as Software <<<test>>>
Developer, IT Manager, Database Administrator, ... environments ranging from
mainframe, client-server, <<<Test>>> eBusiness to managed services. He ...
database systems. Madhu is frequent <<<Test>>> speaker at Oracle World and ...
Madhu has Master Degree in <<<test>>> science and attended Business Management
8 rows selected.
SCOTT@orcl_11gR2> -
On my HP Touchsmart 310 PC how do I increase the inactivity time on the display?
On my HP Touchsmart 310 PC how do I increase the inactivity time on the display? Windows 7, 64-bit
Hi,
Please try Control panel > Power options > Change when the computer sleeps
Hope this helps.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
I just cannot find it anywhere in the menu. I use Windows starter edition. this does not seem to be a problem on Internet explorer which has an option to increase the size of the text.
edit: removed email address from subject, though it may be too late already with spam bots.Please click the '''Solved It''' button next to the answer that answered or solved your Firefox support issue, '''''it appears when you are logged in''''', so this thread gets marked as '''Solved''' to help other users who may have this same problem.
-
How do I use my airport express or time capsule to increase the signal strength of my comcast router
How do I use my airport express and/ or time capsule to increase the range of my newly installed comcast modem/router.
Neophite50 wrote:
Thanks.
A question. Do I plug the TC into the Comcast modeum Router or the iMac?
Both is good.. but at least one of your routers.. TC or express must be plugged into the router.. the imac can get internet connection by wireless. -
How do I increase the text size in photoshop 10
I can't read the program text it is so small and I can't find how to increase it. Thanks for your help.
Unfortunately, there's no way to increase the size of the text on the App Store itself but enabling the zoom feature in System Preferences > Universal Access - Seeing might be a workaround for you.
-
Whats the best option to increase the speed on my mid 2010 macbook pro?
What choices are there for me to increase the speed of my computer ?
More RAM and a SSD. If you're running under 8GB of RAM, I would recommend upgrading to 8GB. You can check out Crucial or OWC for the correct RAM configuration for your model.
While you're at Crucial, I would also look at the available SSDs that would fit your machine - just use the System Scanner tab, and it will show you the recommended upgrades.
RAM and SSDs are about the only things you can upgrade to make your computer faster.
If you're new to SSDs, see my user tip here -> https://discussions.apple.com/docs/DOC-4741.
Good luck,
Clinton -
Increase the number of portions in process for each conversion object
I experts,
I configured SAP TDMS 3.0 with SP 14 to transfer test data from QAS to DEV (both is ECC 6.0) for the first test with TDMS TIM (Time Based Reduction).
The data transfer phase is still running (99% - 60hs running). We analyzed the Display Runtime Information report and see that objects of conversion with similar calc. records and calc. GBytes have very different the Net Runtime.
TMDS currently is working with four objects of conversion, processing a portion of each.
Conversion objects that are running are:
- Z_LTBP_002
- Z_TSEGE_002
- Z_VEVW_002
- Z_YST27_002
We check in the receiver system, and we see that is use only one DIA process to update the each table.
How can increase the performance of the update? Is correct that use only 1 DIA process for this??
Can I increase the number of portions in process for each conversion object?
Any help is greatly appreciated.
Regards,
SergioHi,
Check SAP Note 916763 - TDMS performance composite SAP note
Note 890797 - SAP TDMS - required and recommended system settings
Thanks
Sunny -
How to Increase the 15 Minute Idle Timeout?
I saw some similar posts to increasing the EM timeout, but they didn't seem to relate to the idle timeout period.
I need to increase the idle timeout from 15 minutes to something more like 30 minutes. A lot of times, I'll be editing a package with 10g on the web and doing some research online in between edits, only to come back and be timed out for no activity within 15 minutes. That's just too short. Can I increase the time? Where can I find that setting?
Thanks!Change or Add the parameter in emoms.properties
For DBconsole
$ORACLE_HOME/servername.domain_SID/sysman/config/emoms.properties
For Grid Control
$ORACLE_HOME/sysman/config/emoms.properties
For example, you can change this time to 60 minutes (1 hours) by adding the following lines to the above file.
oracle.sysman.eml.maxInactiveTime=60 -
Urgent: regarding the increasing the performance of report
Hi,
I had a report which is displaying the correct data but i execute on PRD Server,it gets Request Time Out.So i want to increase the performance of it.Plzz help me out in doing this.
REPORT ZWIP_STOCK NO STANDARD PAGE HEADING LINE-SIZE 150.
TABLES: AFPO, AFRU, MARA, MAKT.
DATA: BEGIN OF ITAB OCCURS 0,
AUFNR LIKE AFPO-AUFNR,
MATNR LIKE AFPO-MATNR,
LGORT LIKE AFPO-LGORT,
MEINS LIKE MARA-MEINS,
NTGEW LIKE MARA-NTGEW,
MTART LIKE MARA-MTART,
STOCK TYPE P LENGTH 10 DECIMALS 3,
END OF ITAB.
DATA : ITAB2 LIKE ITAB OCCURS 0 WITH HEADER LINE.
DATA : DESC LIKE MAKT-MAKTX.
SELECT-OPTIONS : MAT_TYPE FOR MARA-MTART.
SELECT-OPTIONS : P_MATNR FOR AFPO-MATNR.
DATA : V_MINOPR LIKE AFRU-VORNR,
V_MAXOPR LIKE AFRU-VORNR,
V_QTYMIN LIKE AFRU-GMNGA,
V_QTYMAX LIKE AFRU-GMNGA,
V_QTY TYPE P LENGTH 10 DECIMALS 3.
SELECT AAUFNR AMATNR ALGORT BMEINS BNTGEW BMTART FROM AFPO AS A
INNER JOIN MARA AS B ON AMATNR = BMATNR
INTO TABLE ITAB WHERE ELIKZ <> 'X' AND MTART IN MAT_TYPE AND A~MATNR IN P_MATNR.
ITAB2[] = ITAB[].
SORT ITAB2 BY MATNR MEINS MTART NTGEW.
DELETE ADJACENT DUPLICATES FROM ITAB2 COMPARING MATNR MEINS MTART NTGEW.
LOOP AT ITAB2.
V_QTY = 0.
LOOP AT ITAB WHERE MATNR = ITAB2-MATNR.
SELECT MIN( VORNR ) INTO V_MINOPR FROM AFRU WHERE AUFNR = ITAB-AUFNR.
SELECT MAX( VORNR ) INTO V_MAXOPR FROM AFRU WHERE AUFNR = ITAB-AUFNR.
SELECT SUM( GMNGA ) INTO V_QTYMIN FROM AFRU WHERE AUFNR = ITAB-AUFNR AND VORNR = V_MINOPR.
SELECT SUM( GMNGA ) INTO V_QTYMAX FROM AFRU WHERE AUFNR = ITAB-AUFNR AND VORNR = V_MAXOPR.
V_QTY = V_QTY + V_QTYMIN - V_QTYMAX.
ENDLOOP.
ITAB2-STOCK = V_QTY.
MODIFY ITAB2.
ENDLOOP.
LOOP AT ITAB2.
WRITE:/ ITAB2-MATNR,ITAB2-STOCK.
ENDLOOP.Instead of code from
itab2[] = itab[] till last endloop try code given below
data : begin of minopr occurs 0,
aufnr type afru-aurnr,
vornr type afru-vornr,
end of minopr.
data : begin of maxopr occurs 0,
aufnr type afru-aurnr,
vornr type afru-vornr,
end of maxopr.
data : begin of qtymin occurs 0,
aufnr type afru-aurnr,
vornr type afru-vornr,
end of qtymin.
data : begin of qtymax occurs 0,
aufnr type afru-aurnr,
vornr type afru-vornr,
end of qtymax.
select aurnr vornr into table minopr from afru for all entries in itab where aurnr = itab-aufnr
maxopr[] = minopr[].
sort minopr by aufnr vornr ascending.
sort maxopr by aufnr vornr descending.
delete adjacent duplicates from minopr comparing aufnr.
delete adjacent duplicates from maxopr comparing aufnr.
SELECT aufnr vornr GMNGA INTO TABLE QTYMIN FROM AFRU for all entries in minopr WHERE AUFNR = minopr-AUFNR AND VORNR = MINOPR-vornr.
SELECT aufnr vornr GMNGA INTO TABLE QTYMAX FROM AFRU for all entries in maxopr WHERE AUFNR = maxopr-AUFNR AND VORNR = maxopr-vornr.
sort qtymin by aufnr.
sort qtymax by aufnr
sort itab by matnr MEINS MTART NTGEW.
LOOP AT ITAB.
v_minopr = 0.
v_maxopr = 0.
read table qtymin with key aufnr = itab-aufnr binary search.
if sy-subrc = 0.
loop at qtymin from sy-tabix.
if qtymin-aufnr = itab-aufnr.
V_MINOPR = V_MINOPR + itab-gmnga.
else.
exit.
endif.
endloop.
endif.
read table qtymax with key aufnr = itab-aufnr binary search.
if sy-subrc = 0.
loop at qtymax from sy-tabix.
if qtymax-aufnr = itab-aufnr.
V_MaxOPR = V_MaxOPR + itab-gmnga.
else.
exit.
endif.
endloop.
endif.
V_QTY = V_QTY + V_QTYMIN - V_QTYMAX.
At new itab-matnr.
if sy-tabix = 1.
continue.
endif.
itab2 = itab.
itab2-stock = v_qty.
append itab2.
V_QTY = 0.
endat.
ENDLOOP.
itab2 = itab.
itab2-stock = v_qty.
append itab2.
LOOP AT ITAB2.
WRITE:/ ITAB2-MATNR,ITAB2-STOCK.
ENDLOOP. -
I am doing an an aquisition and displaying the data on graphs. When I run the program it is slow. I think because I have the number of scans to read associated with my scan rate. It takes the number of seconds I want to display on the chart times the scan rate and feeds that into the number of samples to read at a time from the AI read. The problem is that it stalls until the data points are aquired and displayed so I cannot click or change values on the front panel until the updates occur on the graph. What can I do to be able to help this?
On Fri, 15 Aug 2003 11:55:03 -0500 (CDT), HAL wrote:
>My performance is very slow when I run graphs. How do I increase the
>speed at which I can do other things while the data is being updated
>and displayed on the graphs?
>
>I am doing an an aquisition and displaying the data on graphs. When I
>run the program it is slow. I think because I have the number of
>scans to read associated with my scan rate. It takes the number of
>seconds I want to display on the chart times the scan rate and feeds
>that into the number of samples to read at a time from the AI read.
>The problem is that it stalls until the data points are aquired and
>displayed so I cannot click or change values on the front panel until
>the updates occur on the graph. What can I do to be a
ble to help
>this?
It may also be your graphics card. LabVIEW can max the CPU and you
screen may not be refreshing very fast.
--Ray
"There are very few problems that cannot be solved by
orders ending with 'or die.' " -Alistair J.R Young -
How to add new increase the pool rather then trowing a error.
Im trying to build a game and after many attempts and hours of thinking i did manage to create something that looks like a game.The problem now is that there are so many objects that are constantly creating and removing from the stage. that the game is starting to slow down(it is laggy.).So i have searched the net and understood that i will have to use a "Object pooling Method" rather than creating and removing the objects after i dont have any use of them any more, if i want to make the game more memory friendly.
At first i didnt want to use this method (object pooling) ,but after a while i understood that i dont have a lot of options.So i started to search how and why and how.
Yet in this example im just trying this for the bullets (for now) cause if i can do it for them, i can manage to do it for other objects and projects (it will be simple for me to understand what is happening ., what am i doing , when do i add an existing object from the pool and when im creating a new one(when there are non left, things like this)
i did copy some part of this code from a tutorial that i found in the net but , from then i dont know how to increase the pool rather than throwing this error. I did try to create a new object or to increase the pool length but .... it is not working so im sure that im not doing something the way it must be done.
so i have this so far :
its a "simple" pool that calls a simple shape class (circle dot) and gives that to the main stage when the "SPACE" button is pressed
package
import flash.display.Sprite;
import flash.events.Event;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Shape;
public class Bullet extends Sprite{
public var rectangle:Shape = new Shape();
public function Bullet(){
super();
addEventListener(Event.ADDED_TO_STAGE, init);
graphics.beginFill(0xFF0000);
graphics.drawRect(-5, -5, 10,10);
graphics.endFill();
private function init(event:Event):void{
the SpritePool where i cant figure out how to replace the throw new error with some new code that will increase the pool
package {
import flash.display.DisplayObject;
public class SpritePool {
private var pool:Array;
private var counter:int;
public function SpritePool(type:Class, len:int) {
pool = new Array();
counter = len;
var i:int = len;
while (--i > -1) {
pool[i] = new type();
public function getSprite():DisplayObject {
if (counter > 0) {
return pool[--counter];
} else {
throw new Error("You exhausted the pool!");
public function returnSprite(s:DisplayObject):void {
pool[counter++] = s;
and the Game class (the documents class)
package {
import flash.ui.Keyboard;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Shape;
public class Game extends Sprite {
private var ship:Shape;
private var bullets:Array;
private var pool:SpritePool;
public function Game() {
Assets.init();
addEventListener(Event.ADDED_TO_STAGE, init);
private function init(event:Event):void {
pool = new SpritePool(Bullet,10);
bullets = new Array();
ship = new Shape();
ship.graphics.beginFill(0xFF00FF);
ship.graphics.drawRect(0,0, 60, 60);
ship.graphics.endFill();
ship.x = stage.stageWidth / 2 - ship.width / 2;
ship.y = stage.stageHeight - ship.height;
addChild(ship);
stage.addEventListener(KeyboardEvent.KEY_DOWN, onDown);
addEventListener(Event.ENTER_FRAME, loop);
private function onDown(event:KeyboardEvent):void {
if (event.keyCode == Keyboard.SPACE) {
var b:Bullet = pool.getSprite() as Bullet;
b.x = ship.x + ship.width / 2;
b.y = ship.y;
addChild(b);
bullets.push(b);
trace("Bullet fired");
private function loop(event:Event):void {
for (var i:int=bullets.length-1; i>=0; i--) {
var b:Bullet = bullets[i];
b.y -= 10;
if (b.y < 0) {
bullets.splice(i, 1);
removeChild(b);
pool.returnSprite(b);
trace("Bullet disposed");
any suggestions/help how to do itTo put you on the path (the errors/events needs formalization), here would be a quick example. Your pool class:
package
import flash.display.DisplayObject;
public class SpritePool
private var pool:Array;
private var counter:int;
private var classRef:Class;
// public get to know what's left in the pool
public function get availableObjects():int
return counter;
public function SpritePool(type:Class, len:int)
classRef = type;
pool = new Array();
counter = len;
var i:int = len;
while (--i > -1)
pool[i] = new classRef();
public function getSprite():DisplayObject
if (counter > 0)
return pool[--counter];
else
throw new Error("PoolExhausted");
public function returnSprite(s:DisplayObject):void
pool[counter++] = s;
public function increasePool(amount:int):void
counter += amount;
while (--amount > -1)
pool.push(new classRef());
public function decreasePool(amount:int):void
if (counter >= amount)
counter -= amount;
pool.splice(counter - amount,amount);
else
throw new Error("PoolDecreaseFail");
Now you'd need to be catching those errors. Again, the errors should be formalized or you could use events by extending IEventDispatcher. I kept it simple.
Here would be the simple Bullet class I'm using:
package
import flash.display.Sprite;
public class Bullet extends Sprite
private var bullet:Sprite;
public function Bullet():void
var bullet:Sprite = new Sprite();
bullet.graphics.beginFill(0xFF0000,1);
bullet.graphics.drawCircle(-5,-5,10);
bullet.graphics.endFill();
addChild(bullet);
Just draws a red circle just to visualize it..
Here would be a full example of using it. It will import both of these classes (saved as SpritePool.as and Bullet.as in the same folder). Paste this in the actions panel on frame 1:
import SpritePool;
import Bullet; // a simple red 10px circle
import flash.display.Sprite;
import flash.utils.setTimeout;
// fill the pool, swim trunks optional
var pool:SpritePool = new SpritePool(Bullet, 10);
// grab some objects from the pool
// array of currently held objects
var myBullets:Array = new Array();
while (pool.availableObjects > 0)
myBullets.push(pool.getSprite());
// display in random positions
for (var i:int = 0; i < myBullets.length; i++)
addChild(myBullets[i]);
// position
myBullets[i].x = int(Math.random()*stage.stageWidth);
myBullets[i].y = int(Math.random()*stage.stageHeight);
trace("myBullets has " + myBullets.length + " bullets! pool has " + pool.availableObjects + " left.");
// now I want one more, but I should check for errors
try
// fail, none left!
myBullets.push(pool.getSprite());
catch (e:*)
// this should be a custom event, but for speed, quick and dirty
if (e == 'Error: PoolExhausted')
trace("D'oh no more bullets! I need more!");
pool.increasePool(10);
trace("Added 10 more, now available in pool " + pool.availableObjects);
// try to reduce the pool by 15, which should error
try
pool.decreasePool(15);
catch (e:*)
// again should be a formal error
if (e == 'Error: PoolDecreaseFail')
trace("Oops, can't reduce pool by 15! Let's trim all extras, available is " + pool.availableObjects);
// we know it'll work, no error checking
pool.decreasePool(pool.availableObjects);
trace("Left in pool: " + pool.availableObjects);
// now lets wait 5 seconds and remove it all back to the pool
setTimeout(ReturnToPool,5000);
function ReturnToPool():void
// now let's just return all the objects to the pool
while (myBullets.length > 0)
removeChild(myBullets[myBullets.length - 1]);
pool.returnSprite(myBullets.pop());
// now check the pool, should have 10
trace("Amount of bullets in use " + myBullets.length + ", in pool " + pool.availableObjects);
For ease you can just download my example source (saved down to CS5).
Anything from here is just symantics. For example instead of throwing an error because the pool is too small you could simply increase the pool by a fixed amount yourself and return the objects requested.
To keep objects as low as possible you could use a timer to measure the amount of objects in use over a duration and reduce the pool appropriately, knowing the pool will grow as it needs.
All of this is just to avoid unnecessary object creation.
BTW here's my trace which should match yours:
myBullets has 10 bullets! pool has 0 left.
D'oh no more bullets! I need more!
Added 10 more, now available in pool 10
Oops, can't reduce pool by 15! Let's trim all extras, available is 10
Left in pool: 0
(after 5 seconds)
Amount of bullets in use 0, in pool 10 -
Any way to increase the default Heap size for all Java VMs in Solaris 8
Hello,
I have a java product that deals with large databases under Solaris 8. It is a jar file, started by a cron job every night. Some nights it will fail because it runs out of Heap memory depending on the amount of records it has to deal with. I know that I could increase the java VM heap size with "java -jar -mx YY JARFILE" command but I have other java products that are showing the same behavior, and I would like to correct them all in one shot if possible.
What I would like to do is find a system or configuration parameter that forces all Java VMs to use a larger MAX Heap size than the default 16M specified in the Man page for Java. Is there a way to accomplish that?
TIA
MaizoYou could always download the source and modify it.
-
After upgrading to Lion, the Finder will increase the virtual memory while using external HD
after upgrading to Lion, the Finder will increase the "virtual memory size" while using external HD. I check it using Activity Monitor and found that "Finder" wll increase the "Virtual Memory Size" and "Private Memory Size". and then after a while. the system told me my HD is full and hanging there.
My External HD is 1TB. and I have installed new version Paragon NTFS for Mac V.9.01. I am not sure it is related or not.
but I attached my external HD. the "Finder" will start to increase the "Virtual Memory Size".
please help out this case and solve this issue.
thank you !!!The one has nothing to do with the other. Virtual memory size and Private memory size are used by developers to analyze their software. it has nothing to do with anything related to the user.
-
Hi Thanks for 4.0. It runs much faster on my Mac, however, it no longer works to zoom in all of my web pages. I use to be able to use my finger pad to increase the size of all of all pages.
Thanks again.
PS Are you working on a version for the iPad and iPhone with Add Blocker? That would be great!Here are some zoom add-ons which might provide a workaround:
[https://addons.mozilla.org/en-US/firefox/search/?q=image+zoom&cat=all&x=0&y=0 Image Zoom]
As regards your question about iPad and iPhone, you'd be better off posting that question here: [https://forums.mozilla.org/addons/ Mozilla Add-ons Forum]
P.S. ''Apologies for not responding earlier''.
Maybe you are looking for
-
Help with text messages and calls--urgent and annoying :-/
Hello: I have an 8350i on the Sprint/Nextel network. Latest issues include what seems to be a dump of my text messages--yesterday received a batch at 5:38pm that had been sent at 9:49am, 10am, 11:27am, noon, 2pm, 2:15pm and then another batch last ni
-
My Apple TV stops and returns to main menu during movie playback and photo slide show via homesharing. I have a second Apple TV in another room that works fine.
-
MMS card for Nokia 6230i won't let me transfer fil...
I have a 6230i phone with the standard MMS card inside, and when I connect it to my iBook G4 Mac computer, the card comes up and everything, but when I go to transfer a file to it, it says "The item could not be moved because "Memory Card" could not
-
How to Convert Crystal Enterprise v10.0 Business Views to BOE XI?
Hi, It took a long time, but my company FINALLY upgraded from Crystal Enterpise and Crystal Reports v10.0. We just purchased BusinessObjects Edge XI and Crystal Reports 2011. I went to the training class a few months ago, but due to the delay in ou
-
Ignore X-UA-Compatible in IE10
I'm trying to find out how to tell IE10 to stop listening to the "X-UA-Compatible" tag on websites, and do what I (the user) want it to do instead. So far I've only managed to use the developer tools to turn it of temporarily, but it always reverts b