Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Sybase > Create index wa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 2511 of 2544
Post > Topic >>

Create index was aborted because pages in the data only locked table

by liezlnel@[EMAIL PROTECTED] Jul 21, 2008 at 09:28 AM

Hello Guys,

I am getting the following error on Sybase Adaptive Server 15
Error 1581
"Create index was aborted because pages in the data only locked table
are not linked"

By the way... - the table is an ALL PAGES SCHEME!

I firstly create a table
-------------------------------
create table temp_liz
     (
      log_id   int
     )

Then I select into this table from other tables in a join clause. (in
the real script)
but this also causes the error...
----------------------------------------------

select log_id
   into temp_liz
  from temp_LL  - just dummy names of course:)

Then I create a clustered index on the leading column which includes
the "with sorted_data" option and others, like "with consumers = 4"
--------------------------------------------------------------
create clustered index idx_liz
      on temp_liz (log_id)
with sorted_data, consumers = 4

Even though this is NOT a "DOL" (data only locked) table, I still get
the issue
NB: sp_help re****ts ALL PAGES locked scheme. (Lock scheme Allpages)


Our Sybase server version is:
Enterprise 15.0.2 EBF 15093 ESD#2PSun_svr4OS 5.8ase1502251664-bit
FBOThu Dec 20 040537 2007


On another Sybase installation, I only get this error:
--------------------------------------------------------------------------

Adaptive Server Enterprise/12.5.3/EBF 13325 ESD#7/P/Sun_svr4/OS 5.8/
ase1253/1951/64-bit/FBO/Fri Mar 24 11:00:22 2006

Create index with sorted_data was aborted because of row out of
order.
Primary key of first out of order row is '1018'
 Msg: 1530, Level: 16, State: 2


I am aware of the issue surrounding the with SORTED_DATA on a DOL
table, but like I said this is an ALL PAGES Locked scheme and the data
was not bcp'ed into the table.

Any ideas, will help a lot!
Liz
 




 5 Posts in Topic:
Create index was aborted because pages in the data only locked t
liezlnel@[EMAIL PROTECTED  2008-07-21 09:28:49 
Re: Create index was aborted because pages in the data only lock
Bret_Halford <bret@[EM  2008-07-21 11:25:12 
Re: Create index was aborted because pages in the data only lock
liezlnel@[EMAIL PROTECTED  2008-07-22 04:35:07 
Re: Create index was aborted because pages in the data only lock
liezlnel@[EMAIL PROTECTED  2008-07-25 06:53:47 
Re: Create index was aborted because pages in the data only lock
"Carl Kayser" &  2008-07-25 12:30:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 22:03:46 CDT 2008.