Create CTXCAT index in parallel mode
I am using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production with oracle text version 11.2.0.2.0.
Following script is used to create the ctxcat index but I noticed it is not creating the index in parallel. We have 16 cpu server. The table onto which text index is created has no partition.
BEGIN
--Storage preference
Ctx_Ddl.Create_Preference ('IDX_STORE', 'basic_storage');
Ctx_Ddl.Set_Attribute (preference_name => 'IDX_STORE',
attribute_name => 'I_TABLE_CLAUSE',
attribute_value => 'TABLESPACE C_DATA_02');
Ctx_Ddl.set_attribute ('IDX_STORE',
'I_INDEX_CLAUSE',
'TABLESPACE C_IDX_02 COMPRESS 2');
Ctx_Ddl.set_attribute (
'IDX_STORE',
'R_TABLE_CLAUSE',
'TABLESPACE C_DATA_02 LOB(DATA) STORE AS (CACHE)'
--Wordlist
ctx_ddl.create_preference ('nbcwordlist', 'BASIC_WORDLIST');
ctx_ddl.set_attribute ('nbcwordlist', 'PREFIX_INDEX', 'TRUE');
ctx_ddl.set_attribute ('nbcwordlist', 'PREFIX_MIN_LENGTH', 1);
ctx_ddl.set_attribute ('nbcwordlist', 'PREFIX_MAX_LENGTH', 64);
ctx_ddl.set_attribute ('nbcwordlist', 'SUBSTRING_INDEX', 'NO');
END;
CREATE INDEX FTS_IDX ON INDVL_SRCH_NM (SRCH_NM)
INDEXTYPE IS CTXSYS.CTXCAT
PARAMETERS('STORAGE IDX_STORE STOPLIST C_STOPLIST WORDLIST C_WORDLIST')
PARALLEL (DEGREE 16);
What should be done to create this index in parallel? Is there any other thing that can be done to speed up creation without disabling prefix index.
Thanks. I appreciate you time and effort.
Edited by: spur230 on Nov 14, 2011 4:53 PM
Hi,
in the manual some remarks are made for parallel indexing, see http://download.oracle.com/docs/cd/E14072_01/text.112/e10945/ind.htm#CIHCBABI
So it is possible to index in parallel, but you don't have control, the oracle db decides this for you. So it is possible that Oracle thinks that single indexing is faster, more work is done in the database besides the index creation, and many more factors (also mentioned in above document).
I did many parallel indexing on systems, but always on quiet moments, so I have the most resources for creating indexes. Furthermore I noticed that system statistics can influence the creation. If the statistics are good for the CPU and I/O, the parallel creation can be optimised by the db.
Herald ten Dam
http://htendam.wordpress.com
Similar Messages
-
"Failed to open cursor" while creating CTXCAT index. Bug?
Hi,
I'm trying to create a catalog index on a rather large table. And I am consistently getting the following error. When the table was half the size, the same CREATE INDEX statement worked just fine. However, when the table grows to a certain size, that statement no longer works.
I searched the whole forum and I did not find anything about this error. Am I the first to encounter it? Can this be a bug?
Any advice is greatly appreciated.
Yongtao
SQL>create index myindex on mytable(mycolumn) indextype is ctxsys.ctxcat parameters ('index set myindexset section group mysectiongroup stoplist mystoplist storage mystorage lexer mylexer');
create index myindex on mytable(mycolumn) indextype is ctxsys.ctxcat parameters ('index set myindexset section group mysectiongroup stoplist mystoplist storage mystorage lexer mylexer')
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50800: failed to open cursor
DRG-50857: oracle error in drsxsopen
ORA-00942: table or view does not exist
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.CATINDEXMETHODS", line 97
Elapsed: 09:07:26.25
SQL>Looks like a bug to me. Did it error out immediately, or only after processing for some time?
Do you get the same problem without the storage clause? -
Error when creating index with parallel option on very large table
I am getting a
"7:15:52 AM ORA-00600: internal error code, arguments: [kxfqupp_bad_cvl], [7940], [6], [0], [], [], [], []"
error when creating an index with parallel option. Which is strange because this has not been a problem until now. We just hit 60 million rows in a 45 column table, and I wonder if we've hit a bug.
Version 10.2.0.4
O/S Linux
As a test I removed the parallel option and several of the indexes were created with no problem, but many still threw the same error... Strange. Do I need a patch update of some kind?This is most certainly a bug.
From metalink it looks like bug 4695511 - fixed in 10.2.0.4.1 -
Error while importing table having ctxcat index
Hi
I created a table and ctxcat index on the same. I exported the same. While importing, table got imported but for index creation it gave error imp-00017 with ora-29855.
Though the index have been created but with some errors. I can see the index in all_indexes table but if i try to see the entry in dba_segments, record is not found.
Seems that index is not created properly.
Pls suggest ASAP.
Regards
RajivWhat's your source and target Oracle version ?
1) make sure context option is installed on target DB
2) create a user ctxsys, the schema where the context related objects resides -
Bad performance "CREATE BITMAP INDEX"
Hi,
i just create a bitmap index on a fact table with ~90.000.000 entries. The indexed table is the artice dimension with a cardinality of about 900.000 articles.
The process is running since 24 hours with a parallel degree of 4, 3 slaves finished their work, only one is still collecting/sorting. PGA_AGGREGATE_TARGET is 4 GB.
Oralce has allocated a temporary segment in the temp. tablespace which has a size of 760 MB up to now.
Any idea how to speed up the process except increasing the degree for parallel query ?
Is there a space limit for processes allocating main memory in the PGA. Or is it absolutely impossible to setup Oracle memory for workareas in a way, so that such a big bitmap can be created in main memory ? I dont want to switch back to the 8i features CREATE_BITMAP_AREA_SIZE,...
Any hint is welcome, thx in advance...
PaulHello,
Please check <Bug:3048661>
Hdr: 3048661 9.2.0.3.0 RDBMS 9.2.0.3.0 RAM INDEX PRODID-5 PORTID-23
Abstract: CREATE BITMAP INDEXES TAKES LONGER IN 9203 WHEN PGA => 2GB
Thanks
Ashish -
ORA-06502: when creating a index
Hi,
i'm trying to create an index on a partitionned table, but i'm getting this error :
CREATE INDEX IDX_NDI_WTSCDRHISTO ON WTS_CDRHISTO(SUBSTR(NDI, GREATEST(LENGTH(NDI)-8,1))) Compress Local (
PARTITION WTS_CDRHISTO_2009070412 NOLOGGING COMPRESS TABLESPACE INDX_CDRHISTO_7 PCTFREE 0 INITRANS 2,
PARTITION WTS_CDRHISTO_2009070413 NOLOGGING COMPRESS TABLESPACE INDX_CDRHISTO_7 PCTFREE 0 INITRANS 2,
PARTITION WTS_CDRHISTO_2009070414 NOLOGGING COMPRESS TABLESPACE INDX_CDRHISTO_7 PCTFREE 0 INITRANS 2,
PARTITION WTS_CDRHISTO_2009070414 NOLOGGING COMPRESS TABLESPACE INDX_CDRHISTO_7 PCTFREE 0 INITRANS 2,
PARTITION WTS_CDRHISTO_2010070800 NOLOGGING COMPRESS TABLESPACE INDX_CDRHISTO_7 PCTFREE 0 INITRANS 2
PARALLEL 16;
the error code is : ORA-06502: PL/SQL: numeric or value error: character string buffer too small ???!!!!!!
Anyone can help me ?
Thks in advancePost the section of code that is causing problem along with statements before and after the section as well.
For now, I can take a guess that you are trying to assign this entire statement as a string to a character variable. If so, then that variable length definition is too small to hold this entire string. In PL/SQL you can define VARCHAR2 to a maximum of 32767. -
Automatically sync index in batch mode (w/o ctxsrv)
Didn't find a way to rebuild the index in batch mode every 3 Minutes.
Tried this, which generated error in Oracle:
begin
execute immediate 'alter index vocdev.ua_text_ctx_idx rebuild online parameters(''sync'');';
end;
as a stored procedure, which should be called by the ora_snp0_ORCL process.
May be this kind of dynamic SQL is not allowed. But how can I achieve a solution?
Why isn't there a stored procedure like
CTX_DDL.REFRESH_INDEX('myschema.myindex')
PS: I'm using 8.1.5 on Solaris.
nullNow I found an answer.
-- NOTE: bug # 941367 prevents this from working at 8.1.5.
-- It is fixed in 8.1.6.
create or replace procedure sync
is
begin
execute immediate
'alter index dml_text rebuild online' | |
' parameters ( ''sync'' )' ;
execute immediate
'alter index dml_text rebuild online' | |
' parameters ( ''optimize full maxtime unlimited'' )' ;
end sync;
Looks like we have to upgrade to 8.1.6.
null -
Performance of Creating Spatial Indexes
I have a spatial database with about 75GB of data in it. When I load this data initially it takes about 6 hours to load using 6 processes. To get this performance level I did not create any of the indexes or contsraints. So after the load I have to run the scripts to create the indexes and constraints.
To improve the performance of this I have written a script on UNIX which parses my SQL files and runs each create or alter statement in a separate process. The script makes sure that there are only a certain number of concurrent processes (10).
Creating the indexes is taking longer than the database load itself. There is one point layer in particular which has serveral hundred million rows which takes around 6 hours to complete. Are the any ways you can improve the performance of index creation. I did try the parallel option once but it did not reliably complete when I did my testing.
Does using Oracle Partitioning improve the performance of index creation? I do have a mapsheet attribute which could be used for the partitioning.
PaulHi Paul,
Parallelism should have reliably helped. I've heard a lot of good things about it more recently (i.e. if you tested on an earlier version you may want to upgrade/patch and check it out).
Partitioning should improve index creation speed as well. If you tend to query by an attribute, use that attribute as the partition key. If you tend to query by location (spatial query), try to use a partition key that reflects location (state, county, etc).
When you first create the index, create it local (partitioned) as unusable, then create each partition's index separately in parallel - you can use the script you've already written to do this.
Since it is point data, make sure to use layer_gtype=point
Here is a quick example:
CREATE INDEX partn_table_sidx ON partn_table(geom)
INDEXTYPE IS MDSYS.SPATIAL_INDEX
PARAMETERS ('LAYER_GTYPE=POINT')
LOCAL (
PARTITION P1 PARAMETERS (TABLESPACE=’P1_TBS’),
PARTITION P2 PARAMETERS (TABLESPACE=’P2_TBS’),
PARTITION P3 PARAMETERS (TABLESPACE=’P3_TBS’),
PARTITION P4 PARAMETERS (TABLESPACE=’P4_TBS’))
UNUSABLE;
ALTER INDEX partn_table_sidx REBUILD PARTITION P1;
ALTER INDEX partn_table_sidx REBUILD PARTITION P2;
ALTER INDEX partn_table_sidx REBUILD PARTITION P3;
ALTER INDEX partn_table_sidx REBUILD PARTITION P4; -
Cannot create text index in partition table on Oracle 10g
I try to create context index in a table with 15 millions records. The table is divided 5 partitions and each patition has 3 millions records. When I create the context index in the table, the same error always arised. The follow are my work:
--First create my own lexer
begin
ctx_ddl.createperference('my_chinese_lexer','chinese_lexer');
end;
--Second create index
create index idx_part_text3 on tb_test_part(text3)
indextype is ctxsys.context local (
partition p1_ix,
partition p2_ix,
partition p3_ix ,
partition p4_ix,
partition p5_ix)
parameters('lexer my_chinese_lexer') parallel;
--error message
create index idx_part_text3 on tb_test_part(text3)
Error in 1 line:
ORA-12801: Parellel Query Server P000 send error signal
ORA-29855: Error on execute ODCIINDEXCREATE program
ORA-06510: PL/SQL: User Defined Error
ORA-06512: In "CTXSYS.DRIDISP", line 244
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-06512: In "CTXSYS.DRIPARX", line 10
ORA-06512: In "CTXSYS.TEXTINDEXMETHODS", line 359
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-06512: In "CTXSYS.DRUE", line 191
ORA-06512: In "CTXSYS.DRUE", line 49
ORA-06512: In "CTXSYS.DRUE", line 24
ORA-06512: In "CTXSYS.DRUE", line 186
ORA-06512: In "CTXSYS.DRVDDL", line 682
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-06512: In "CTXSYS.DRUE", line 191
ORA-06512: In "CTXSYS.DRUE", line 49
ORA-06512: In "CTXSYS.DRUE", line 24
ORA-06512: In "CTXSYS.DRVDDL", line 452
ORA-06510: PL/SQL: User Defined Error
BTW:
My oracle 10g run on linux AS3 box with 4xP4 and 6G Mem.
I set pga_aggregate_target=2200M, and at the beginning of creating index, the max pga alloced is about 1100M, but when one patition finished, the error arised and the max pga alloced suddenly reached 3500M. So in every times, the index status is always like below:
P1_ix usable
P2_ix Inprogress
P3_ix Inprogress
P4_ix Inprogress
P5_ix Inprogress
Thx for any help!Try to increase LARGE_POOL_SIZE.
PGA_AGGREGATE_TARGET is not only parameter that can meddle in parallel execution.
Looks like parallel execution parameters is not correctly set. Check it all, including PARALLEL_EXECUTION_MESSAGE_SIZE. -
CTXCAT index problem: SUBSTRING_INDEX parameter doesn't work
Hi,
I need a help with ctxcat index on Oracle 10g. I need to improve searching using CTXCAT index. All is working quite well except SUBSTRING_INDEX parameter. I thought that following was necessary and sufficient:
EXEC ctx_ddl.create_preference('KEVFT_WL', 'BASIC_WORDLIST');
EXEC ctx_ddl.set_attribute('KEVFT_WL', 'substring_index', 'YES');
EXEC ctx_ddl.set_attribute('KEVFT_WL', 'prefix_index', 'YES');
EXEC ctx_ddl.set_attribute('KEVFT_WL', 'prefix_min_length', 1);
EXEC ctx_ddl.set_attribute('KEVFT_WL', 'prefix_max_length', 6);
This BASIC_WORDLIST preference set is used for index creation. But the problem is, that when I try to search using query:
SELECT * FROM TMP_FULLTEXT
WHERE CATSEARCH(fulltext, '%abc', null)> 0;
then I get no rows in results. Despite the fact that row with the text 'aabc' exists in the table.
Can anyone tell me what the problem is?
Thank you,
Julius ChrobakWith a catsearch query operator, the wildcard is an asterisk (*), not a percent sign (%) as with a contains query operator. However, even with the correct wildcard, left truncation is not supported with ctxcat. However, if you use a query template, then you can use the context grammar with the % wildcard for context grammar and left truncation is supported. Please see the demonstration below that reproduces the problem, then corrects it.
SCOTT@10gXE> SELECT * FROM v$version
2 /
BANNER
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SCOTT@10gXE> CREATE TABLE tmp_fulltext (fulltext VARCHAR2 (30))
2 /
Table created.
SCOTT@10gXE> INSERT ALL
2 INTO tmp_fulltext VALUES ('aabc')
3 INTO tmp_fulltext VALUES ('abcd')
4 SELECT * FROM DUAL
5 /
2 rows created.
SCOTT@10gXE> BEGIN
2 ctx_ddl.create_preference ('KEVFT_WL', 'BASIC_WORDLIST');
3 ctx_ddl.set_attribute ('KEVFT_WL', 'substring_index', 'YES');
4 ctx_ddl.set_attribute ('KEVFT_WL', 'prefix_index', 'YES');
5 ctx_ddl.set_attribute ('KEVFT_WL', 'prefix_min_length', 1);
6 ctx_ddl.set_attribute ('KEVFT_WL', 'prefix_max_length', 6);
7 END;
8 /
PL/SQL procedure successfully completed.
SCOTT@10gXE> CREATE INDEX fulltext_idx ON tmp_fulltext (fulltext)
2 INDEXTYPE IS CTXSYS.CTXCAT
3 PARAMETERS ('WORDLIST KEVFT_WL')
4 /
Index created.
SCOTT@10gXE> -- reproduction of original problem using wrong wildcard for catsearch:
SCOTT@10gXE> SELECT * FROM TMP_FULLTEXT
2 WHERE CATSEARCH (fulltext, '%abc', null) > 0
3 /
no rows selected
SCOTT@10gXE> SELECT * FROM TMP_FULLTEXT
2 WHERE CATSEARCH (fulltext, 'abc%', null) > 0
3 /
no rows selected
SCOTT@10gXE> -- left truncation not supported, even with correct wildcard:
SCOTT@10gXE> SELECT * FROM TMP_FULLTEXT
2 WHERE CATSEARCH (fulltext, '*abc', null) > 0
3 /
no rows selected
SCOTT@10gXE> SELECT * FROM TMP_FULLTEXT
2 WHERE CATSEARCH (fulltext, 'abc*', null) > 0
3 /
FULLTEXT
abcd
SCOTT@10gXE> -- query using template with context grammar:
SCOTT@10gXE> SELECT * FROM TMP_FULLTEXT
2 WHERE CATSEARCH
3 (fulltext,
4 '<query>
5 <textquery grammar="context">
6 %abc
7 </textquery>
8 <query>',
9 null) > 0
10 /
FULLTEXT
aabc
SCOTT@10gXE> -
Creating the index takes forever
Hi,
I'm trying to index ~1100 PDF documents, who size varies between 20KB and 4MB, those PDF are stored in two directories on our Web server, so I use a URL_DATASTORE to get them. I have a column that contains the correct URL to the PDF, the column is a VARCHAR2(2000). 55% of documents are in French, the 45% remaining are English documents. I created this set of preferences :
begin
ctx_ddl.create_preference('AAPDF_DATA_PREF','URL_DATASTORE');
ctx_ddl.set_attribute('AAPDF_DATA_PREF','NO_PROXY','acaiq.com');
ctx_ddl.set_attribute('AAPDF_DATA_PREF','Timeout','60');
end;
begin
ctx_ddl.create_preference('LEXIQUE_ANGLAIS','BASIC_LEXER');
ctx_ddl.set_attribute('LEXIQUE_ANGLAIS','index_themes','no');
ctx_ddl.set_attribute('LEXIQUE_ANGLAIS','index_text','yes');
ctx_ddl.set_attribute('LEXIQUE_ANGLAIS','theme_language','english');
end;
begin
ctx_ddl.create_preference('LEXIQUE_FRANCAIS','BASIC_LEXER');
ctx_ddl.set_attribute('LEXIQUE_FRANCAIS','index_themes','no');
ctx_ddl.set_attribute('LEXIQUE_FRANCAIS','index_text','yes');
ctx_ddl.set_attribute('LEXIQUE_FRANCAIS','theme_language','french');
end;
begin
ctx_ddl.create_preference('LEXIQUE_GLOBAL','MULTI_LEXER');
ctx_ddl.add_sub_lexer('LEXIQUE_GLOBAL','DEFAULT','LEXIQUE_ANGLAIS');
ctx_ddl.add_sub_lexer('LEXIQUE_GLOBAL','french','LEXIQUE_FRANCAIS','fre');
end;
begin
ctx_ddl.create_preference('PREF_FUZZY', 'BASIC_WORDLIST');
ctx_ddl.set_attribute('PREF_FUZZY','FUZZY_MATCH','FRENCH');
ctx_ddl.set_attribute('PREF_FUZZY','FUZZY_SCORE','30');
ctx_ddl.set_attribute('PREF_FUZZY','FUZZY_NUMRESULTS','200');
ctx_ddl.set_attribute('PREF_FUZZY','SUBSTRING_INDEX','TRUE');
ctx_ddl.set_attribute('PREF_FUZZY','STEMMER','FRENCH');
end;
And I created the index with this DML :
CREATE INDEX ACAIQ.aapdf_index ON AA_PDF(AAPDF_CONTENU) INDEXTYPE IS ctxsys.context PARALLEL 1 PARAMETERS ('datastore AAPDF_DATA_PREF lexer LEXIQUE_GLOBAL language column AAPDF_LANGUE_ISO wordlist PREF_FUZZY memory 10M');
The problem is that it takes forever to create the index. I started the create process yesterday after lunch, and it still running :-/ I looked at my Web server logs and I do see my Oracle server fetching the PDF, but it fetch ~12 PDF per hour.
I'm doing this on our test server, it's a P4 1.4 Ghz with RedHat Linux 8 and Oracle 9i 9.2.02. It's not a fast server, but still I don't think it's normal to take 24 hours to index about 1 GB of data.I recreated the index with a 50M memory parameter instead of 10M. It don't speed up the process, in 40 minutes it only indexed 17 documents.
vmstat stats when indexing the PDF documents :
# vmstat -n 15
procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
1 2 0 116104 6796 18120 489684 0 0 3 0 3 7 4 7 2
0 3 0 116104 6776 18200 489256 0 0 62 1500 671 317 48 3 49
1 1 0 116104 7084 18216 489728 0 0 37 1578 673 333 44 3 53
0 1 0 116104 6776 18256 489256 0 0 24 1577 669 322 50 3 47
1 0 0 116104 6908 18300 489876 0 0 18 1375 662 305 33 3 65
0 1 0 116104 7000 18328 488136 0 0 19 1425 662 314 33 3 64
0 1 0 116104 7812 18356 488892 0 0 31 1066 609 207 44 2 53
1 1 0 116104 6776 18380 489168 1 0 19 1198 648 285 19 2 79
0 1 0 116104 6776 18412 488212 0 0 23 1193 627 244 41 2 57
2 0 0 116104 6776 18432 489324 0 0 34 1524 664 313 48 3 49
1 0 0 116104 6780 18456 488572 0 0 26 1430 660 308 39 3 58
2 0 0 116104 6776 18500 488424 0 0 32 1484 667 316 45 3 52
1 1 0 116104 6776 18516 487488 0 0 11 1301 650 287 28 3 69
0 1 0 116104 6776 18560 488316 0 0 35 1183 637 264 30 2 68
0 1 0 116104 6776 18584 487344 0 0 34 1363 645 276 47 3 50
2 0 0 116104 6776 18604 488424 0 0 22 1437 660 306 39 3 58 -
/sapapo/c5 transaction in parallel mode
Hello All,
I just got a doubt regarding transaction /SAPAPO/C5. One of my coleague is saying we should not execute this program in parallel mode, he says it may create some inconsistency( he got info from one of SAP person ). Is it true?, does any body any Info about this?. Can we execute in parallel?.
Thanks for your help in Advance.
Regards,
SriniHi Srini
As far as I know, I do not know the clear restriction on this. And I know some customer who
use parallel processing of /SAPAPO/C5.
(Off course, when you schedule C5 in parallel, each job should different orders. So you need to be careful about selection variant).
Best Regard
Keiji -
Any way to utilize CTXCAT index?
I’ve been looking into trying to add indexes to columns in a table which have a data type of VARCHAR2(4000). Does anyone know if there is a way to utilize a CTXCAT index from an OBIEE request? It requires a special syntax in the where clause so I'm not sure if there is a way to make OBIEE actual take advantage of the index if I do create it.
Edited by: PBizme on May 6, 2010 2:31 PMIncase anyone else needs it, here are the pinouts:
- Analog Ground
2 - Analog Headphone Out Left
3 - Audio Backpanel Mute -- short to ground to mute the backpanel (when headphones are plugged in)
4 - Analog Headphone Out Right
5 - same as #3
6 - Mic input from front panel
7 - key pin (shouldn't be there)
8 - VREF out -- voltage reference for Mic
9 - MIC IN MUTE -- ground when mic isn't plugged in, +2VDC when mic is plugged in
0 - Audio cable detect -- will be ground when headphones are plugged in (not normally used)
Side view of the card:
[img"]http://www.cs.rpi.edu/%7Ehollec/images/sonata+audigy.jpg"> -
Is there any issues using a DAC card (M-Series) in TestStand in Parallel Mode? I would like to have 4 instances running in parallel all using ine DAC card. Of course, each instance would be using separate channels. How would you create the reference to the DAC card? I assumed that one insides could open the DACCA card but could be a race conditon.
Matthew Fitzsimons
Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and VisonThe M series cards (if I remember correctly) only have one clock for input and one for output. This means that you can only do one operation at a time on the device, even if it has multiple channels. If you are doing a true parallel test (rather than a batch test), I would recommend using a Lock in TestStand on the card so that only one UUT tries to access the device at a time. If you are using Batch, you can use the same setup, or have a "worker" thread that does the DAQ operations and then sends the data to each thread using a Notifier. Depending on how long you are using the card, this may be more trouble than just doing it independently and using locks.
Allen P.
NI -
Estimate time to enable all constraints and create all indexes
Hi,
To prepare a project to export/import for a whole database,
How can I estimate time required to enable all constraints and create all indexes
* Assume one full table scan per one FK constraint
* Assume one full table scan plus one sort/merge operation per one index
* Check it out whether we can use parallel DDL feature to speed up enabling of FK constraints
how can I use core schema (which will be exp/imp) in the production db to get needed metric for the calcualtion?
thanks
JerryThere is no definative way to find the time it takes to enable a constraint / create a Index
It toatally depends on the Size of the table / execution plan / resources available (In terms of CPU and Physical Memory ) /
Amount of Temporary tablespace
Maybe you are looking for
-
IPod touch 32 Gig "One of the USB Devices Attatched to this Computer has.."
One of the USB Devices Attatched to this Computer has malfunctioned, and Windows does not recognized it. I've had this iPod for about a month now, with no problems until now. Infact, two days ago when I connected/charged it everything worked fine. I
-
Hi, I add some articles on my mac to the reading list, then I try to access them offline (they appear in safari) from my iPhone, but they are available only when online. How can I read articles while offline? Thanks for your help and support.
-
Report not hitting pre seed cahe created using iBot by Admin
Hi, We created an iBot to pre seed the cache using Administrator and it is creating the cache but when normal user run this particular report for the 1st time it's not hitting the cache(created using iBot). all the subsequest users request hitting th
-
Regarding back ground job scheduling
Hi, one of our program was sheduled for back ground job, by another user, so just i need to knwo when this job is sheduled and it is executing daily, so, i need to knwo whether he has created a background job through , sm36, or through a program,
-
CHANGING FONTS(SIZE/NAME) IN CHARACTAR MODE REPORT(URGENT)
I have problem with Character Mode Report. Can I change Font Name, Size and other charcterstics of a character mode report? If Yes, How? How to change the settings of Character Mode Report (like orientation etc) Namrata