ORA-01691: probleme de tablespace avec les blobs

ORA-01691: probleme de tablespace avec les blobs - SQL/NoSQL - Programmation

Marsh Posté le 20-08-2004 à 14:25:57    

je bosse sur des blobs au travers dune interface web
Linsertion dans la base se fait bien mais jai ce message
 
ORA-01691: unable to extend lob segment PROLAB.SYS_LOB0000034134C00007$$ by 128 in tablespace PROLABTAB  
 
Je comprends pas dou ca vient!


Message édité par romuald9999 le 20-08-2004 à 14:28:22
Reply

Marsh Posté le 20-08-2004 à 14:25:57   

Reply

Marsh Posté le 20-08-2004 à 15:22:06    

Tablespace trop petit ?

Reply

Marsh Posté le 20-08-2004 à 15:37:14    

oui en effet
Vous connaissez la commande pour avoir la taille dun tablespace, combien de libre? etc

Reply

Marsh Posté le 20-08-2004 à 15:42:07    

Google power :
 
http://www.oracle.com/technology/o [...] 92202.html
 
Les requêtes sont données dans cette page :
 

Code :
  1. declare
  2. v_tablespace_name varchar2(50);
  3. v_total_space number(12);
  4. v_free_space number(12);
  5. v_pct_free number(6,3);
  6. begin
  7. for tablespace_rec in (select tablespace_name from dba_tablespaces)
  8. loop
  9. --
  10. -- Get the total space for the current tablespace
  11. --
  12. select sum(bytes) into v_total_space
  13. from dba_data_files
  14. where TABLESPACE_NAME = tablespace_rec.tablespace_name;
  15. --
  16. -- Get the free space for the current tablespace
  17. --
  18. select sum(bytes) into v_free_space
  19. from dba_free_space
  20. where TABLESPACE_NAME = tablespace_rec.tablespace_name;
  21. --
  22. -- calculate the percent free for the current tablespace
  23. ---
  24. v_pct_free := (v_free_space / v_total_space) * 100;
  25. if v_pct_free < 10 then
  26.   dbms_output.put_line(tablespace_rec.tablespace_name|| ' Pct. Free is ' || v_pct_free ||'%');
  27. end if;
  28. end  loop;
  29. end;

Reply

Marsh Posté le 20-08-2004 à 15:56:52    

merci!
ya une chose que je ne comprend pas: jai vire toutes les lignes contenant des blobs et pouratnt jai toujours ce message!!!
Le delete from table devrait me liberer lespace non?

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed