regarding type LOB data...
I'm not so familiar with LOB and was hoping someone could shed some light for me.I am under Oracle 11.2.0.2 EE and made an interesting discovery of this new database I load.
First of all, I discovered that I have a table which is about 7.4 G, but there two columns LOB that when I have a dba_lobs query, I found that they contains 365 G of lobs and the table itself has 22 G of LOB - don't know what the difference is.
SQL> 1 select segment_name, round(sum(bytes)/1024/1024/1024,1) as "SIZE" , segment_type
2 from dba_segments where owner = 'ARADMIN'
3 group by segment_name, segment_type
4 having round(sum(bytes)/1024/1024/1024,1) > 1
5* order by 2
/
SEGMENT_NAME SIZE SEGMENT_TYPE
-------------------------------- --------------- ------------------
. . .
SYS_LOB0000077517C00027$$ 4.2 LOBSEGMENT
SYS_LOB0000210343C00029$$ 4.4 LOBSEGMENT
SYS_LOB0000077480C00002$$ 4.6 LOBSEGMENT
T465 5 TABLE
T2052 8.3 TABLE
T2115 12.4 TABLE
T2444 13.4 TABLE
T2179 14.8 TABLE
T2192 21.8 TABLE
SYS_LOB0000077549C00015$$ 182 LOBSEGMENT <=== (related to table T2192)
SYS_LOB0000077549C00016$$ 184.4 LOBSEGMENT <=== (related to table T2192)
30 rows selected.
Now, let's look at the table these LOBS belong...SQL> select table_name, column_name, segment_name
2 from dba_lobs
3 where segment_name in (
4 select segment_name from dba_segments where owner = 'ARADMIN'
5 having round(sum(bytes)/1024/1024/1024,1) > 1
6 group by segment_name
7 )
8 /
TABLE_NAME COLUMN_NAME SEGMENT_NAME
-------------------------------- -------------------------------- --------------------------------
B1947C536880923 C536880923 SYS_LOB0000077310C00002$$
T2051 C536870998 SYS_LOB0000077426C00041$$
T2052 C536870987 SYS_LOB0000077440C00063$$
T2115 C536870913 SYS_LOB0000077463C00009$$
B2125C536880912 C536880912 SYS_LOB0000077480C00002$$
B2125C536880913 C536880913 SYS_LOB0000077483C00002$$
T2179 C536870936 SYS_LOB0000077517C00027$$
T2192 C456 SYS_LOB0000077549C00015$$ <====
T2192 C459 SYS_LOB0000077549C00016$$ <====
T2444 C536870936 SYS_LOB0000210343C00029$$
T1990 C536870937 SYS_LOB0000250271C00026$$
11 rows selected.
So, in the light of the foregoing, I noticed in the first query that contains the table T2192 21.8 G of LOBS and that C456 and C459 of same table columns (181,7 + 183.9) total = 365.6 G.First question is how can the table be only 21.8 G, and business segments the columns of the table of 365,6 G of the Lobs?
It seems that some type LOB data should be external, while others are part of the table.
Then, I wonder if a line is removed from the table, would be the LOB associated with this line that is referenced by columns C456 and C459 also deleted.
Discuss with our senior developer, he said, the table is purged of lines longer than 6 months, but my question is if the LOB is actually purged with the lines.
Any ideas?
Published by: 974632 on December 27, 2012 08:05
The space occupied by business segments is not reported as part of space for table segment, welll, don't not all still. What is reported as part of the size of the table is the size of the lob index (a pointer to the segment of the 'real' job, 16 bytes if I remember correctly) and the LOB that are stored online in the table (those under 4 k). To get the "full" size of the table, you must add the space occupied by the ant lob columns.
If you delete a line, then the space occupied in the business segments will be defined as free space inside the existing segment. He will thereafter (there are a number of round redo and undo that are managed differently from the lobs), be used by the data for the other lines, but it might take some time.
There are a number of documents on My Oracle support in this regard, many are related to:
Troubleshooting Guide (TSG) - large objects (LOBs) [ID 846562.1]
John
Tags: Database
Similar Questions
-
Where oracle records type LOB data?
I am new to oracle, so I don't know how the LOB data, are recorded as in postgresql all LOB is saved in a table (pg_largeobject) and all tables with LOB columns have an id for this "main table".
If oracle except LOB in a table and all the tables there just an id to the 'main' table or each table has its own copy of the lob.
Welcome to Oracle!
Oracle database stores the LOBs in the form of segments in a tablespace.
Suppose you have a table with a column lobcolumn lobtable, segment of the table is stored in the tablespace of the SCT and also his JOB. You can set a different tablespace to store the LOB segment if you wish.
Please take a look at the documentation.
http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28393/adlob_tables.htm#i1006378
Kind regards
Franky
-
Hello experts
There are some queries to view and recover the unused space of LOV in non-spatail tablein this link http://www.idevelopment.info/data/Oracle/DBA_tips/LOBs/LOBS_85.shtml
We have geometry with sdo_geometry tables and their associates LOB sdo_ordinates and Ansdo_elem_info.
Can I apply these requests mentioned in the link to the spatial tables to recover unused space? If yes how?
Thank you
Can you please try something similar to the following?
ALTER table table_name modify varray geom_column. SDO_ORDINATES (retraction space);
ALTER table table_name modify varray geom_column. Ansdo_elem_info (space of retraction);
or
ALTER table table_name modify varray geom_column. SDO_ORDINATES (narrowing space) modify varray geom_column. Ansdo_elem_info (space of retraction);
-
ORA-02327: cannot create indexes on the LOB data type expression
DB 10.2.0.4
DB 5.2
I am not able to move lobindex and lobsegment. While try occurs below error
SQL > ALTER INDEX dev. "" SYS_IL0000718396C00002$ $"REBUILD THE TABLESPACE DATA_TEMP;
ALTER INDEX dev. "" SYS_IL0000718396C00002$ $"REBUILD TABLESPACE DATA_TEMP
*
ERROR on line 1:
ORA-02327: cannot create indexes on the LOB data type expression
Thank you
Published by: user13382934 on October 16, 2012 14:05correct syntax is
ALTER TABLE.MOVE the LOB (
)
STORE AS (tablespace); Where
is a name of the / columns LOB, not the name of the segment. Moving type LOB data will move its indexes as well. -
How to use the LOB data type?
I can't create a table with the LOB data type.
Do I need an additional parameter in sys.odbc.ini?
My dsn information is
[tpch]
Driver=/home/TimesTen/TimesTen/tt1121/lib/libtten.so
Data store = / home/timesten/TimesTen/tt1121/tpch/tpch
LogDir = / home/timesten/TimesTen/tt1121/tpch/logs
PermSize = 4096
TempSize = 2048
PLSQL = 1
LOB = 1
DatabaseCharacterSet = US7ASCII
-bash-4, $ 1 ttdaemonadmin-version
TimesTen Release 11.2.1.2.0
There is no LOB = 1 attribute; Please, delete it from your definition ODBC to avoid potential errors.
LOB support has been added in the major version 11.2.2 TimesTen. So you use 11.2.1 LOB is not available. If you want to use LOB data, then you must upgrade to 11.2.2.
Chris
-
Hey
I had a situation in the present case, I flat file and I want to load it into sql server 2012.
In the flatfile I have 2 data types of columns date and I chose LKM FILE TO SQL, when I try to run it fails to create the work table.
When I c the code in this step it shows
create the table dev.dbo.C$ _0TES
(
ASN_BOL_NBR NUMERIC (7,0) NULL,
ASN_CARTON NUMERIC (20.0) NULL,
ASN_SHORT_SKU NUMERIC (7,0) NULL,
ASN_SKU_CHECK_DIGIT NUMERIC (1.0) NULL,
ASN_DESC VARCHAR (25) NULL,
ASN_QUANTITY NUMERIC (7,0) NULL,
ASN_LEAVE_DATE DATETIME2 (27) NULL,
ASN_ARRIVAL_DATE DATETIME2 (27) NULL,
ASN_MULT_PACK VARCHAR (1) NULL,
ASN_MULT_SKU VARCHAR (1) NULL
)
MSG 1002, level 15, State 1, line 9
Line 9: Specified scale 27 is not valid.
DATETIME2 (27) the table of creative work is a failure because of the type of data
ASN_LEAVE_DATE DATETIME2 (27)
ASN_ARRIVAL_DATE DATETIME2 (27)
Is there a way to avoid a DATETIME2 (27)?
Thank you!
Yes, I would certainly put the data on the source of the string type.
Then in your mapping/interface, you can use the CONVERT function.
For example, CONVERT (DATETIME, YOUR.) ASN_LEAVE_DATE, 101)
In this example, 101 as a style means that your file contains a date in the format dd/mm/yyyy.
See CAST and CONVERT (Transact-SQL) to find out what style you apply.
Kind regards
JeromeFr
-
Should what type of data store I use in VSphere Hypervisor
Hello
I'm very new to VMWare VSphere Hypervisor, I downloaded the free version of VSphere Hypervisor ESXi 4.1 and began assessing the same thing on my HP DL360 G6 server.
I installed VSphere Hypervisor ESXi 4.1 on my HP DL 360 G6 server. I configured everything that is possible, but I'm really confused to choose the type of data store. My HP Server has 500 GB SAS hard drive.
Kind regards
Naushad Khan.
Take a look at the HP Quickspecs for your HP Server
from: http://h18000.www1.hp.com/products/quickspecs/13235_na/13235_na.html
Battery HP series P with 512 MB Backed Write Cache upgrade 462967 B21 HP 1 GB Flash backup Cache
NOTE: Support on the Smart Array P410i controller only.534562 B21 Doble check if one of these two options is included in your server (assuming you have the P410i controller).
André
-
How to ensure the separation of data from different types of data for ESXi 4?
Does anyone have a reference architecture to ensure the separation of the point of creating data in transit and storage of different types of data
example PCI DSS data (personal credit card), data ITAR/EAR, etc. Concern is due to the mix of data VLAN or crossed, VLAN themselves not to use as a security boundary. VMware offers to ensure the separation at the application levelif I read it correctlywell in transit even in stockdata must be separated. Suggestions?Hello VMwear8,
The chances of anyone to play with the hypervisor itself is actually quite thin, what must be addressed is the data accessed in virtual machines. If you need protect administrators to access these data.
Right now that is not possible to 100%, however you can restrict access by implementing different controls:
(1) execute all access to your ESX hosts and vCenter via the HyTrust appliance, this is a preventive measure in some cases.
(2) turn off the navigation data store in the vSphere Client (this is a RBAC vCenter)
(3) turn off 'root' or superuser for each ESX host (except in a situation of "break the glass"). If they need access 'root' follow it via sudo.
(4) add the audit in order to know who did what, when, where and how
(5) protect your management tools as if they were gold. Check out this post performance and security management in the virtual environment tools as an aid to help with this.
At most you can only put controls around the problem, we can not currently permanently prohibit access to one person give you access as being able to connect as root in the ESX host.
Best regards
Edward L. Haletky
Host communities, VMware vExpert,
Author: VMware vSphere and Virtual Infrastructure Security,VMware ESX and ESXi in the 2nd business edition
Podcast: the Podcast for security virtualization of resources: the virtual virtualization library
-
How to periodically send various types of data via the Serial Port?
Hello! Everyone
I have to send data to LabVIEW to my device on the Serial Port.
I know how to send data on serial port in LABVIEW, I already have this part.
Now the problem is that I have several types of data I need to question my embedded device, if I want to send the query periodically command.
So lets say that my four Op Codes are the following, which will send four different types of query command to my device on the serial port.
(To be honest only OP_LED and OP_SENSOR is used now)
0, OP_SYNC
1, OP_LED
2, OP_SENSOR
3, OP_FUTURE
Structure of basic package is as follows:
Header (0x2C), Checksum, length of the data (n bytes), Op_Code (1 byte), length (length of Code + data Op)
For OP_LED, I need to send the package as follows:
0x2c 0x02 0x01 0 x 00 0x2F (0x2F being the XOR checksum) (calculation of Checksum part is done and SUB Vi form)
Length of the package this is 0x02
0x01 is Op Code for OP_LED
In the same way
For OP_SENSORi need to send the package as follows:
0x2c 0x03 0x02 0x00 0 x 00 0x2D (0x2D being the XOR checksum) (calculation of Checksum part is done and SUB Vi form)
0x03 is length of packet here
0x02 is Op Code for OP_SENSOR
So, how can I do this periodically in labview, in such sort that period can be adjusted whenever necessary.
Is there something in LabVIEW to do.
I had done the reception and decoding part and working properly.
So I must implement read and write the part of same while loop?
Do not insert in the table if you put data in an array at index 0. Just use array to build.
No need to have Visa to write don't be a part of wire to the wire of reference and error VISA go in the upper part. These wires should go THROUGH the entry VISA.
Don't your checksum requires all the bytes up through data? Righ now, you only put the checksum on data bytes and forget the opcode and length bytes.
Your sending is not the opcode for Opsync or Opfuture. You just send the empty tables. At the same time for the other two, you put the opcode in the data table. All your original opcode in the table build thread. Get the data out of these structures in case item which is supposed to represent the opcode.
xpress_embedo wrote:
Now it works but I have now two problems.
(1) OP_SYNC and OP_FUTURE do not data, but still receive its data on serial port, can I do something here as I have nothing when the table is empty in the structure of the case.
I do not understand this statement. Perhaps my answer above will fix any issue you have here.
(2) how can selection operation Code to be send is done using control façade but real application, this task should be automated to a certain frequency, like OP_LED package must go out to the serial port to 100msec and packet OP_SENSOR must go out to 1000msec, I do this.
Now you agree a little more architecture. I would encapsulate the code that is in the while loop as a Subvi. Then with the hand of your program while loop, use two time Express VI, a game for 100 msec, the other for 1000 msec. When an express VI is true, run the Subvi with a command set waiting for the answer. When the other VI Express is true, have it run the Subvi with the other set of commands.
The device responds with anything when you send these commands? You only send data. I see no VISA Read to be able to recover all the data.
-
Initializing the elements of the array to different types of data
Hello!
Receiving data sring and write it in the table. Shot data consist of different types of data, so now I have to initialize my element of berries somehow to correct the data type. Table example:
char
char
int
int
float
float
Is it possible somehow? Or should I use the formula node or something like?
Thank you! (new)
These data resembles a cluster to create a cluster, you can create a constant of cluster on the comic book and use the cast function to fill in the cluster. Some things you need to be aware of:
What is the size of the Int?
What is the size of the float?
What is SSE-endian data.
Here are two examples:
Tone
-
How can insert different types of data in the table?
Hello
How can I insert different types of data in the table, (e.g., numeric and string) in the same index of a table.example:
index0 car 10 greencar red 11 index1
Index2 car Blue 12where green car red and blue car as string and 10, 11 and 12 in the numeric form.
then I extracted 10, 11 and 12 a digital tableand, the green car, red car, blue car in a string array
Help!
Use 'Analysis of the chain' as in the picture as an attachment. This will extract the number and color that you can add tables later.
-
DLL in VC ++ with several types of data
Hello world
I'm new on the Forum of Labview and Labview fairly new as well.
I have some errors in my VI and I can't quite understand what I'm doing wrong. I have a DLL written in VC ++. There is a function in the DLL that I'm shouting in VI, but the function contains variables that are composed of multiple data types.
These are my variables in the code for VC ++:
typedef struct
{
Double depth;
Double dWidth;
Double dHeight;float fVolume;
float fSurfArea;int iGood;
int iBad;
} box_tThen I have my function that calls these variables:
_declspec (dllexport) int _cdecl ACL_GetData_Array(void *dataArray)
{
arrayStructure-> rockia = (array_t *) dataArray.
PrintGeneral ("table pointer value to retrieve data. ("\n new address.");
PrintAddr ((int) arrayStructure-> rockia);
arrayStructure-> Philippe-> depth = 30.3;
arrayStructure-> Philippe-> dHeight = 40.4;
arrayStructure-> Philippe-> dWidth = 50.5;
arrayStructure-> Philippe-> fSurfArea = 60.6f;
arrayStructure-> Philippe-> fVolume = 70.7f;
arrayStructure-> Philippe-> iBad = 80;
arrayStructure-> Philippe-> iGood = 90;
Return (int) arrayStructure-> Philippe;
}Now my question is if I just want to read these variables and display them in Labview, how can I do? So far, I can get double appears correctly, but I did have a success with floats and integers (ints). If this has been posted by another user, I'm sorry to ask the same question. I searched for a few days now and have not encountered any useful information.
Thank you
George
ghatz85 wrote:
If possible, can you save the VI changed in version 8.5.1? LabVIEW won't let me open the files attached to the forum.
I'm sorry. For some reason, I thought that the originals were in 2009 LV. Version 8.5 is attached.
Insofar as the structure of data in the DLL, the programmer had rearranged the types of data to go from the largest to the smallest.
I was talking of having a structure within a structure and call it a "table".
-
In the attached VI why looping force the type of data while the other does not?
In the attached VI why looping force the type of data while the other does not?
I'm guessing that you have created the Enum on the front panel. If you right click and create an indicator, it corresponds to the type and be an enum. LabVIEW represents enums as U16, but because the types are not the same (for example, your enum has 3 values, but a U16's 65 536 values), LabVIEW automatically converts value (or converts) the smallest representation (enum) in the largest value (U16).
-
What is the range of values of type of data accepted by prepareBulk file?
In the Oracle documentation under "bulk 7.12 load graphics Using RDF Semantic support for Apache Jena", I see the code example for perpareBulk. The third parameter is documented as "type of data file: can be RDF/XML, N-TRIPLE, etc.". I found a code example that uses "TTL." as a value as well. It seems that "TTL" is accepted but not documented. What is the range of accepted values for the type parameter of data to prepareBulk file?
Hello
You can use the triple data serialization format following as string values:
"RDF/XML", "N-TRIPLE", "TURTLE" (or "TTL") and "N3". "RDF/XML-ABBREV" is a synonym for "RDF/XML".
For the quads, you can use either "N-QUADS" or "TRIG".
Thank you
Zhe Wu
-
Hi friends,
I get this error: ORA-00932: inconsistent data types: expected DATE got the NUMBER to the call of the OIC OCIStmtExecute when I'm putting the filter on the date column condition.
"Sun Time". " Day' < = cast (MAX ("Sun time" "." ")) Date day")) and"Sun Time ". "' Day ' > = TIMESTAMPADD (SQL_TSI_MONTH,-1, cast (MAX ("Sun time".) "Day") as date). "
I sank the date max, but if I get the above error. I think max (date) creates the problem.
Please suggest your opinion on that.
Thank you.
Thank you for your suggestions.
I used the variable, and it helped.
"Sun Time". " Date' <= valueof(maxdate)="" and="" "dim-time"."date"="">= TIMESTAMPADD (SQL_TSI_MONTH-1, VALUEOF (Maxdate))
=>
Maybe you are looking for
-
Satellite A200-1AE: how to set external monitor like main screen on Win XP
Model: A200-1AEOPERATING SYSTEM: XP SP2 I want to use the external display in Windows XP. It would be necessary that the external display is the main thing and office expansion took place on the computer screen. The driver, downloaded from your site
-
WLAN-Auto 400; 10002; Maintenance 4374
I use Windows Vista and have 48 564 errors and warnings in the log of the events as follows Warning WLAN-Auto 400; 10002 Maintenance 4374 Errors VSS 8193; 13; 12346; 12342 Perflib 1010; 1008 Service Cont... 7001; 7023 This seems to happen at the star
-
SSLHandshakeException when connecting to an https site
I'm SSLHandshakeException when connecting to an https site. The error message is javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure I turned on debugging to SSL recording, but I was not able to understand the root cause. It
-
Miss me my tool 'Custom Shapes' of Photoshop CC 2015.1.2
-
Material sensor symptom stucked
HelloI'm testing the detector alert spread CIM between 6.0 and vROps 6.2.a vCenter. The test method is simple just unplug a power cable from the power supply and then 4 sensor blush in vCenter, two due to lack of power and the other two because of a