find the size of the database
Hi gurus,Can someone suggest me to find the full database size and free space left in the database.
as I am doing the update just gather the statistics.
Thank you
790072 wrote:
Hi gurus,Can someone suggest me to find the full database size and free space left in the database.
as I am doing the update just gather the statistics.
Thank you
1 select round(sum(df.bytes/(1024*1024))+sum(tf.bytes/(1024*1024))) TOTAL,
2 round(sum(fs.bytes/(1024*1024))) FREE
3* from dba_data_files df, dba_temp_files tf, dba_free_space fs
SQL> /
TOTAL FREE
---------- ----------
6839688 56127
Tags: Database
Similar Questions
-
I moved to a new company and the team I work for have inherited an installation ESX and virtual Center Server.
We need to move the database to a new server but do not know where is the existing database.
How can I find where the existing database?
See you soon,.
Rob
Check the ODBC connection.
You may have an external DB, or a local database (in this case you can see in local services).
André
* If you found this device or any other answer useful please consider awarding points for correct or helpful answers
-
Remote Desktop connection - how do you find the databases
Objective: see Web site and code that someone has written/produced in ASPX.NET and MS SQL Server 2008 database.
The reason is that, the website and the database need some changes (to be able to do that, I also know the names of tables-> SQL-> database query).
I didn't have the right to communicate with someone who made this Web site (this task is different)
Using Remote Desktop connection, I connected to the server where our Web site is hosted.
It shows me this:
http://S13.postimg.org/5xkwpn7lj/Pic_1.jpg
http://S3.postimg.org/niz6si5cz/Pic_2.jpg
Question: How do you get to the tables in the databases?
I'm still a beginner on this remote connection.
Do you need to download another SQL Server (Microsoft SQL Server 2014 Express) software on my laptop and ASPX.NET to add remote connection via the connection code?
Can I change/add code directly to its SQL Server software?
I also see its databases?
This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)* -
Scipt OpenScript/Bank of data/hand scipt:Second used can not find the database file
Hi all
I want to palyback a main script containing three "scripts", two of them are the same script. Separately, they all can read successfully.
For example, in the script 'Hand', there are 'A' 'B' 'A' script ssuccessively. and 'A' 'B' have their own databases respectively under "a data bank / ' and ' B/database /. Each database has two records in the .csv file.
Now I'm reading 'Hand', the script of the child 'A' can run successfully then child script "B" run correctly too, but the second, run the script "A" says more no record and the main script to stop there.
So, how can I do the 'Hand' performance full script without being stopped by the second script used 'A'?
Thanks a lot for your help ^ _ ^!
Kind regards
AngyoungHello
Mention the database settings in initialize(), IE.
public void initialize() throws Exception { ........ getDatabank("DBAliasNAme").changeSettings("startindex=1:whenout=STOP_USER"); ....... }
Kind regards
Dembélé M -
Hi, I use 1.5 space Horizon
can someone help me by telling me where I can change the connection string for the database on the virtual machine itself.
I was away, and our stuff has been migrated databases to another server. Now my horizon does not connect because it can not find the database. I can either on the hwconfigurator.xxx.com.
Thank you
What do you see when you go to https://hwconfigurator.xxx.com?
You can try to change this property in /usr/local/horizon/conf/runtime-config.properties on your service - will (s) and the server restart of tc by using the command "/etc/init.d/horizon-frontend restart".
datastore. JDBC. URL = jdbc:PostgreSQL: / /
/saas? = stringtype unspecified -
update of the database manager
where can I find the database of updata on the Server Manager? How is it?
How great the Update Manager download drive must be at least?
Thank you
I don't think you can see it with customer vsohere - you will need to have access to her wean vcenter and watch the system DSN configured in the ODBC client on this machine - I hope that best practices were followed and the DSN is appointed by the store what data they point to -
If you find this or any other answer useful please consider awarding points marking the answer correct or useful
-
Heavy calculations in the database.
Is it wise to place heavy calculations in the database?
Lets say, we need to create in-app to calculate a problem heavy matimathical.
In Apex, each code is run in the oracle database. What are the resources used for this calculation?
Java database programming is only used for the extraction of the code. That's what I see in other departments. so I guess the resources of computers (where the java application is installed) are used for calculations.
For heavy, so apex calculations always a good option?
RaoulHi Raoul,.
It depends on what you mean by heavy calculations.
As you say, Apex code is executed in the database, most of this is PL/SQL that runs in the server of database resources. for example, memory, processor, etc. IO. PL/SQL is a mature programming language that can be stored in a compiled state, which gives it a factor of performance approaching compiled languages such as C. While it may be true that you can get better performance of well written code compiled like C, overload caused by the first extraction of data to perform the calculations on in the first place often means THAT PL/SQL has an advantage. In other words, more calculations are the data, the better.
I don't know what you mean by "Java database programming is only used for the extraction of the code". The database is used for the storage and retrieval of data. Java is used as a general programming language which has the advantage of running in a variety of environments. Overhead, he pays for it are that it isn't really a compiled language and therefore performed accordingly. Accordingly, it is a good language for the presentation layer, where there need work on a wide variety of customers, but you would not use it as general processing language.
If you condition is to do some heavy math and you use a database to store the raw data for these calculations so I think that you will find the database and internal languages such as SQL and PLSQL will be run and any other environment in General and certainly much better than the Java language.
Concerning
André -
What command is used to find the size of the database?
Hi all
I want to know what command to use to find the total size of the database?Select sum (bytes) of dba_data_files;
(more dba_temp_files, v$ log etc.)
Published by: Robert Geier on December 6, 2011 13:25
-
possible to find the size of a view
Hi guys,.How do you guys normally find the size of the view?
I had a situation here.
DB_1 enjoys a view (created by selecting in tables via the union..)
DB_2 has a procedure that will refresh a materialized view (select * from < the_table_from _db_1) @DB_1_database; )
Question 1:
How can I find the size of the view which is called DB_1. I don't think that if I can use dba_segments to find the size that I can't find a segment_type which is = 'DISPLAY '.
Question2: the error below were reported by the team of apps.
*
ERROR on line 1:
ORA-12008: error path refresh materialized view
ORA-01652: unable to extend segment temp of 128 in tablespace TEMP
ORA-02063: preceding line DB_1
ORA-06512: at "SYS." DBMS_SNAPSHOT", line 2256
ORA-06512: at "SYS." DBMS_SNAPSHOT", line 2462
ORA-06512: at "SYS." DBMS_SNAPSHOT", line 2431
ORA-06512: at "FWSS. < Procedures > r_", line 6
ORA-06512: at line 1
I tried to look for similair error on both of my database alert log but it could not be found. The above error must be charged on the alert logs.
I saw many of the errors of the DB_1 alert log below.
ORA-1652: unable to extend segment temp of 128 in tablespace TEMP
So here's my question, getting the above error on DB_1 when DB_2 procedure call a refresh of its point of view of materliized which is to select the view via a link db DB_1?
I suspect that the view is too large, which is at the origin of the temp will apear error.
Hello
Yes, the temporary tablespaces are generally used for the sort operation or join operations that cannot be handled in RAM and should use the disk (temporary file). as you say, your MV is on DB_2 and extracted data DB_1, where the sqls are merged and executed and according to the size of the data, the class union itself causes trained him in the use of the temp space and since you don't have enough room temp the ORA-01652 survey database
for temporary tablespace all the sorting operations for instance share a single sort segment and this segment of the sort is assigned when the first statement ask the instance and can be communicated with the judgment. When the sort operation uses temp space extends the awarded are not automatically désallouées, however,
those are mark them as free and will be available for later use.
To your question, there could be a large operation that caused the tempfile to grows well in the database and once the operation is finished, the space
is not automatically released, so in managed locally temporary tablespace, you can reduce the tablespace temporary for free those allocated unused space.
In your situation you need not to shrink but to add tempfiles more.
Kind regards
-
Find the appropriate block size?
Hi all
I think this might be a simple question, how to find the block size that is appropriate for the construction of a database for a specific application?
I had always seen default 8K block size is used everywhere (about 300-350 databases I've seen so far)... but why and how they believe this block size blindly before creating the production database.
Also in the way the parameters of memory are finalized before creating the database?
-YasserYasserRACDBA wrote:
OK I understand, but how will comparative analysis for the examination does not block size?I mentioned BLINDLY word because before implementation into production, how s/n allows to find the block size that is appropriate for this application.
Well, as I said, it needs comparative analysis. And if you are not able to do it, the best is to stick to the default size. Read more intensive databases may need some play with the size of the block, but this summary is not authoritative at all, at least not from me. So I say to be on the safeside, by default would help you.
>Right now I have no clear idea on the database of benchmarking, can you please help with this if you have done this by hand before it please...
Charles and Greg presented very good test cases showing that using 8k is the most optimal choice in most of the cases.
Once again my bad luck that I lost this post before having a look. Are there opportunities to find these test cases?
See this summary made by JL on his blog,
http://jonathanlewis.WordPress.com/2008/07/19/block-sizes/HTH
Aman... -
How to find the size of the scheme with or without fragmentation
Hello Sir,
How to find the size of the scheme with or without fragmentation?to find all of the bytes used by a schema, you can add the bytes for the owner of the dba_segments views.
for fragmentation, I guess you want to know about the space left between the segments.
finding depends on the design and standards of your database.
Each scheme has its own storage space? If Yes, then you can take the total space used in storage and then subtract the number of the dba_segments.
-
exact size of data in the database and schema
Hi master,
I always wonder if I could get the exact size of the data in a schema and size exact of a database with the following queries... I will be grateful if someone could tell me what's wrong in the following query, because it shows the different size of the data in the diagram... and any request to find the exact size of my database (not just data files)...
I would like to know the a daring ijn...SQL> ed Wrote file afiedt.buf 1 select d.owner,sum(u.bytes)/1024/1024 "MB USED" 2 from dba_segments d,user_segments u 3 where d.tablespace_name=u.tablespace_name 4* group by d.owner SQL> / OWNER MB USED ------------------------------ ---------- MDSYS 9484.375 TSMSYS 303.5 DMSYS 303.5 OUTLN 4027 CTXSYS 5614.75 OLAPSYS 18892.875 *VD 503.375* SYSTEM 132100.625 EXFSYS 4400.75 DBSNMP 1896.875 ORDSYS 607 OWNER MB USED ------------------------------ ---------- SYSMAN 57665 XDB 57133.875 SYS 543965.5 WMSYS 8346.25 15 rows selected. SQL> select sum(bytes)/1024/1024 2 from dba_segments; SUM(BYTES)/1024/1024 -------------------- 1353.875 SQL> select owner,sum(bytes) from dba_segments 2 group by owner; OWNER SUM(BYTES) ------------------------------ ---------- MDSYS 34013184 TSMSYS 262144 DMSYS 262144 OUTLN 524288 VD 519897088 CTXSYS 4849664 OLAPSYS 16318464 SYSTEM 23265280 EXFSYS 3801088 SCOTT 393216 DBSNMP 1638400 OWNER SUM(BYTES) ------------------------------ ---------- ORDSYS 524288 SYSMAN 54067200 XDB 50397184 SYS 702218240 WMSYS 7208960 16 rows selected.
can we get the exact size of the database by querying select sum (bytes) / 1024/1024 "size in MB' from dba_segments;
???
I know there are a lot of website that gives the same queries... but I trust oracle forums...
any help will be appreciated...
Thanks and greetings
VD
Published by: vikrant dixit on April 9, 2009 12:06 AMHello..
To know the size of the scheme: -.
select owner,sum(bytes/1024/1024)MB from dba_segments group by owner;
TO know the actual size of the database
select sum(bytes/1024/1024/1024) Actual_size_gb from dba_segments
HTH
Anand -
Friends:
I have a MacBook Pro - 2.3 GHz Intel Core i 5. MEM at 1333 MHZ 4 GB DDR3. My MAC OS X LIon is version 10.7.5. MY current version of Safari is 6.1.6.
I tried to connect to a medical/pharmacy/base database program and told me that I don't have a high enough version of TLS. I have 1.0 and 1.1 is required. The Lion of MAC OX 10.7.5 should have a version of Safari 7 that TLS 1.1 in - level items or can be upgraded to the level of TLS 1.1. I looked at my app updates and do not find the update of Safari to 7. No idea where in the system support or at the Apple retail I can get the update? Thank you.
Safari 7 is a very outdated version of Safari.
Update of Safari, the only is to update your Mac to the new OS X El Capitan. Install it the latest Safari version 9.1.2.
So see if your Mac can run El Capitan > update of OS X El Capitan - Apple Support
An alternative would be to use the Firefox browser that still supports v10.7 > https://support.mozilla.org/en-US/kb/how-download-and-install-firefox-mac
-
Where can I find the size of my file in iPhoto
Where can I find the size of my file in iPhoto. I want to save my 7000 photos on a flash drive, but don't know what size drive to buy?
Choose home in the Finder Go menu, double-click the images folder, select the library and choose read information in the file menu.
The volume that contains the iPhoto library should be in Mac OS Extended format.
(143187)
-
Cannot find the Satellite L650 - 10 H in the support database
Hello
I bought Toshiba L650 - 10 H (PSK1JE-00400MSK) two years ago and now I have problem finding this model in support of database.
It's my laptop: http://notebooky.heureka.sk/toshiba-satellite-l650-10h-psk1je-00400msk/
Hello
This laptop Satellite L650 - 10G is the MODEL DISCONTINUE
You can find the data sheet here:
[Satellite L650 - 10G: http://uk.computers.toshiba-europe.com/innovation/jsp/SUPPORTSECTION/discontinuedProductPage.do?service=UK&toshibaShop= true & com decided .new .broadvision = Yes & PRODUCT_ID = 10 85933]If you need drivers, you can download this driver page
Maybe you are looking for
-
Carplay music app is unresponsive
Hello I have a new VW Golf 7 (2016) with media Composition and AppConnect and use for music from Apple. Always well worked, connected with USB, drama pressed in music app and it works. But the application of music on my car radio suddenly became unre
-
Satellite L40 - the Wireless does not connect until svchost has been disabled
Hello. I have a Satellite L40 without BONES, I bought and I installed a XP/SP3. I have a small problem when I connect to my wireless NET. It does not connect until I open the Task Manager and remove one of the two svchost process open with the name '
-
Profile of Xbox has lost his identification of windows live
profile xbox of my son has lost his identification of windows live and now can not be added to the family profile as it comes up with an error, HRT can be restored?
-
He can tell me someone the color of these numbers? C5180: C6150: C6180: C6280: C7180: C7280: C8180: D6160: D7160: D7260: D7360: D7460:
-
Time to Smartphones blackBerry and network devices are different - why?
My time of the device and network are different in a few minutes. My friends BB is different about 1 hour. -Why is this? -How do I fix this?