Use "wlconfig"/"query" to get multiple mbeans and iterate
The WebLogic documentation on the "wlconfig" Ant task shows how to use the "query" subelement to get an mbean based on the domain, type, and name. However, in the documentation, I see that the "name" attribute is optional.
I tried writing a little test using this that queries the "Server" type (with no name) and prints out the resulting variable in an "echo" element right after the query. I tried this on a domain with a single server (just the admin server), and on a domain with an admin server and a cluster. When I print out the variable, it prints out the conventional JMX name format. When I ran this on the domain with multiple servers, it separate each mbean name with a semicolon.
So, it's clear that it retrieved all the "Server" mbeans, but how do I iterate through the mbeans that I found? The wlconfig documentation doesn't mention the possibility of returning multiple mbeans.
Hi
I am trying to do this exact same thing, in order to read resources configured in a WebLogic Server domain and clone it into another domain through Ant scripting.
Did you find any way to iterate through MBeans?
Similar Messages
-
Query to get the blocker and holder info
Hi All,
I have framed the following query to get the blocker and holder info.I intend to use this query in a auto-generated mail which executes every 15 mins
I have put an outer join on the holder because the holder query might have been executed at the time the auto mail configuration fires this query
I am not a dba and was apprehensive is there is some mistake in the logic of my query. I was also expecting to join v$sql_bind_capture using sql_hash_value and sql_address just the way in which I have joined v$sqlarea
Looking forward to your kind help in vetting the below query
Select distinct waiting_session,
dba_waiters.holding_session,
decode(to_char(session_waiting_info.STATE),'0','waiter is currently waiting','-2','duration of last wait by waiter is unknown','-1','waiter waited for a short time',' waiter waited long time') "waiters waiting state",
decode(session_waiting_info.WAIT_TIME,0,'waiter waiting') "waiters last wait time",
decode(to_char(session_holding_info.STATE),'0','holder is currently waiting','-2','duration of last wait by holder is unknown','-1','holder waited for a short time','holder waited long time') "holders waiting state",
decode(session_holding_info.WAIT_TIME,0,'waiter waiting') "holders last wait time",
sql_waiting_info.sql_text "query of the waiter",
sql_holding_info.sql_text "query of the holder",
session_waiting_info.STATUS "waiting STATUS",
session_holding_info.STATUS "holding STATUS",
session_waiting_info.process "waiting process",
session_waiting_info.PROGRAM "waiting PROGRAM",
session_holding_info.process "holding process",
session_holding_info.PROGRAM "holding PROGRAM",
session_waiting_info.ROW_WAIT_OBJ# "waiting object",
session_waiting_info.ROW_WAIT_ROW# "waiting row",
session_holding_info.ROW_WAIT_OBJ# "holding object",
session_holding_info.ROW_WAIT_ROW# "holding row",
session_waiting_info.BLOCKING_SESSION_STATUS "waiting session status",
session_holding_info.BLOCKING_SESSION_STATUS "holding session status",
session_waiting_info.username "holding os username",
session_holding_info.username "waiting os username",
session_waiting_info.MACHINE "waiting MACHINE",
session_waiting_info.TERMINAL "waiting TERMINAL",
session_holding_info.MACHINE "holding MACHINE",
session_holding_info.TERMINAL "holding TERMINAL",
session_waiting_info.TYPE "waiting TYPE",
session_holding_info.TYPE "holding TYPE"
from dba_waiters,
v$session session_holding_info,
v$session session_waiting_info,
v$sqlarea sql_waiting_info,
v$sqlarea sql_holding_info
Where dba_waiters.waiting_Session = session_waiting_info.sid
and dba_waiters.holding_Session = session_holding_info.sid
And session_waiting_info.sql_hash_value = sql_waiting_info.hash_value
And session_waiting_info.sql_address = sql_waiting_info.address
and session_holding_info.sql_hash_value = sql_holding_info.hash_value(+)
And session_holding_info.sql_address = sql_holding_info.address(+)
and dba_waiters.mode_held <> 'None'
Regards,
Vishal
Edited by: user11924113 on Feb 18, 2011 2:39 AMQuery to track the holder and waiter info
People who reach this place for a similar problem can use the above link to find their answer
Regards,
Vishal -
Query for getting all function and procedure inside the packages
hi All
Please provide me Query for getting all function and procedure inside the packages
thanksAs Todd said, you can use user_arguments data dictionary or you can join user_objects and user_procedures like below to get the name of the packaged function and procedure names.
If you are looking for the packaged procedures and functions source then use user_source data dictionary
select a.object_name,a.procedure_name from user_procedures a,
user_objects b
where a.object_name is not null
and a.procedure_name is not null
and b.object_type='PACKAGE'
and a.object_name=b.object_name -
Can I use one itunes account for multiple users and multiple devices
Can I use one itunes account for multiple users and multiple devices?
The iTunes EULA, as I understand it (I'm not an attorney )for Apps is basically that one person can use an App multiple devices, or multiple people can use an App one device..so one to many or many to one, but not many to many....
-
How do I use Migration Assistant to get my Mail and Keychain settings from
How do I use Migration Assistant to get my Mail and Keychain settings from my Power Mac G5 2.3Ghz? I just purchased a new 2.5 MacBook Pro which will be delivered tomorrow, and I want to to know how to transfer Mail and Keychain?
Thank You in advance for your reading and replying.
Kindest Regards,
SebastianRather than using Migration Assistant, which can cause trouble with the PPC to Intel change, simply boot the G5 in FireWire target disk mode and manually transfer the following:
/Home/Library/Keychains (copy the whole folder)
/Home/Library/Mail (copy the whole folder)
/Home/Library/Preferences/com.apple.mail.plist
You might want to look over Kappy's helpful guide for migrating, which covers the full process for a manual migration (including the above files).
Hope this helps... -
I have a new mac book pro System Version: OS X 10.9.4 just one week old. When i play games using chrome the mac gets super hot and in the middle and the bottom. I had to return a mac last week because of this and got a new one replaced. But it still
I ran the diagnostics suggested in Macbook Pro Running Slow and Overheating, High kernel_task CPU Usage. Results below. Any help would be great.
System Version: OS X 10.9.4 (13E28)
Kernel Version: Darwin 13.3.0
Boot Mode: Normal
Model: MacBookPro11,1
USB
Dell USB Optical Mouse (Dell Inc.)
System diagnostics
2014-09-20 PluginProcess spin
2014-09-20 PluginProcess spin
2014-09-20 iTunes spin
2014-09-22 PluginProcess spin
2014-09-22 PluginProcess spin
2014-09-25 PluginProcess spin
2014-09-26 Google Chrome spin
2014-09-26 Google Chrome spin
User diagnostics
2014-09-20 CalendarAgent crash
2014-09-22 DashboardClient crash
Kernel messages
Sep 26 17:21:23 IOPPF: Sent gpu-internal-plimit-notification last value 4 (rounded time weighted average 4)
Sep 26 17:21:35 IOPPF: Sent cpu-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:21:35 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 3 (rounded time weighted average 3)
Sep 26 17:21:35 IOPPF: Sent gpu-internal-plimit-notification last value 3 (rounded time weighted average 3)
Sep 26 17:21:47 IOPPF: Sent cpu-plimit-notification last value 8 (rounded time weighted average 7)
Sep 26 17:21:47 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 3 (rounded time weighted average 3)
Sep 26 17:21:47 IOPPF: Sent gpu-internal-plimit-notification last value 3 (rounded time weighted average 3)
Sep 26 17:22:01 IOPPF: Sent cpu-plimit-notification last value 5 (rounded time weighted average 7)
Sep 26 17:22:01 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 2 (rounded time weighted average 3)
Sep 26 17:22:01 IOPPF: Sent gpu-internal-plimit-notification last value 2 (rounded time weighted average 3)
Sep 26 17:22:21 IOPPF: Sent cpu-plimit-notification last value 10 (rounded time weighted average 9)
Sep 26 17:22:21 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 4 (rounded time weighted average 3)
Sep 26 17:22:21 IOPPF: Sent gpu-internal-plimit-notification last value 4 (rounded time weighted average 3)
Sep 26 17:22:34 IOPPF: Sent cpu-plimit-notification last value 8 (rounded time weighted average 8)
Sep 26 17:22:34 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:22:34 IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:22:47 IOPPF: Sent cpu-plimit-notification last value 6 (rounded time weighted average 6)
Sep 26 17:22:47 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:22:47 IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:23:01 IOPPF: Sent cpu-plimit-notification last value 7 (rounded time weighted average 7)
Sep 26 17:23:01 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:23:01 IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:23:12 IOPPF: Sent cpu-plimit-notification last value 6 (rounded time weighted average 6)
Sep 26 17:23:12 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:23:12 IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
Extrinsic daemons
com.adobe.fpsaud
Extrinsic agents
com.google.keystone.user.agent
launchd items
/Library/LaunchDaemons/com.adobe.fpsaud.plist
(com.adobe.fpsaud)
Library/LaunchAgents/com.apple.FolderActions.enabled.plist
(com.apple.FolderActions.enabled)
Library/LaunchAgents/com.apple.FolderActions.folders.plist
(com.apple.FolderActions.folders)
Library/LaunchAgents/com.google.keystone.agent.plist
(com.google.keystone.user.agent)
Startup items
/Library/StartupItems/TuxeraNTFSUnmountHelper/TuxeraNTFSUnmountHelper
Extrinsic loadable bundles
/Library/Internet Plug-Ins/Flash Player.plugin
(com.macromedia.Flash Player.plugin)
/Library/PreferencePanes/Flash Player.prefPane
(com.adobe.flashplayerpreferences)
/Library/PreferencePanes/Tuxera NTFS.prefPane
(com.tuxera.ntfs.mac.prefpane)
Library/Address Book Plug-Ins/SkypeABDialer.bundle
(com.skype.skypeabdialer)
Library/Address Book Plug-Ins/SkypeABSMS.bundle
(com.skype.skypeabsms)
User login items
iTunesHelper
Google Chrome
Restricted user files: 45
Elapsed time (s): 75 -
i have a new mac book pro System Version: OS X 10.9.4 just one week old. When i play games using chrome the mac gets super hot and in the middle and the bottom. I had to return a mac last week because of this and got a new one replaced.The issue still remains
I ran the diagnostics suggested in Macbook Pro Running Slow and Overheating, High kernel_task CPU Usage The results are below.
System Version: OS X 10.9.4 (13E28)
Kernel Version: Darwin 13.3.0
Boot Mode: Normal
Model: MacBookPro11,1
USB
Dell USB Optical Mouse (Dell Inc.)
System diagnostics
2014-09-20 PluginProcess spin
2014-09-20 PluginProcess spin
2014-09-20 iTunes spin
2014-09-22 PluginProcess spin
2014-09-22 PluginProcess spin
2014-09-25 PluginProcess spin
2014-09-26 Google Chrome spin
2014-09-26 Google Chrome spin
User diagnostics
2014-09-20 CalendarAgent crash
2014-09-22 DashboardClient crash
Kernel messages
Sep 26 17:21:23 IOPPF: Sent gpu-internal-plimit-notification last value 4 (rounded time weighted average 4)
Sep 26 17:21:35 IOPPF: Sent cpu-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:21:35 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 3 (rounded time weighted average 3)
Sep 26 17:21:35 IOPPF: Sent gpu-internal-plimit-notification last value 3 (rounded time weighted average 3)
Sep 26 17:21:47 IOPPF: Sent cpu-plimit-notification last value 8 (rounded time weighted average 7)
Sep 26 17:21:47 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 3 (rounded time weighted average 3)
Sep 26 17:21:47 IOPPF: Sent gpu-internal-plimit-notification last value 3 (rounded time weighted average 3)
Sep 26 17:22:01 IOPPF: Sent cpu-plimit-notification last value 5 (rounded time weighted average 7)
Sep 26 17:22:01 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 2 (rounded time weighted average 3)
Sep 26 17:22:01 IOPPF: Sent gpu-internal-plimit-notification last value 2 (rounded time weighted average 3)
Sep 26 17:22:21 IOPPF: Sent cpu-plimit-notification last value 10 (rounded time weighted average 9)
Sep 26 17:22:21 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 4 (rounded time weighted average 3)
Sep 26 17:22:21 IOPPF: Sent gpu-internal-plimit-notification last value 4 (rounded time weighted average 3)
Sep 26 17:22:34 IOPPF: Sent cpu-plimit-notification last value 8 (rounded time weighted average 8)
Sep 26 17:22:34 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:22:34 IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:22:47 IOPPF: Sent cpu-plimit-notification last value 6 (rounded time weighted average 6)
Sep 26 17:22:47 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:22:47 IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:23:01 IOPPF: Sent cpu-plimit-notification last value 7 (rounded time weighted average 7)
Sep 26 17:23:01 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:23:01 IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:23:12 IOPPF: Sent cpu-plimit-notification last value 6 (rounded time weighted average 6)
Sep 26 17:23:12 IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
Sep 26 17:23:12 IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
Extrinsic daemons
com.adobe.fpsaud
Extrinsic agents
com.google.keystone.user.agent
launchd items
/Library/LaunchDaemons/com.adobe.fpsaud.plist
(com.adobe.fpsaud)
Library/LaunchAgents/com.apple.FolderActions.enabled.plist
(com.apple.FolderActions.enabled)
Library/LaunchAgents/com.apple.FolderActions.folders.plist
(com.apple.FolderActions.folders)
Library/LaunchAgents/com.google.keystone.agent.plist
(com.google.keystone.user.agent)
Startup items
/Library/StartupItems/TuxeraNTFSUnmountHelper/TuxeraNTFSUnmountHelper
Extrinsic loadable bundles
/Library/Internet Plug-Ins/Flash Player.plugin
(com.macromedia.Flash Player.plugin)
/Library/PreferencePanes/Flash Player.prefPane
(com.adobe.flashplayerpreferences)
/Library/PreferencePanes/Tuxera NTFS.prefPane
(com.tuxera.ntfs.mac.prefpane)
Library/Address Book Plug-Ins/SkypeABDialer.bundle
(com.skype.skypeabdialer)
Library/Address Book Plug-Ins/SkypeABSMS.bundle
(com.skype.skypeabsms)
User login items
iTunesHelper
Google Chrome
Restricted user files: 45
Elapsed time (s): 75 -
Hi all since updating to ios 6 when trying to use facetime I keep getting connection lost and no ringing tone has Apple got a fix for this issue
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
http://tinyurl.com/32drz3d
Cheers, Tom -
Need to create report query to get latest open and last closed period for given application
Hi All,
I need to create a report query to get below result displayed in report output.
1) - Application name
2) - Ledger name
-o/ -Operating Unit
3) - Last Closed Period
4) - Current Open Period
5) - Date Closed – Last Closed Period
6) - Date Open – Current Open Period
I tr I tried to create the query below is the same. Please let me know if it looks fine.
SELECT *
FROM (SELECT fav.application_name ,
hou.name Operating_Unit_Name,
gl.name Ledger_name,
gl.latest_opened_period_name,
gps.period_name Period_Name,
DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
gps.last_update_date Last_status_modified_date
FROM gl_period_statuses gps,
gl_sets_of_books gsob,
fnd_application_vl fav,
hr_operating_units hou,
gl_ledgers gl
WHERE gps.period_name = gps.period_name
AND gps.closing_status ='C'
AND fav.application_short_name =
NVL('&p_application_short_name', fav.application_short_name)
AND gps.application_id = fav.application_id
AND gsob.set_of_books_id = gps.set_of_books_id
AND hou.set_of_books_id = gps.set_of_books_id
AND gl.ledger_id = gsob.set_of_books_id
AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id)
ORDER BY gps.last_update_date desc )WHERE ROWNUM = 1
UNION ALL
SELECT *
FROM (SELECT fav.application_name Application_Name,
hou.name Operating_Unit_Name,
gl.name Ledger_name,
gl.latest_opened_period_name,
gps.period_name Period_Name,
DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
gps.last_update_date Last_status_modified_date
FROM gl_period_statuses gps,
gl_sets_of_books gsob,
fnd_application_vl fav,
hr_operating_units hou,
gl_ledgers gl
WHERE gps.period_name = gps.period_name
AND gps.closing_status = 'O'
AND fav.application_short_name =
NVL('&p_application_short_name', fav.application_short_name)
AND gps.application_id = fav.application_id
AND gsob.set_of_books_id = gps.set_of_books_id
AND hou.set_of_books_id = gps.set_of_books_id
AND gl.ledger_id = gsob.set_of_books_id
AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id)
ORDER BY gps.last_update_date desc)
WHERE ROWNUM = 1It is within the table I believe (I'm not a DBA or a developer) since I created a BLOB column and then used the file browse feature to allow users to attach a resume to the table in order to be able to perform a search of the attached documents.
I'm just having a hard time pointing the link in the search results report to the document in the blob column.
The information on that page is great if you're trying to create a link to the document on the initial report.
But I created a query using Oracle Text to run a report that does a boolean search of the attached word documents in the table.
When it displays the search results, it doesn't create a link to the document and I can't figure out how to do it.
Here's a link the the instructions I used to create the initial search report with Oracle Text, mind you I only created the index and query, I didn't add in all the link data since they're using documents on websites and I'm using documents in a table.
http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
If you can help me with this I'd really appreciate it.
Thanks again.
Greg
Edited by: gjones77 on Dec 2, 2008 8:14 AM -
Need a sql query to get multiple dates in rows
Hi All,
i need a query to get dates for last 7 days and each dates should be in one row...
but select sysdate from dual..gives one row...
Expexcted Output
Dates:
01-oct-2013
30-sep-2013
29-sep-2013
28-sep-2013
27-sep-2013
26-sep-2013Hi,
Do you mean that you want all 7 dates together on 1 row?
Here's one way:
SELECT LISTAGG ( TO_CHAR ( SYSDATE + 1 - LEVEL
, 'DD-Mon-YYYY'
) WITHIN GROUP (ORDER BY LEVEL) AS txt
FROM dual
CONNECT BY LEVEL <= 7
This is an example of String Aggregation, that is, taking a column on multiple rows, and concatenating all the values (however many htere happen to be) into 1 big string column 1 row.
Like everything else, exactly how to do it depends on your Oracle version.
For more on String Aggregation, including differetn techniques for different versions, see http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
Message was edited by: FrankKulash
Sorry, I mis-read the question. -
Im trying to make a postersize picture collage and I don't know how to get multiple pictues arranged. Someone said I can use the layer option. But Im just not getting it. Please help!
Click File >> Open and select all of your photos
That will add them to the project bin
Then select File >> New >> Blank File
Select background color White (or whatever you prefer) and add your width and height for your final image (set resolution 72 for web usage or 240 to 300 for printing) then click OK
In the project bin click your first photo and drag it up into the main window on top of your new background.
Click on the move tool and click in the center of the photo and drag to arrange it where you want on the background - you can hold down the shift key to maintain original proportions whilst dragging the corner handles of the bounding box to get the size you want.
Do the same with the next photo (drag it up into the main window) and use the move tool to position it. Then continue with each image.
Finally Click Layer >>Flatten image and save as jpeg. (Save as PSD if you want to preserve the layers for editing again)
N.B. as you add images they get dropped in the center. So you need to use the move tool to drag them apart. Click in the middle of one and move it around, and then the others until you get them positioned as you want.
When you click again with the move tool a bounding box appears around the image and you can drag out the corner handles to re-size your photos. Hold down the shift key when dragging the corner handle and that will maintain the proportions of the original.
Finally click Layer >>Flatten Image and save your collage - you may then want to use the crop tool to cut away any surplus white canvas, and then re-save. Click the T tool to add text. -
Query to get parameter name and value after ran the conccurent program
Hi All,
Query to get the parameter name and value for completed concurrent program using the request id. can any one help me in this regard.
Thanks,
Red.Red,
I have tried the same query and it works properly here.
I have submitted "Purge Signon Audit data" concurrent program with "Audit Date" parameter set to 01-06-2009, and here is the query output:
SQL> select request_id, phase_code, status_code,
argument_text, argument1
from fnd_concurrent_requests
where request_id = '739664';
REQUEST_ID P S ARGUMENT_TEXT ARGUMENT1
739664 C C 2009/06/01 00:00:00 2009/06/01 00:00:00Regards,
Hussein -
Z-Report for PR using ES language not getting the Header and Item text deta
Hi,
We have developed Z report for PR report and we ahve used ES and EN language, but when i select language ES and execute the report then we are not getting the Header and Item text data,
Secondly when We select language EN and execute the report then we are getting the Header and Item text details.
Please guide me.
Thanks
ShitalHave you maintained Tetexxt in ES language or is it that you are expecting on selecting ES the text from En will get coverted to ES and display in your report?
-
DB Query to get table sizes and classification in OIM Schema
My customer's OIM Production DB size has gone upto 300 gb. They want to know why. Like they want to know "what kind of data" is the reason for such a large size of DB. Is there a way to find out, from OIM schema, what are sizes for each table (like ACT, USR etc) and classify them into User Data, Config Data, Audit Data, Recon Data, etc?
Any help is very much appreciated in this regard.
Regards
VinayYou can categorize tables using information from below link:
http://rajnishbhatia19.blogspot.in/2008/08/oim-tables-descriptions-9011.html
You can count number of rows for tables using:
select count(*) from tablename;
Find major tables whose size is to be calculated and find avg length of a row (by adding attribute lengths defined).
Finally, calculate the table size using below query:
select TABLE_NAME, ROUND((AVG_ROW_LEN * NUM_ROWS / 1024), 2) SIZE_KB from USER_TABLES order by TABLE_NAME;
regards,
GP -
My version is db-4.7.25.NC
I want to use BDB as backend for BBS, so multiple writer and multiple reader are not avoidable.
My question is what flags I should select while open DB_ENV and DB, DB_THREAD or else?
DB_INIT_CDB can support only writer thread, I wonder it could meet my requirement?
Any suggestion, welcom!
Edited by: user11335524 on Jun 30, 2009 11:37 PMThe <tt>DB_INIT_CDB</tt> flag only permits one writer <i>at a time</i>. Berkeley DB uses locking internally to enforce this constraint, so if two application threads try to update at the same time, one of them will wait for the other. The <tt>DB_THREAD</tt> flag is required if multiple threads will share the same <tt>DB_ENV</tt> or <tt>DB</tt> handle.
Regards,
Michael Cahill, Oracle Berkeley DB.
Maybe you are looking for
-
Cinema Display hookup via a Thunderbolt drive
I believe it's possible to run a Cinema Display from my MBP via a Thunderbolt drive, going from the MBp to the TB and then, via a Mini-display to DVI cable, into the display. I've hooked it up this way with the display also plugged into its power sup
-
DVI to video issues, please help!!!
When I plug my mac mini up to my tv, it loads fine, then when the desktop appears it goes black and white and starts rolling, and flickering. I've tried some different resolution settings and no go. Any advice??? Thanks,Jason
-
Just bought a new iMac... should I also upgrade my old iBook G4?
I ordered a new iMac this week that will come with Leopard preinstalled. Right now, my only computer at home is my old G4 iBook running Tiger. I haven't really felt compelled to upgrade the iBook thus far to Leopard, but now that I will have the new
-
How to catching exceptions from another thread
hi,guys,i have some code like this: public static void main(String[] args) { TimeoutThread time = new TimeoutThread(100,new TimeOutException("超时")); try{ t.start(); }catch(Exception e){ System.out.println("eeeeeeeeeee"); TimeoutTh
-
Hi everyone, It would be great of you people if some could send the BW case studies you people have. Thanks in advance. Sekhar