|
More site info...
Berkeley DB
| Forum profile
|
|
Forum profile page for Berkeley DB
on http://www.oracle.com.
This report page is the aggregated overview from a single forum: Berkeley DB
, located on the Message Board at http://www.oracle.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Berkeley DB
" on the Message Board at http://www.oracle.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Berkeley DB
:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
19
|
83
|
247
|
|
Post:
|
37
|
145
|
414
|
|
|
Berkeley DB
Posting activity graph:
|
Top authors during last week:
user's latest post:
valgrind reports uninitialized...
Published (2009-12-16 11:48:00)
Hi, There's nothing serious about these warnings. Those uninitialized byes are for padding purposes. Please see the "--enable-umrw" build option for the Berkeley DB libraries: http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/build_unix_conf.html and use it when building the libraries to avoid seeing these errors. Regards, Andrei
user's latest post:
individual cache size too large:...
Published (2009-12-18 05:22:00)
Are you sure you are linking with the correct version of the library? That is something to check. Thanks, Sandra
user's latest post:
about data compression
Published (2009-12-15 05:42:00)
This time i create a table Key : 5000 char , first 4000 chars are all character 'a', the left 1000 chars are generated randomly. Data: equal to key mean: db->put( dp, NULL, &key, &key, 0 ); still i didn't find any difference after i turn on the set_bt_compress funcion? Does anyone can help me, because now i am dealing a huge database (over 20 TB ), i need to compress it.
user's latest post:
Queue method does not recycle...
Published (2009-12-09 21:03:00)
Hi, Andrei, I tried db-4.8.24, but problem still exists. Here are env files, we can still see the unrecycled extent file(__dbq.test1.13,__dbq.test1.14): # ls -lh /data1/testenv/ total 537M -rw-r----- 1 root root 24K Dec 10 12:51 __db.001 -rw-r----- 1 root root 35M Dec 10 12:51 __db.002 -rw-r----- 1 root root 321M Dec 10 12:51 __db.003 -rw-r----- 1 root root 4.2M Dec 10 12:51 __db.004 -rw-r----- 1 root root 35M Dec 10 12:51 __db.005 -rw-r-----...
user's latest post:
Testcase for error -...
Published (2009-12-10 11:12:00)
Hi Sandra, Thank you very much for your answer. One would expect, that the process/thread is removed from the thread-environment, as soon as the process/thread disconnects. But it isn't. `db_stat -e -h /tmp/db | grep process/thread` shows also processes, which have disconnected long time ago. Greetings
user's latest post:
Clearing locks after an...
Published (2009-12-14 07:52:00)
I'm not sure I understand when exactly one of your application's threads blocks on a lock when trying to open a database. Is it right after the application restarts due to the failure or later on? It happens when restarting the application. The application opens the environment and hangs when opening the database. Have you run recovery after the failure? Here is info on handling failure in TDS apps:...
user's latest post:
BLOB in 4.8.24
Published (2009-12-18 10:40:00)
Of course, I forgot to mention that you can configure the cache-size before you open the database. The bigger the cache size, the better. However, you might not find a big help in configuring the cache, as you have a heavy number of inserts, but no updates and no deletes. One more thing, the data sizes you have may be large enough to warrant using Hash. When you get down to tuning of your application, you would want to bake-off Hash and Btree...
user's latest post:
BLOB in 4.8.24
Published (2009-12-11 07:40:00)
Hi Bogdan, What's the OS/File system you use? I'm using Windows 7 Professional 64 bits and the file system is NTFS in 4kb blocks. Is there any data access pattern? There will be no concurrent access, no transactions or threads. I'm expecting more than 10.000.000 blobs. Heavy number of inserts, no updates and no deletes. Thanks, Bruno
user's latest post:
individual cache size too large:...
Published (2009-12-17 21:57:00)
No, cache parameters are not set, they are default. So it is strange. Here is the code: env_flags = DB_CREATE | DB_INIT_TXN | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_THREAD | DB_REGISTER | DB_RECOVER; rc = db_env_create(&dbenv, 0); rc = dbenv->set_lk_detect(dbenv, DB_LOCK_MINWRITE); dbenv->set_event_notify(dbenv, db_event_callback); rc = dbenv->open(dbenv, work_dir, env_flags, 0); error checks are omitted. It...
user's latest post:
Support for 128KB pages
Published (2009-12-09 18:57:00)
Hi, The reason we limit the maximum page size to 64kb is that we use unsigned 32-bit integers to indicate the offset in a page. If we increase the maximum page size to 128kb, many things need to change, and it may cause some potential risks. We need to evaluate how many advantages the changes will take. It does not just modify a constant simply.
|
|
|
|
Latest active threads on Berkeley DB
::
Started 1 week, 2 days ago (2009-12-10 16:12:00)
by Bogdan Coman
Hi,
What's the OS/File system you use?
Is there any data access pattern?
Some information about your application's ACID requirements would be good to know.
Thanks,
Bogdan Coman
Started 2 days, 17 hours ago (2009-12-17 10:40:00)
by Oracle, Sandra ...
Hello,
Is the program making use of the set_cachesize method?
DB->set_cachesize(DB *db,
u_int32_t gbytes, u_int32_t bytes, int ncache);
The maximum size of a single cache is 4GB on 32-bit systems and 10TB on 64-bit systems. You could get this error if the number of gigabytes specified divided by the number of caches to create resulted in a ...
Started 2 weeks, 1 day ago (2009-12-04 14:57:00)
by Kalpesh Patel
any body there in this group?
Started 2 weeks, 3 days ago (2009-12-02 06:35:00)
by Oracle, Sandra ...
Hello,
I believe that the problem is that the thread count you originally set is too low. You call set_thread_count with a value of 0x100 but call system 0x1000 times. When I set the thread count to 0x1000 the program runs to completion.
Thanks,
Sandra
Started 3 days, 15 hours ago (2009-12-16 11:48:00)
by Andrei Costache...
Hi,
There's nothing serious about these warnings. Those uninitialized byes are for padding purposes.
Please see the "--enable-umrw" build option for the Berkeley DB libraries:
http://www.oracle.com/technology/documentation/ber keley-db/db/programmer_reference/build_unix_conf.h tml
and use it when building the libraries to avoid seeing these errors....
Started 6 days ago (2009-12-14 03:10:00)
by Andrei Costache...
Hi,
This is likely because the default compression function does not have much to work with.
Specifying NULL for both compression and decompression functions in the DB->set_bt_compress method call implies using the default compression/decompression functions in BDB. Berkeley DB's default compression function performs prefix compression on all keys and ...
Started 1 week, 4 days ago (2009-12-09 03:14:00)
by Andrei Costache...
Hi Steve,
Any chance you might have deleted records in the queue database by record number and not only through DB_CONSUME operations? Have you used the DB->del method or just DB->get with the DB_CONSUME flags?
In general, only if the data is deleted using a DB_CONSUME operation can BDB be sure of removing a queue extent file. Otherwise, if BDB detects ...
Started 1 week, 1 day ago (2009-12-11 15:54:00)
by Jim Fulton
Started 2 weeks, 1 day ago (2009-12-04 14:54:00)
by user606339
This is a continuation of the original post. I realized after I posted that I had left out some details that might be important. The server operating system is Solaris 10. I am using Java 1.5.0. The servlet container is Tomcat 6.0.13. I compiled BDB 4.8.24 with gcc 4.2 or so. If I have left out anything else that might be important please let me know.
...
|
|
Hot threads for last week on Berkeley DB
::
Started 6 days ago (2009-12-14 03:10:00)
by Andrei Costache...
Hi,
This is likely because the default compression function does not have much to work with.
Specifying NULL for both compression and decompression functions in the DB->set_bt_compress method call implies using the default compression/decompression functions in BDB. Berkeley DB's default compression function performs prefix compression on all keys and ...
Started 1 week, 1 day ago (2009-12-11 15:54:00)
by Jim Fulton
Started 2 days, 17 hours ago (2009-12-17 10:40:00)
by Oracle, Sandra ...
Hello,
Is the program making use of the set_cachesize method?
DB->set_cachesize(DB *db,
u_int32_t gbytes, u_int32_t bytes, int ncache);
The maximum size of a single cache is 4GB on 32-bit systems and 10TB on 64-bit systems. You could get this error if the number of gigabytes specified divided by the number of caches to create resulted in a ...
Started 1 week, 2 days ago (2009-12-10 16:12:00)
by Bogdan Coman
Hi,
What's the OS/File system you use?
Is there any data access pattern?
Some information about your application's ACID requirements would be good to know.
Thanks,
Bogdan Coman
Started 3 days, 15 hours ago (2009-12-16 11:48:00)
by Andrei Costache...
Hi,
There's nothing serious about these warnings. Those uninitialized byes are for padding purposes.
Please see the "--enable-umrw" build option for the Berkeley DB libraries:
http://www.oracle.com/technology/documentation/ber keley-db/db/programmer_reference/build_unix_conf.h tml
and use it when building the libraries to avoid seeing these errors....
Started 2 weeks, 1 day ago (2009-12-04 14:54:00)
by user606339
This is a continuation of the original post. I realized after I posted that I had left out some details that might be important. The server operating system is Solaris 10. I am using Java 1.5.0. The servlet container is Tomcat 6.0.13. I compiled BDB 4.8.24 with gcc 4.2 or so. If I have left out anything else that might be important please let me know.
...
Started 1 week, 4 days ago (2009-12-09 03:14:00)
by Andrei Costache...
Hi Steve,
Any chance you might have deleted records in the queue database by record number and not only through DB_CONSUME operations? Have you used the DB->del method or just DB->get with the DB_CONSUME flags?
In general, only if the data is deleted using a DB_CONSUME operation can BDB be sure of removing a queue extent file. Otherwise, if BDB detects ...
Started 2 weeks, 3 days ago (2009-12-02 06:35:00)
by Oracle, Sandra ...
Hello,
I believe that the problem is that the thread count you originally set is too low. You call set_thread_count with a value of 0x100 but call system 0x1000 times. When I set the thread count to 0x1000 the program runs to completion.
Thanks,
Sandra
Started 2 weeks, 1 day ago (2009-12-04 14:57:00)
by Kalpesh Patel
any body there in this group?
|
|