Embedded database storage dimension
We are planning to use Oracle XE as an embedded database in our application. Since we store data taken from our control application, some tables grow in a fast way. I implemented a PL/SQL procedure with the purpose to monitor the number of rows in the table and delete a predefined percentage of the old rows. In this way the number of row should always be under a predefined limit. Is this enough in order to keep the storage size always under a predefined value? Should I do some operations on other tablespaces (i.e. undo tablespace)?
Thanks,
Gianluca
it depends how you insert new rows, if you are appending them using /*+APPEND*/ then you will quickly go over the space. However if you delete rows then re-add the normally the space should be re-used
Similar Messages
-
DBCA can not use ASM for database storage due to following reason: Could no
Hi
I've a recently installed RAC11gR2(11.2.0.3) on HP-UX
I installed Grid Infrastructure with grid user:
Node1: # id grid
uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
Node2: # id grid
uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
I installed the Oracle Server with oracle user:
Node1: # id oracle
uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
Node2: # id oracle
uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
All related Grid Infrastructure is functioning well in both nodes:
$ crs_stat -t
Name Type Target State Host
ora.DATA.dg ora....up.type ONLINE ONLINE node03
ora.FRA.dg ora....up.type ONLINE ONLINE node03
ora....ER.lsnr ora....er.type ONLINE ONLINE node03
ora....N1.lsnr ora....er.type ONLINE ONLINE node04
ora.asm ora.asm.type ONLINE ONLINE node03
ora.cvu ora.cvu.type ONLINE ONLINE node04
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE node03
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE node03
ora.scan1.vip ora....ip.type ONLINE ONLINE node04
ora....SM1.asm application ONLINE ONLINE node03
ora....03.lsnr application ONLINE ONLINE node03
ora....d03.gsd application OFFLINE OFFLINE
ora....d03.ons application ONLINE ONLINE node03
ora....d03.vip ora....t1.type ONLINE ONLINE node03
ora....SM2.asm application ONLINE ONLINE node04
ora....04.lsnr application ONLINE ONLINE node04
ora....d04.gsd application OFFLINE OFFLINE
ora....d04.ons application ONLINE ONLINE node04
ora....d04.vip ora....t1.type ONLINE ONLINE node04
$
The ASM instance are running well in both nodes
Connected with oracle user, the listener has registered perfectly the ASM instance in each node:
$
$ lsnrctl status
LSNRCTL for HPUX: Version 11.2.0.3.0 - Production on 16-MAY-2012 15:41:06
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for HPUX: Version 11.2.0.3.0 - Production
Start Date 16-MAY-2012 15:24:19
Uptime 0 days 0 hr. 16 min. 47 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/grid/diag/tnslsnr/node03/listener/alert/log .xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.133)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.136)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
The command completed successfully
$
$
DATA & FRA disk group are created:
$
$ echo $ORACLE_SID
+ASM1
$
$ asmcmd
ASMCMD>
ASMCMD> ls -lt
State Type Rebal Name
MOUNTED EXTERN N DATA/
MOUNTED EXTERN N FRA/
ASMCMD>
ASMCMD>
The big issue is... that the DBCA can not see the diskgroups. When I choose ASM Storage it can not see them. It shows the chart in blank and if i try to write the disk group, so the following message appears: can not use ASM for database storage due to following reason: Could not connect to ASM due to following error: ORA-01034 ORACLE not available
What can be passing in this case... ?
Thanks in advanceThanks both
Really the problem initially was because of this:
[INS-06006] Passwordless SSH connectivity not set up between the following node(s): [node1, node2]. CVU may reports "PRVF-4007 : User equivalence check failed for user "user"" for same error
and I had to install node1 first and after node2 manually and perhaps for this the product was not well linked.
I resolved the problem establishing the keys with the wizard and after copying the following files from node1 to node2
/home/grid/.ssh -------> /home/grid/.ssh
authorized_keys
known_hosts
This is the procedure if you run the wizard at the node1.
The problem is that the wizard creates the keys incompletely...
Thanks -
Java ME embedded database used in BlackBerry for mobile CRM
Interested in business applications of Java ME mobile technology, or in embedded database systems available for Java ME?
If so, take a look at the news posted on McObject's 'Perst Blog'. Maximizer, a British Columbia company, has adopted the Perst Lite open source, object-oriented database for Java ME to integrate with its customer relationship management (CRM) software on BlackBerry devices.
What Maximizer gets from Perst Lite -- in addition to efficient data management and 'transparent persistence' for developers -- is support for the JSR 75
specification, which enables database files to be saved to SD cards within the BlackBerry smartphones.
The post is at at [http://www.jroller.com/perst/entry/perst_lite_chosen_to_improve]{size}{font}Spam blocked. As this user has only ever logged in here to post spam, the user account is blocked for a year.
db -
Database Storage location using DBCA
I'm trying to create a database. I would like to put the database on drive M and the logs on drive N.
I'm getting that if I want to do it during creation using DBCA I need to define the location on step 11 - Database Storage.
When I click on Datafile I then click on File Location Variables do I change ORACLE_BASE, ORACLE_HOME or both?
When I click on Redo Log Groups I then click on File Location Variables do I change ORACLE_BASE, ORACLE_HOME or both?
Do I do anything with the Control files location?In that step you got File Name and File Directory menu.
Change the paths in File Directory menu.
Suppose you have create oradata folder in both M and N drives.
System01.dbf M:\oradata
redolog01a.log N:\oradata
suggestion:- Please multiplex controlfiles and redo log files. -
Connection to Embeded Database from Crystal Reports XI
I am writing an application that uses a SQL Server Mobile Database. I have not been able to determine how to connect to this database through Crystal Reports.
1. Is it possible?
2. How do I provide the connection string that uses only 2 parameters?
GeneWhen you create a DSN the ODBC string expects information for Server, Database, Username, and Password. When you are working with an Embedded Database, typically you have a filename and a password (which can be null). I was not able to create a DSN for this connection.
What I have been able to get working is the following:
1. Create an ADO DataSet Object within the application.
2, Create the CR attaching ot the DataSet Object.
3. In the application code where you are attaching the CR to a viewer you must
a. Define a Data Adaptor for the DataSet.
b. Define a Data Table and load the table from the DataSet GetData() method.
c. Define the full path to the report file.
d. Define a ReportDocument Object
e. Load the report path in the the ReportDocument Object
f. Define the DataTable as the Data Source to the ReportDocument Object
g. Define the Viewer ReportSource as the ReportDocument Object.
I have been able to use this approach on 3 separate reports and returned the correct data. A lot of steps, but it is working.
GFKerls -
Link to " Database Storage Consolidation with ASM White Paper " now fixed
I cannot access document "Database Storage Consolidation with ASM White Paper " on http://www.oracle.com/technetwork/database/index-100339.html.
The new link seems also to be broken http://www.oracle.com/technology/products/database/asm/pdf/db_storage_consolidation_wp%2012-05.pdf
Link is now working.
Edited by: P. Forstmann on 21 sept. 2010 08:51
Edited by: P. Forstmann on 21 sept. 2010 08:51This link has been repaired.
Regards, OTN -
Embedded Database - data does not load
Hello.
I am currently using NetBeans 6.5 and am experimenting with the CarsApp tutorial.
Whenever I create an application using the server database, the data loads automatically when the application starts.
However, when I create the application using an embedded database, the data does not load and I just get a blank table.
For more information, go to: http://forums.sun.com/thread.jspa?threadID=5366394&tstart=0
Thank you in advance!I'm sorry, I didn't know it was so looked down upon.
I thought that since this topic pertained to both Destop Applications and JDBC, I could get the best and quickest answer if I posted in both.
Apparently, that was a mistake.
Thanks, anyways! -
How do I protect and embedded database from reverse engineering, hackers?
Hello,
I have an application that needs to be shipped to the customers with an embedded database that consists of critical application dependent data. The problem is that this data is top-secret information that for no reason should get in the hands of someone else because all the company value lies in this data. So my question is:
How can I protect this data that are being shipped embedded in the application from hackers, reverse engineering etc? Is it even possible?
Or is it secure enough to have the database credentials stored in the source code? Can reverse engineering get these credentials from the compiled application?TolvanTolvanTolvan wrote:
Hello,
I have an application that needs to be shipped to the customers with an embedded database that consists of critical application dependent data. The problem is that this data is top-secret information that for no reason should get in the hands of someone else because all the company value lies in this data. So my question is:
How can I protect this data that are being shipped embedded in the application from hackers, reverse engineering etc? You can't. Regardless of the computer language being used to generate the executable it can always be reverse engineered so as to extract critical information.
Is it even possible?No.
>
Or is it secure enough to have the database credentials stored in the source code? No.
Can reverse engineering get these credentials from the compiled application?Yes. -
Java Embedded Database Recommendation
Does anyone have a recommendation for a Java embedded database solution? I have been using Borland's JDatastore for a while and I have become frustrated by some of its' bugs. Has anyone had a better experience with some of the other Java embedded databases out there - for example, InstantDB or Pointbase? Or are all of these products at about the same level of maturity and reliability?
Thanks.Take a look at our project here; http://www.mckoi.com/database/
It's an open source embeddable SQL database in Java. -
Default Space for database storage
What the heck is that?
After I did a software update, this new feature showed up
under "Security".
1) It has a "Show Database" tab.
2) It has a "Drag down" for mb (from 1mb to 500mb)
boboSafari now comes with SQLLite database storage for offline applications. An example is here:
http://webkit.org/misc/DatabaseExample.html -
I have a confusion regarding the database storage mechanism.
I have created a tablespace
CREATE TABLESPACE TEST
DATAFILE '..\test01.DBF'
SIZE 152k
SELECT bytes FROM DBA_FREE_SPACE
WHERE tablespace_name ='TEST'
It shows 65536 bytes.
But it is smaller then 152k.
Why is it so??
Please help me out.hello,
as you have not specified extent clause i think it is initial extent oracle creates of 64k (65536/1024=64k) as it is ...oracle system-managed extents
have a look at this
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/logical.htm#g23847
this is extract from oracle docs
For system-managed extents, Oracle determines the optimal
size of additional extents, with a minimum extent size of 64 KB.
If the tablespaces are created with 'segment space management auto',
and if the database block size is 16K or higher, then Oracle manages
segment size by creating extents with a minimum size of 1M.
This is the default for permanent tablespaces.experts please correct me.....if i am wrong
thanks and regards
VD
Edited by: Dixit on Sep 8, 2009 2:15 AM
Edited by: Dixit on Sep 8, 2009 2:16 AM
Edited by: Dixit on Sep 8, 2009 2:18 AM -
Step for oracle database storage migration
Hi all
Need a help for database storage migration from old storage to new storage. Please advise and given step to migrate the database storage.
Database version: 9i,10g(ASM),10g and 11g (ASM)Hi;
Your question is not clear. Migration from what to what?
For all migration question please review:
Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
Different Upgrade Methods For Upgrading Your Database [ID 419550.1]
Migration of Oracle Database Instances Across OS Platforms[ID 733205.1]
How To Use RMAN CONVERT DATABASE on Source Host for Cross Platform Migration [ID 413586.1]
PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
Regard
Helios -
Does Partitions take up database storage space
Thanks in advance.
I have tables with partitions that do not have data stored in them yet, does partitions without data stored in them take up database storage? How do you measure the storage used by a tables partitions that do not have data stored in them yet?Is there a benefit to asking the same question over again? (If so, I'd love to hear it.)
Or would you be willing to continue with the original thread at Oracle Table and Index Partitions storage consumption? -
Open source, object-oriented embedded database for J2ME
For J2ME-based devices that require embedded data management, there is now an open source, object-oriented embedded database for J2ME called Perst Lite.
Perst Lite can be downloaded as part of the Perst open source embedded database package, at
http://www.mcobject.com/downloads.php?step=2&catID=4
Cheers,
TedSpam blocked. As this user has only ever logged in here to post spam, the user account is blocked for a year.
db -
What should I be using for an embedded database?
I'm still learning C# in the .NET environment and I'm currently working on a Windows desktop app. I've read that LocalDB can be used as an embedded database if I want to let other people buy any apps I make in the future. But I've also read that SQL Server
Compact Edition is what I should be using and those sources say that LocalDB isn't suitable for an app that's made so that other people can buy it. Which is correct? Is SQL Server Compact Edition still being developed by Microsoft?
I've got a laptop with 64 bit Windows. If I install a 64 bit version of the either of the above database software can I still make 32 bit database files for use as embedded databases for C# apps?
I'm interested in learning to make Windows desktop apps as well as Windows Store apps and apps for Windows tablets.
I've read about SQLite but I'm thinking either LocalDB or SQL Server Compact Edition would be more compatible with C# code. Am I right? I'm using Visual Studio Community 2013 on Windows 8.1.
I've read about the SQL Server Compact/SQLite Toolbox by ErikEJ
ThanksYou cannot use SQL for a mobile application.
I would suggest using SQLLite and it is not very complicated to use with c#.
If you select 32-bit version of the database, you will not have compatibility issues. It will work for both 32-bit and 64-bit systems.
Even if you select SQL Lite you cannot use it both from mobile and desktop devices. You will face serious issues.
What I suggest is to have an online database and read from there to your local databases if you wanna use a database.
You can reach that database with web service(WEB API).
Maybe you are looking for
-
Support Pack upgrade error in Import Phase
Hello, Currently I am upgrading SCM system with Support pack level 12 to 20 . When i am applying Basis 12 to 20. I got an error in Import_Proper phase. Could you please help me on this? I tried and still searching solution for this..But no luck... Os
-
Error while doing Transaction data loading from ECC to BW
HI, I faced error in data records so i corrected it manually by going PSA Maintenance. then now when i am trying to schedule data laod by going to that Data source then right click on Manage then select Request which i have updated with correct recor
-
SetSavePoint gives AbstractMethodError in Oracle 8.1.6.3
Does Oracle support savepoints in JDBC? What version supports this? I'm using an OCI JDBC interface to oracle (8.1.6.3) with JDK1.2.2 and I get an Exception of "java.lang.AbstractMethodError" when I try to call setSavePoint. Is this definitely just a
-
CC desktop will not update apps to 2014
Hello, i am having an issue updating my current apps to 2014. CC desktop will open and show that the updates are available but when i click update it goes to a blank screen. i have a laptop that i also use and know that after the first app you want t
-
Is there any way to use OpenType fonts with OS 9?