About Tablespaces (Urgent)
Hi Fellows,
I created a tablespace with a datafile. I droped that tablespace and the datafile. But when I issue a command (select * from dba_tablespaces) the deleted tablespace doesnt show but when I query the view "user_tablespaces" it is always there. What should I do to remove the contents of removed tablespace from "user_tablespaces"
I will apprecieate any quick response.
Thanks in advance
Mustafa
null
It may be possible that you still have quota on the dropped tablespace or it was your default tablespace. If you check the USER_TABLESPACES view the STATUS column will show INVALID because the tablespace doesnt exist. The DBA_TABLESPACE or the V$TABLESPACE views show the existing tablespaces in the database. Do the following I hope this might help:
ALTER USER <USERNAME>
QUOTA 0 ON <NAME OF DROPPED TABLESPACE>;
or if it was your default tablespace then:
ALTER USER <USERNAME>
DEFAULT TABLESPACE <NAME OF NEW TABLESPACE>;
null
Similar Messages
-
Are there some Golden Rules about tablespace design?
hi gurus
I am working for an assignment about tablespace design for our new BOSS system whic is a HEAVE OLTP system。
I dont know how to decide how many tablespacesare are going to be there.
According my existing experience,I think i should design tablespace according to these ruels:
1) put Big tables and Small tables in differents tablespaces
2) put tables and indexes in differents tablespaces
3) seprate frequent updated tables to differents tablespaces
4) put comparatively static(means not updated frequently) tables together in one or two tablespaces
5) .....
And what else rules you may add to? Thank u in advance
Edited by: KevinMao on Nov 10, 2009 1:25 AMAfter viewing some links from google i would like to sum-up Golden Rule for tbs design:
1. Always create locally managed tablespace (extent management).
2. Never create tablespace with hundreds of small datafiles for avoid slower checkpointing.
3. Segment types that are used the same way should be stored together.
4. The system should be designed for its most common usage:
5. Separate areas should exist for exceptions.
6. Contention amoung tablespaces should be minimized.
7. The data dictionary should be isolated.
8. Always give a proper name to tablespace; so that it may easy to know that what this tablespace contains.
9. http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=Recommendations_to_minimize_disk_I/O_contention&anchor=iooracle
Hth
Girish Sharma -
How to reduce the size of Temporary Tablespace - URGENT
Hi all,
I need your help urgently. I have one Default Temporary Tablespace TEMP in my Oracle 9i database. There are two files in the tablespace each of size 32GB. I need to reduce the size or if possible i need to remove on datafile from the tablespace.
Could you please provide me with the solution of this?
This is really very urgent.
Thanks in advance
HimanshuAdd a new temporary tablespace.
Set this to default database temp tablespace.
Then you can drop the old TS when all the pending transactions are complete if they are using temp space.
Also, you need to investigate as to why your temp tablespace files were 32 GB in size. Looks like your application is doing too much sorting. -
Hi all,
Can any one tell me how to create workflows? Now I have a situation where I need to pass Business partner no., contract account no., and amount rejects to customers inbox. I know a bit about triggering workflow through function module SWW_WI_START_SIMPLE, but now I need to create workflow. If you have any documentation on workflows please send it to me. Please treat this as urgent.
Thanks & Regards,
Venkat.Hi,
Step wise link for Workflow.
http://www.****************/Tutorials/Workflow/Workflow.htm
Thanks,
Anitha -
I want to get rid of certain tablespace. But I do not want to lose any object from it. Therefore, INCLUDING CONTENTS is not an option for me. Prior to Drop, I want to get a list of all objects residing in this tablespace. DBA_OBJECTS does not list tablespace. Is there a way to find it ?
ThanksMark:
Segment is just a generic name for things in the database that have storage space assigned to them. Basically, there are six kinds of segments:
1. Tables
2. Indexes
3. Table Partitions
4. Index Partitions
5. Temporary
6. Rollback
You cannot really manipulate segments as segments, you need to use the appropriate commands for the type.
Make sure that you run the query I supplied against dba_segments, since it is the only one guaranteed to show everything that is in a particular tablespace. If this query shows no records, then you should be able to drop the tablespace.
You could also try:
ALTER TABLESPACE my_tablespace OFFLINE;
before you drop it.
But, do run my query against dba_segments first.
TTFN
John -
Pls help ? about snapshot,urgent!
first i create a database link remote_connect,and test it,it's active;
then i create a snapshot log on remote master table:table_one, table_one has it's primary key(id), and last i create snapshot in local like this:
create snapshot local_table_one
storage(initial 100k next 100k pctincrease 0)
tablespace snaps
refresh fast
as
select * from table_one@remote_connect;
but the errors occur:
ORA-12014: 1m'TABLE_ONE'2;0|:,Vw9X<|WVT<JxLu<~(table 'table_one' not include primary key check condition);
my question is:
how can i do for this,i want use primary key not rowid:
thanks first!This problem occurs when you try to create a snapshot with using WITH PRIMARY KEY option, and the Master table either doesn't have primary key or the primary key is disabled.
If you don't want to use WITH ROWID option, you'll have to check your master table.
Either create a primary key or enable it if already exists on the Master table.
Hope this will help
Faheem -
Hi-
I have some of my tables in system tablespace. So I moved them to its specific tablespace. Now this is the error msg that I get:
SQL> select * from tab1 where reg_num like '164%';
select * from tab1 where reg_num like '164%'
ERROR at line 1:
ORA-01502: index 'BANK_ADMIN.PI_PK1' or partition of such index is in unusable
state
Please help!This is what you would expect.
Indexes point to ROWIDs of the rows in a table. When you move the table to another tablespace, you are essentially changing the ROWIDs of rows within the table.
You can easily fix this by recreating your indexes. Use alter index X rebuild tablespace Y, where Y is the name of the new tablespace. -
i have window server and oracle 9i
and have three questions
firstly
when we create new tempfile
what is different between autoextend and reuse??
secondly
if i have a tempfile used now
what will happen if i create new one and drop the old one which is full and take over 10 gigabyte???
thirdly
when i check the temp tablespace space in my database i found the free space is zero
is there is a problem
what is a code to show the parameter value of tempfile i.e mazsize , next , size , reuse , autoextended
and what is the code to make it autoextended on and maxsize unlimited
i will solve it by create new tempfile
thanks to every one pass to this postMohamed wrote:
Mohamed wrote:
window server and oracle 9i
firstly
when we create new tempfile
what is different between autoextend and reuse??
secondly
if i have a tempfile used now
what will happen if i create new one and drop the old one which is full and take over 10 gigabyte???
thirdly
when i check the temp tablespace space in my database i found the free space is zero
is there is a problem
what is a code to show the parameter value of tempfile i.e mazsize , next , size , reuse , autoextended
i will solve it by create new tempfile
thanks to every one pass to this posti need help very importantYou asked for an explanation of concepts, which you were given. What do you need help with? We can't read your mind. As for "very important", this is a forum of volunteers.
BTW, free space = zero in a temp TS is normal. Extents are not dropped just be re-allocated. Instead they are marked 'available' and re-used. So if your un-named, un-described "important" problem that you need help with is simply that your temp TS has no freespace, then you have no problem as that is a normal and expected condition. -
Re-post : General Question about Language - Urgent Advice Needed
IS IT POSSIBLE TO AVOID COMPLETELLY THE DISPLAY/USAGE OF ENGLISH IN PORTAL?
WE INSTALLED LANGUAGE SPANISH (langinst.cmd) AND OUR CONTENT AREAS HAVE DEFAULT LANGUAGE "SPANISH"(NO ENGLISH TRANSLATION) .
OUR PAGES/NAVIGATION BARS/STYLES/ETC... WERE CREATED BEING CONNECTED TO THE PORTAL IN SPANISH.
WE DON'T WANT TO SHOW THE "LANGUAGE" PORTLET FOR USERS TO CHANGE BETWEEN SPANISH AND ENGLISH AND WE DON'T WANT THE PORTAL TO DISPLAY IN ENGLISH IF THE BROWSER SETTING IS ENGLISH.
I READ SOMEWERE THAT IT IS NOT POSSIBLE TO "UNINSTALL" A LANGUAGE, THEREFORE I ASSUME WE CANNOT ELIMINATE THE ENGLISH LANGUAGE.
CAN WE CONFIGURE SOMEHOW "SPANISH" AS A DEFAULT AND "UNIQUE"LANGUAGE SO ALWAYS THE PORTAL DISPLAYS IN SPANISH ??
I HAVE INSTALLED LATEST VERSION 3.0.9.
ANY IDEAS/SUGGESTIONS WILL BE MORE THAN WELLCOME!
REGARDS
nullHi Maria,
One way of using Spanish as the default language is to load the following code in your Portal schema:
set def off
/* @Copyright (c) 1999, Oracle Corporation. All rights reserved. */
create or replace procedure home
-- create the synonyms for wwpob_page.show
as
l_pageid number;
l_url varchar2(32767);
function is_language_set
p_http_language in varchar2 default null,
p_nls_language in varchar2 default null,
p_nls_territory in varchar2 default null,
p_requested_url in varchar2
return boolean
is
l_cookie owa_cookie.cookie;
l_language varchar2(100) default null;
begin
begin
begin
l_cookie := owa_cookie.get(wwctx_sso.PERSISTENT_COOKIE);
exception
when others then
l_language := null;
raise wwctx_sso.NOT_HTTP_SESSION_EXCEPTION;
end;
l_language := lower(l_cookie.vals(1));
exception
when others then
l_language := null;
end;
if l_language is null then
wwctx_app_language.set_language
p_http_language => p_http_language,
p_nls_language => p_nls_language,
p_nls_territory => p_nls_territory,
p_requested_url => p_requested_url
return false;
end if;
return true;
end is_language_set;
begin
-- Mobile support
if wwpob_api_mobile.is_mobile_request
then
l_pageid := wwpob_api_mobile.get_defaultmobilepage;
else
l_pageid := wwpob_api_mobile.get_defaultmobilepage;
else
l_pageid := wwpob_api_page.get_defaultpage;
end if;
l_url := wwpob_page_util.get_page_url(p_pageid => l_pageid);
if is_language_set('es', 'e', 'SPAIN', l_url) then
owa_util.redirect_url(l_url);
end if;
exception
when others then
wwerr_api_error_ui.show_html;
end;
show errors procedure home;
This script looks for the language in the NLS_LANGUAGE cookie. It this cookie does not exist then the language defaults to Spanish because of the code is_language_set('es', 'e', 'SPAIN', l_url). Please make sure to delete the NLS_LANGUAGE cookie, if it exists.
Please note that this code will work for 3.0.9. In case you want to implement something similar to this on 3.0.8, the code containing the mobile support has to be removed. You can contact me, should you have any questions. -
A question about JList (URGENT)
I have a jtextfield that you can write anything on, another jtextfield that only accepts integers that are greater than 0 , a Jbutton, and a JList.
I wanna add a listener for the JButton so that whenever it is pressed, the String in the first textfield will be put in the list in x number of times.
x = the integer in the second textfield
THANKS SO MUCH!!!In the actionlistener for the button:
get the value from the Text JTextField, if empty exit.
get and convert the value from the Integer JTextField, if 0 or not a number then exit.
get the model (DefaultTableModel) from the JList.
call the model.addElement(Object) passing the value from the Text JTextField in a loop controlled by the value in the Integer JTextField.
Dave -
About read_text urgent!!!!!!
Hello Friends,
I am stuck in a new object where i am asked to do some changes in the adress.
The program is a simple report and fetches the data(address Of company) by the use of Read_text. By debugging I got to know that the address is populated in a table returned by the FM 'read_text'.
But how to edit this address which is returned by this table,
Because I am not able to find the standard text which is being used.
So kindly suggest me the ways.
Waiting for the replies.
Regards:
Sapna.Hi
READ_TEXT
READ_TEXT provides a text for the application program in the specified work areas.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
Function call:
CALL FUNCTION 'READ_TEXT'
EXPORTING CLIENT = SY-MANDT
OBJECT = ?...
NAME = ?...
ID = ?...
LANGUAGE = ?...
ARCHIVE_HANDLE = 0
IMPORTING HEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
NOT_FOUND =
OBJECT =
REFERENCE_CHECK =
WRONG_ACCESS_TO_ARCHIVE =
Export parameters:
CLIENT
Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
Reference field: SY-MANDT
Default value: SY-MANDT
OBJECT
Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
Reference field: THEAD-TDOBJECT
NAME
Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
Reference field: THEAD-TDNAME
ID
Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
Reference field: THEAD-TDID
LANGUAGE
Enter the language key of the text module. The system accepts only languages that are defined in table T002.
Reference field: THEAD-TDSPRAS
ARCHIVE_HANDLE
If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
The value '0' indicates that you do not want to read the text from the archive.
Reference field: SY-TABIX
Default value: 0
Import parameters:
HEADER
If the system finds the desired text, it returns the text header in this parameter.
Structure: THEAD
Table parameters:
LINES
The table contains all text lines that belong to the text read.
Structure: TLINE
Exceptions:
ID
The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
LANGUAGE
The parameter LANGUAGE contains a language key that does not exist in table T002.
NAME
The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
Possible errors:
The field contains only blanks.
The field contains the invalid characters * or ,.
OBJECT
The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
NOT_FOUND
The system did not find the specified text module.
REFERENCE_CHECK
The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
WRONG_ACCESS_ TO_ARCHIVE
The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
Reward points for useful Answers
Regards
Anji -
Question about Tables: Urgent
Hi, I'm trying to create a table inside BW. The objective is to create this table so that an Oracle Administrator can "Push" or "drop" data into this table in BW. I'm currently using 2004s, so I am having quite a hard time.... What are the sequence of steps required in creating this table with the end goal of activating it so that it can be "seen" and used... How do I activate the table? Do I need to generate a datasource for this? If I do, what are the sequence of steps that I need to do for this? Much thanks....
- Beleaguered B.I.Philips:
A. Assuming that I have successfully created a table in B.I. 7, how will I check to
ensure that the table that I just created exists in the system? What are the
sequence of steps to doing this check? Will the administrator on the Oracle
side (see original question) be able to "see" this table?
When you activate the table, go to transaction Se16 and put your tablename and press f8, if the table is not active, you will get a mesage. This is a initial check.
When you create a transparant table in SAP, SAP creates automatically created a table in the database underlying. Thats why it is called transparent table.
YES. youur administrator can see the table with a SQL statement desc TABLE in the database layer.
B. Assuming that I successfully created a DataSource, how can i check to ensure
that the DataSource is indeed active and is in the System? What are the
sequence of steps to achieving this?
The last step in creating data source is to save / generate. Once generated, you can see the data source in RSA3. Run RSA3 and give the data source name and press f8, you will see the result.,
C. Is there a particular methodology or standard as to how I should create a table?
Can you point me out to a documentation or link to a "HOW TO" in creating
tables? Where exactly in the BI 7 system are the tables store.
To create a table you need something called developer key which is a long string of numbers. Check with your basis administrators and they will generate the key for you.
Once you have this, decide the structure of your table and we will take it from there.
Ravi Thothadri -
About trigger **URGENT**
How many trigger we can create on a table?
So, your senior developer asked you a question, presumably(*) to either a) test your knowledge or b) test your searching capabilities and you decide to ask here, without searching first?
You should search the concepts document. I'll even give you the link to the relevant part: http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/triggers.htm
It's up to you to research it.
(*) I'm assuming that the senior developer is not asking because they don't know the answer...! -
Information about mappings- Urgent
Hi,
Can anybody tell me how to get the accessor methodnames mapped to a Database column?
sample code snippet will be very helpful/
thanksHello,
TopLink can be configured to use method access when getting/setting a value in the mapped object (off by default), but you do not map the accessors, you map the attribute itself. TopLink will communicate to the attribute directly but can be told to use methods by selection a checkbox in the Mapping Workbench.
Darren -
Not sure if being scammed. Many calls from urgent...
Since I've been on skype (a couple of months) I've been alerted about a call coming in, sometimes in the middle of the night, about "SystemTM - Urgent Online Alert" or variations on that. " "System notice - Urgent online repair" four times. " System notice - Urgent online maintenance". There has been a barrage of them. I don't answer them, I decline. I didn't realize you can block them. I do now but wonder if I should be reporting them as abuse? I'm new to Skype and not sure if this is supposed to be happening. Also I get a lot of calls from people I don't know or at least people asking if they can call me. I have no idea who they are so now I block them but again should I report them? Do people just sit out there and fish for someone to contact? There seems to be a lot of that happening and it's annoying at best. Are these alerts/calls legitimate? What should I do?
if you think applicable in your case, you can also set your privacy settings to allow call and IMs from people who are in your contact list only.
IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
| skypefordummies.blogspot.com |
Maybe you are looking for
-
How can we retrieve the Payload information from B2B
Hello, We are trying to send the payload information back to the client for a failed BPEL Transaction from B2B's b2b_instancemessage view. We are enqueing messages to IP_OUT_QUEUE using BPEL. We see the payload coming correctly in the B2B Business Me
-
BAPI_ACC_INVOICE_RECEIPT_POST for vendor invoice posting
Hi , I am using BAPI_ACC_INVOICE_RECEIPT_POST for vendor invoice posting, I have made the header , and account paybale table , can any body give link for the sample code or give me sample code.
-
hi im using a sis 650glms and the video seams to be perfect except 1 thing, in openGL the video is a little discolored in direc3d wich isnt as good does not have this problem.. anyone know ? ?(
-
My new ipad2 does not go through the setup when powered on.
Just rec'd a new ipad2 as a gift. When powered on, the device does not go through the setup process. What am I doing wrong? Any help will be appreciated. Thanks in advance.
-
i keep getting this code when i run adobe photoshop cs4